public interface UtilityService
extends com.google.gwt.user.client.rpc.RemoteService
UtilityService provides several basic functions to the admin revolving
around retrieving current context information for the admin app.
NOTE - this service is NOT secured. Do not put features in this service
interface that require security!| Modifier and Type | Method and Description |
|---|---|
String[] |
getAllItems()
Retrieve all the context and prefix values called out in the interface as a single array.
|
String |
getAssetServerUrlPrefix()
Retrieve the portion of the url that is key for identifying a request for a CMS managed asset.
|
String |
getStoreFrontWebAppPrefix()
Retrieve the current web url prefix (if any) for the actual store front associated
with this admin instance.
|
String |
getWebAppContext()
Retrieve the current web application context (if any) in use for this admin application.
|
Boolean |
getWorkflowEnabled(String[] qualifiers)
Check if any items are enabled for workflow (catalog, assets, pages, or structured content)
Can accept additional qualification data for implementations that support.
|
void |
initializeEJB3Configuration()
Initizialize Hibernate EJB3Configuration.
|
String getWebAppContext() throws ServiceException, com.gwtincubator.security.exception.ApplicationSecurityException
ServiceExceptioncom.gwtincubator.security.exception.ApplicationSecurityExceptionString getStoreFrontWebAppPrefix() throws ServiceException, com.gwtincubator.security.exception.ApplicationSecurityException
ServiceExceptioncom.gwtincubator.security.exception.ApplicationSecurityExceptionString getAssetServerUrlPrefix() throws ServiceException, com.gwtincubator.security.exception.ApplicationSecurityException
ServiceExceptioncom.gwtincubator.security.exception.ApplicationSecurityExceptionString[] getAllItems() throws ServiceException, com.gwtincubator.security.exception.ApplicationSecurityException
ServiceExceptioncom.gwtincubator.security.exception.ApplicationSecurityExceptionBoolean getWorkflowEnabled(String[] qualifiers) throws ServiceException, com.gwtincubator.security.exception.ApplicationSecurityException
qualifiers - additional data useful for making a determinationServiceExceptioncom.gwtincubator.security.exception.ApplicationSecurityExceptionvoid initializeEJB3Configuration()
throws ServiceException,
com.gwtincubator.security.exception.ApplicationSecurityException
ServiceExceptioncom.gwtincubator.security.exception.ApplicationSecurityExceptionCopyright © 2013. All rights reserved.