|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectatg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.GenericService
atg.svc.repository.service.BaseService
atg.svc.repository.service.FrameworkBaseService
atg.svc.repository.service.UIService
public class UIService
Business methods for editing/reading/saving UI state.
Field Summary | |
---|---|
static int |
CELL_ITEM_TYPE
|
static java.lang.String |
CHAT_TAB_ID
|
static java.lang.String |
CLASS_VERSION
|
static java.lang.String |
COMMERCE_TAB_ID
|
static int |
CONTENT_ITEM_TYPE
|
static java.lang.String |
CONTRIBUTE_TAB_ID
|
static java.lang.String |
CUSTOMERS_TAB_ID
|
static int |
FRAMEWORK_ITEM_TYPE
|
static int |
PANEL_ITEM_TYPE
|
static int |
PANEL_STACK_ITEM_TYPE
|
static int |
PANEL_TARGET_ELEMENT_ITEM_TYPE
|
static java.lang.String |
REPORT_TAB_ID
|
static java.lang.String |
RESEARCH_TAB_ID
|
static java.lang.String |
RESPOND_TAB_ID
|
static int |
SKIN_ITEM_TYPE
|
static java.lang.String |
SUPER_ADMIN_ROLE_ID
|
static int |
TAB_ITEM_TYPE
|
static java.lang.String |
TASKS_TAB_ID
|
static int |
TEMPLATE_ITEM_TYPE
|
static java.lang.String |
TICKETS_TAB_ID
|
static java.lang.String |
USER_OPTION_HOME_TAB
|
Fields inherited from class atg.svc.repository.service.FrameworkBaseService |
---|
DEFAULT_REPOSITORY_HOMES_NAME, DEFAULT_VERSIONED_REPOSITORY_HOMES_NAME |
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
UIService()
|
Method Summary | |
---|---|
void |
copyBaseAttributes(atg.svc.framework.repository.beans.FrameworkObject pSourceObject,
atg.svc.framework.repository.beans.FrameworkObject pTargetObject)
Copies attributes shared by all framework objects from source to target. |
void |
copyCellDefinitionAttributes(atg.svc.framework.repository.beans.CellDefinition pSourceObject,
atg.svc.framework.repository.beans.CellDefinition pTargetObject)
Copies attributes from source to target. |
void |
copyContentDefinitionAttributes(atg.svc.framework.repository.beans.ContentDefinition pSourceObject,
atg.svc.framework.repository.beans.ContentDefinition pTargetObject)
Copies attributes from source to target. |
void |
copyFrameworkDefinitionAttributes(atg.svc.framework.repository.beans.FrameworkDefinition pSourceObject,
atg.svc.framework.repository.beans.FrameworkDefinition pTargetObject)
Copies attributes from source to target. |
void |
copyPanelDefinitionAttributes(atg.svc.framework.repository.beans.PanelDefinition pSourceObject,
atg.svc.framework.repository.beans.PanelDefinition pTargetObject)
Copies attributes from source to target. |
void |
copyPanelStackDefinitionAttributes(atg.svc.framework.repository.beans.PanelStackDefinition pSourceObject,
atg.svc.framework.repository.beans.PanelStackDefinition pTargetObject,
boolean pSkipPanelStackId)
Copies attributes from source to target. |
void |
copySegment(java.lang.String pApplicationId,
java.lang.String pSourceSegmentName,
java.lang.String pTargetSegmentName)
Copies all of the framework objects belonging to the target segment to equivalent objects in the destination segment. |
void |
copySkinDefinitionAttributes(atg.svc.framework.repository.beans.SkinDefinition pSourceObject,
atg.svc.framework.repository.beans.SkinDefinition pTargetObject)
Copies attributes from source to target. |
void |
copyTabDefinitionAttributes(atg.svc.framework.repository.beans.TabDefinition pSourceObject,
atg.svc.framework.repository.beans.TabDefinition pTargetObject)
Copies attributes from source to target. |
void |
copyTemplateDefinitionAttributes(atg.svc.framework.repository.beans.TemplateDefinition pSourceObject,
atg.svc.framework.repository.beans.TemplateDefinition pTargetObject)
Copies attributes from source to target. |
void |
deleteSegment(java.lang.String pApplicationId,
java.lang.String pSegmentName)
Deletes all of the framework objects belonging to the specified segment. |
java.lang.String |
getApplicationId()
|
atg.svc.framework.repository.beans.CellConfig |
getCellConfig(java.lang.String pCellId)
Gets the cell configuration for the specified user. |
java.lang.String |
getChatTabId()
|
atg.svc.configuration.FrameworkComponents |
getComponentService()
|
protected javax.ejb.EJBLocalObject |
getConfig(int pItemType,
java.lang.String pItemId)
Get configuration for bean. |
atg.svc.framework.repository.beans.ContentConfig |
getContentConfig(java.lang.String pContentId)
Gets the content configuration for the specified user. |
java.lang.String |
getContributeTabId()
|
protected java.lang.String |
getCurrentUserProfileRepositoryId()
Gets the repository id of the current user. |
java.lang.String |
getCustomersTabId()
|
atg.svc.framework.repository.beans.FrameworkConfig |
getFrameworkConfig(java.lang.String pFrameworkId)
Gets the framework configuration for the user. |
java.lang.String |
getFrameworkId()
|
boolean |
getHasRight(java.lang.String pAccessRight)
Determines if the current user has the specified UI right |
atg.svc.configuration.ModuleDependencyManager |
getModuleDependencyManager()
|
atg.svc.framework.repository.beans.CellInstance |
getNewCellInstance(java.lang.String pCellId)
Creates a cell instance bean and fills in the default values. |
atg.svc.framework.repository.beans.CellInstance |
getNewCellInstance(java.lang.String pCellId,
atg.svc.framework.repository.beans.CellDefinition pCellDefinition)
|
protected javax.ejb.EJBLocalObject |
getNewConfig(int pItemType,
java.lang.String pUserId,
java.lang.String pItemId)
Creates a new configuration bean. |
atg.svc.framework.repository.beans.ContentInstance |
getNewContentInstance(java.lang.String pContentId)
Creates a content instance bean and fills in the default values. |
atg.svc.framework.repository.beans.FrameworkInstance |
getNewFrameworkInstance()
Creates a framework instance bean and fills in the default values. |
atg.svc.framework.repository.beans.FrameworkInstance |
getNewFrameworkInstance(java.lang.String pFrameworkId)
Creates a framework instance bean and fills in the default values. |
protected javax.ejb.EJBLocalObject |
getNewInstance(int pItemType,
java.lang.String pInstanceId)
|
atg.svc.framework.repository.beans.PanelInstance |
getNewPanelInstance(java.lang.String pPanelId)
Creates a panel instance bean and fills in the default values. |
atg.svc.framework.repository.beans.PanelInstance |
getNewPanelInstance(java.lang.String pPanelId,
atg.svc.framework.repository.beans.PanelDefinition pPanelDefinition)
|
atg.svc.framework.repository.beans.PanelStackInstance |
getNewPanelStackInstance(java.lang.String pPanelStackId)
Creates a panel stack instance bean and fills in the default values. |
atg.svc.framework.repository.beans.PanelStackInstance |
getNewPanelStackInstance(java.lang.String pPanelStackId,
atg.svc.framework.repository.beans.PanelStackDefinition pPanelStackDefinition)
|
atg.svc.framework.repository.beans.PanelTargetElement |
getNewPanelTargetElementInstance(java.lang.String pPanelId)
|
atg.svc.framework.repository.beans.PanelTargetElement |
getNewPanelTargetElementInstance(java.lang.String pPanelStackId,
java.lang.String pPanelId)
|
atg.svc.framework.repository.beans.PanelTargetElement |
getNewPanelTargetElementInstance(java.lang.String pPanelStackId,
java.lang.String pPanelId,
int pCount)
Creates a panel target element bean and fills in the default values. |
atg.svc.framework.repository.beans.SkinInstance |
getNewSkinInstance(java.lang.String pSkinId)
Creates a skin instance bean and fills in the default values. |
atg.svc.framework.repository.beans.TabInstance |
getNewTabInstance(java.lang.String pTabId)
Creates a tab instance bean and fills in the default values. |
atg.svc.framework.repository.beans.TabInstance |
getNewTabInstance(java.lang.String pTabId,
atg.svc.framework.repository.beans.TabDefinition pTabDefinition)
|
protected java.lang.String |
getNewTargetElementId()
Generates and returns a new target element identifier. |
atg.svc.framework.repository.beans.TemplateInstance |
getNewTemplateInstance(java.lang.String pTemplateId)
Creates a template instance bean and fills in the default values. |
atg.svc.framework.repository.beans.PanelConfig |
getPanelConfig(java.lang.String pPanelId)
Gets the panel configuration for the specified user. |
atg.svc.framework.repository.beans.PanelStackConfig |
getPanelStackConfig(java.lang.String pPanelStackId)
Gets the panel stack configuration for the specified user. |
java.lang.String |
getReportTabId()
|
java.lang.String |
getResearchTabId()
|
java.lang.String |
getRespondTabId()
|
atg.security.GenericSecurityDomain |
getSecurityDomain()
|
atg.nucleus.GenericService |
getSecurityService()
|
SegmentedOptionService |
getSegmentedOptionService()
|
atg.svc.framework.repository.beans.SkinConfig |
getSkinConfig(java.lang.String pSkinId)
Gets the skin configuration for the specified user. |
atg.svc.framework.repository.beans.TabConfig |
getTabConfig(java.lang.String pTabId)
Gets the tab configuration for the specified user. |
java.lang.String |
getTasksTabId()
|
atg.svc.framework.repository.beans.TemplateConfig |
getTemplateConfig(java.lang.String pTemplateId)
Gets the template configuration for the specified user. |
java.lang.String |
getTicketsTabId()
|
UserOptionsService |
getUserOptionsService()
|
java.lang.String |
getUserTabId()
Performs all the necessary user-related considerations and conversions to determine the initial user tab to render First, look at the user options. |
boolean |
getUseSegments()
|
java.lang.Boolean |
hasRight(java.lang.String pAccessRight)
Determines if the current user has the specified UI right |
protected void |
initCommonProperties(atg.svc.framework.repository.beans.ConfigurationObject configBean,
atg.svc.framework.repository.beans.FrameworkObject frameworkBean,
atg.svc.framework.repository.beans.InstanceObject instanceBean)
Creates a new bean instance. |
void |
panelLogDebug(atg.svc.framework.repository.beans.PanelDefinition pPanelDefinition,
java.lang.String pPanelId)
|
void |
restoreCellDefaultBySegment(java.lang.String pApplicationId,
java.lang.String pSegmentName,
java.lang.String pCellId)
Restores specified item to default values. |
void |
restoreContentDefaultBySegment(java.lang.String pApplicationId,
java.lang.String pSegmentName,
java.lang.String pContentId)
Restores specified item to default values. |
void |
restoreFrameworkDefaultBySegment(java.lang.String pApplicationId,
java.lang.String pSegmentName,
java.lang.String pFrameworkId)
Restores specified item to default values. |
protected void |
restoreItemDefault(java.lang.String pApplicationId,
java.lang.String pSegmentName,
int pItemType,
java.lang.String pItemId)
Restores default values for all framework objects in the application with default values specified |
void |
restorePanelDefaultBySegment(java.lang.String pApplicationId,
java.lang.String pSegmentName,
java.lang.String pPanelId)
Restores specified item to default values. |
void |
restorePanelStackDefaultBySegment(java.lang.String pApplicationId,
java.lang.String pSegmentName,
java.lang.String pPanelStackId)
Restores specified item to default values. |
void |
restoreSkinDefaultBySegment(java.lang.String pApplicationId,
java.lang.String pSegmentName,
java.lang.String pSkinId)
Restores specified item to default values. |
void |
restoreTabDefaultBySegment(java.lang.String pApplicationId,
java.lang.String pSegmentName,
java.lang.String pTabId)
Restores specified item to default values. |
void |
restoreTemplateDefaultBySegment(java.lang.String pApplicationId,
java.lang.String pSegmentName,
java.lang.String pTemplateId)
Restores specified item to default values. |
void |
saveCellConfigFromInstance(atg.svc.framework.repository.beans.CellInstance pCellInstance)
Saves cell configuration based on the state of a cell instance. |
protected void |
saveConfigFromInstance(int pItemType,
javax.ejb.EJBLocalObject beanInstance)
Saves bean configuration. |
void |
saveContentConfigFromInstance(atg.svc.framework.repository.beans.ContentInstance pContentInstance)
Saves content configuration based on the state of a content instance. |
void |
saveFrameworkConfigFromInstance(atg.svc.framework.repository.beans.FrameworkInstance pFrameworkInstance)
Saves framework configuration based on the state of a framework instance. |
void |
savePanelConfigFromInstance(atg.svc.framework.repository.beans.PanelInstance pPanelInstance)
Saves panel configuration based on the state of a panel instance. |
void |
savePanelStackConfigFromInstance(atg.svc.framework.repository.beans.PanelStackInstance pPanelStackInstance)
Saves panel stack configuration based on the state of a panel stack instance. |
void |
saveSkinConfigFromInstance(atg.svc.framework.repository.beans.SkinInstance pSkinInstance)
Saves skin configuration based on the state of a skin instance. |
void |
saveTabConfigFromInstance(atg.svc.framework.repository.beans.TabInstance pTabInstance)
Saves tab configuration based on the state of a tab instance. |
void |
saveTemplateConfigFromInstance(atg.svc.framework.repository.beans.TemplateInstance pTemplateInstance)
Saves template configuration based on the state of a template instance. |
void |
setApplicationId(java.lang.String pApplicationId)
|
void |
setComponentService(atg.svc.configuration.FrameworkComponents pComponentService)
|
void |
setFrameworkId(java.lang.String pFrameworkId)
|
void |
setModuleDependencyManager(atg.svc.configuration.ModuleDependencyManager pModuleDependencyManager)
|
void |
setSecurityDomain(atg.security.GenericSecurityDomain pSecurityDomain)
|
void |
setSecurityService(atg.nucleus.GenericService pSecurityService)
|
void |
setSegmentedOptionService(SegmentedOptionService pSegmentedOptionService)
|
void |
setUserOptionsService(UserOptionsService pUserOptionsService)
|
void |
setUseSegments(boolean pUseSegments)
|
void |
tabLogDebug(atg.svc.framework.repository.beans.TabDefinition pTabDefinition,
java.lang.String pTabId)
|
Methods inherited from class atg.svc.repository.service.FrameworkBaseService |
---|
getServiceFrameworkBeanHomes, getServiceFrameworkBeanHomesName, getServiceFrameworkRepositoryHomes, getServiceFrameworkRepositoryHomesName, setServiceFrameworkBeanHomesName, setServiceFrameworkRepositoryHomesName |
Methods inherited from class atg.svc.repository.service.BaseService |
---|
getRepositoryService, getToday, setRepositoryService |
Methods inherited from class atg.nucleus.GenericService |
---|
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CLASS_VERSION
public static final java.lang.String SUPER_ADMIN_ROLE_ID
public static final java.lang.String USER_OPTION_HOME_TAB
public static final java.lang.String CONTRIBUTE_TAB_ID
public static final java.lang.String CUSTOMERS_TAB_ID
public static final java.lang.String REPORT_TAB_ID
public static final java.lang.String RESEARCH_TAB_ID
public static final java.lang.String RESPOND_TAB_ID
public static final java.lang.String TASKS_TAB_ID
public static final java.lang.String TICKETS_TAB_ID
public static final java.lang.String CHAT_TAB_ID
public static final java.lang.String COMMERCE_TAB_ID
public static final int CELL_ITEM_TYPE
public static final int CONTENT_ITEM_TYPE
public static final int FRAMEWORK_ITEM_TYPE
public static final int PANEL_ITEM_TYPE
public static final int PANEL_STACK_ITEM_TYPE
public static final int PANEL_TARGET_ELEMENT_ITEM_TYPE
public static final int SKIN_ITEM_TYPE
public static final int TAB_ITEM_TYPE
public static final int TEMPLATE_ITEM_TYPE
Constructor Detail |
---|
public UIService()
Method Detail |
---|
public java.lang.String getContributeTabId()
public java.lang.String getCustomersTabId()
public java.lang.String getReportTabId()
public java.lang.String getResearchTabId()
public java.lang.String getRespondTabId()
public java.lang.String getTasksTabId()
public java.lang.String getTicketsTabId()
public java.lang.String getChatTabId()
public java.lang.String getApplicationId()
public void setApplicationId(java.lang.String pApplicationId)
pApplicationId
- The application ID for the framework.public java.lang.String getFrameworkId()
public void setFrameworkId(java.lang.String pFrameworkId)
pFrameworkId
- The default framework identifier.public boolean getUseSegments()
public void setUseSegments(boolean pUseSegments)
pUseSegments
- Flag indicating whether framework object configurations are saved by segment intead of user.public atg.svc.configuration.FrameworkComponents getComponentService()
public void setComponentService(atg.svc.configuration.FrameworkComponents pComponentService)
public atg.svc.configuration.ModuleDependencyManager getModuleDependencyManager()
public void setModuleDependencyManager(atg.svc.configuration.ModuleDependencyManager pModuleDependencyManager)
public atg.security.GenericSecurityDomain getSecurityDomain()
public void setSecurityDomain(atg.security.GenericSecurityDomain pSecurityDomain)
public atg.nucleus.GenericService getSecurityService()
public void setSecurityService(atg.nucleus.GenericService pSecurityService)
public SegmentedOptionService getSegmentedOptionService()
public void setSegmentedOptionService(SegmentedOptionService pSegmentedOptionService)
public UserOptionsService getUserOptionsService()
public void setUserOptionsService(UserOptionsService pUserOptionsService)
public boolean getHasRight(java.lang.String pAccessRight)
pAccessRight
- the name of a UI right
public java.lang.Boolean hasRight(java.lang.String pAccessRight)
pAccessRight
- the name of a UI right
public void copySegment(java.lang.String pApplicationId, java.lang.String pSourceSegmentName, java.lang.String pTargetSegmentName) throws ObjectNotFoundException, PersistenceException
pApplicationId
- the app identifierpSourceSegmentName
- the name of the segment to copy frompTargetSegmentName
- the name of the segment to copy to
ObjectNotFoundException
PersistenceException
public void copyBaseAttributes(atg.svc.framework.repository.beans.FrameworkObject pSourceObject, atg.svc.framework.repository.beans.FrameworkObject pTargetObject)
pSourceObject
- Object from which to copy attributespTargetObject
- Object to which to copy attributespublic void copyCellDefinitionAttributes(atg.svc.framework.repository.beans.CellDefinition pSourceObject, atg.svc.framework.repository.beans.CellDefinition pTargetObject)
pSourceObject
- Object from which to copy attributespTargetObject
- Object to which to copy attributespublic void copyContentDefinitionAttributes(atg.svc.framework.repository.beans.ContentDefinition pSourceObject, atg.svc.framework.repository.beans.ContentDefinition pTargetObject)
pSourceObject
- Object from which to copy attributespTargetObject
- Object to which to copy attributespublic void copyFrameworkDefinitionAttributes(atg.svc.framework.repository.beans.FrameworkDefinition pSourceObject, atg.svc.framework.repository.beans.FrameworkDefinition pTargetObject)
pSourceObject
- Object from which to copy attributespTargetObject
- Object to which to copy attributespublic void copyPanelDefinitionAttributes(atg.svc.framework.repository.beans.PanelDefinition pSourceObject, atg.svc.framework.repository.beans.PanelDefinition pTargetObject)
pSourceObject
- Object from which to copy attributespTargetObject
- Object to which to copy attributespublic void copyPanelStackDefinitionAttributes(atg.svc.framework.repository.beans.PanelStackDefinition pSourceObject, atg.svc.framework.repository.beans.PanelStackDefinition pTargetObject, boolean pSkipPanelStackId)
pSourceObject
- Object from which to copy attributespTargetObject
- Object to which to copy attributespSkipPanelStackId
- is to skip PanelStackIdpublic void copySkinDefinitionAttributes(atg.svc.framework.repository.beans.SkinDefinition pSourceObject, atg.svc.framework.repository.beans.SkinDefinition pTargetObject)
pSourceObject
- Object from which to copy attributespTargetObject
- Object to which to copy attributespublic void copyTabDefinitionAttributes(atg.svc.framework.repository.beans.TabDefinition pSourceObject, atg.svc.framework.repository.beans.TabDefinition pTargetObject)
pSourceObject
- Object from which to copy attributespTargetObject
- Object to which to copy attributespublic void copyTemplateDefinitionAttributes(atg.svc.framework.repository.beans.TemplateDefinition pSourceObject, atg.svc.framework.repository.beans.TemplateDefinition pTargetObject)
pSourceObject
- Object from which to copy attributespTargetObject
- Object to which to copy attributespublic void deleteSegment(java.lang.String pApplicationId, java.lang.String pSegmentName) throws ObjectNotFoundException, PersistenceException
pApplicationId
- the app identifierpSegmentName
- the name of the segment to delete
ObjectNotFoundException
PersistenceException
public void restoreFrameworkDefaultBySegment(java.lang.String pApplicationId, java.lang.String pSegmentName, java.lang.String pFrameworkId) throws ObjectNotFoundException, PersistenceException
pApplicationId
- Application identifierpFrameworkId
- Item identifier
ObjectNotFoundException
PersistenceException
public atg.svc.framework.repository.beans.FrameworkConfig getFrameworkConfig(java.lang.String pFrameworkId) throws ObjectNotFoundException
pFrameworkId
-
ObjectNotFoundException
public atg.svc.framework.repository.beans.FrameworkInstance getNewFrameworkInstance() throws ObjectNotFoundException
ObjectNotFoundException
public atg.svc.framework.repository.beans.FrameworkInstance getNewFrameworkInstance(java.lang.String pFrameworkId) throws ObjectNotFoundException
pFrameworkId
-
ObjectNotFoundException
public void saveFrameworkConfigFromInstance(atg.svc.framework.repository.beans.FrameworkInstance pFrameworkInstance) throws ObjectNotFoundException, PersistenceException
pFrameworkInstance
- The framework instance bean to save.
ObjectNotFoundException
PersistenceException
public void restoreContentDefaultBySegment(java.lang.String pApplicationId, java.lang.String pSegmentName, java.lang.String pContentId) throws ObjectNotFoundException, PersistenceException
pApplicationId
- Application identifierpContentId
- Item identifier
ObjectNotFoundException
PersistenceException
public atg.svc.framework.repository.beans.ContentConfig getContentConfig(java.lang.String pContentId) throws ObjectNotFoundException
pContentId
- A valid content identifier.
ObjectNotFoundException
public atg.svc.framework.repository.beans.ContentInstance getNewContentInstance(java.lang.String pContentId) throws ObjectNotFoundException
pContentId
- The content id.
ObjectNotFoundException
public void saveContentConfigFromInstance(atg.svc.framework.repository.beans.ContentInstance pContentInstance) throws ObjectNotFoundException, PersistenceException
pContentInstance
- The content instance bean to save.
ObjectNotFoundException
PersistenceException
public void restoreSkinDefaultBySegment(java.lang.String pApplicationId, java.lang.String pSegmentName, java.lang.String pSkinId) throws ObjectNotFoundException, PersistenceException
pApplicationId
- Application identifierpSkinId
- Item identifier
ObjectNotFoundException
PersistenceException
public atg.svc.framework.repository.beans.SkinConfig getSkinConfig(java.lang.String pSkinId) throws ObjectNotFoundException
pSkinId
- A valid skin identifier.
ObjectNotFoundException
public atg.svc.framework.repository.beans.SkinInstance getNewSkinInstance(java.lang.String pSkinId) throws ObjectNotFoundException
pSkinId
- The skin id.
ObjectNotFoundException
public void saveSkinConfigFromInstance(atg.svc.framework.repository.beans.SkinInstance pSkinInstance) throws ObjectNotFoundException, PersistenceException
pSkinInstance
- The skin instance bean to save.
ObjectNotFoundException
PersistenceException
public void restoreTabDefaultBySegment(java.lang.String pApplicationId, java.lang.String pSegmentName, java.lang.String pTabId) throws ObjectNotFoundException, PersistenceException
pApplicationId
- Application identifierpTabId
- Item identifier
ObjectNotFoundException
PersistenceException
public atg.svc.framework.repository.beans.TabConfig getTabConfig(java.lang.String pTabId) throws ObjectNotFoundException
pTabId
- A valid tab identifier.
ObjectNotFoundException
public atg.svc.framework.repository.beans.TabInstance getNewTabInstance(java.lang.String pTabId) throws ObjectNotFoundException
pTabId
- The tab id.
ObjectNotFoundException
public atg.svc.framework.repository.beans.TabInstance getNewTabInstance(java.lang.String pTabId, atg.svc.framework.repository.beans.TabDefinition pTabDefinition) throws ObjectNotFoundException
ObjectNotFoundException
public void tabLogDebug(atg.svc.framework.repository.beans.TabDefinition pTabDefinition, java.lang.String pTabId)
public void saveTabConfigFromInstance(atg.svc.framework.repository.beans.TabInstance pTabInstance) throws ObjectNotFoundException, PersistenceException
pTabInstance
- The tab instance bean to save.
ObjectNotFoundException
PersistenceException
public void restoreCellDefaultBySegment(java.lang.String pApplicationId, java.lang.String pSegmentName, java.lang.String pCellId) throws ObjectNotFoundException, PersistenceException
pApplicationId
- Application identifierpCellId
- Item identifier
ObjectNotFoundException
PersistenceException
public atg.svc.framework.repository.beans.CellConfig getCellConfig(java.lang.String pCellId) throws ObjectNotFoundException
pCellId
- A valid cell identifier.
ObjectNotFoundException
public atg.svc.framework.repository.beans.CellInstance getNewCellInstance(java.lang.String pCellId) throws ObjectNotFoundException
pCellId
- The cell id.
ObjectNotFoundException
public atg.svc.framework.repository.beans.CellInstance getNewCellInstance(java.lang.String pCellId, atg.svc.framework.repository.beans.CellDefinition pCellDefinition) throws ObjectNotFoundException
ObjectNotFoundException
public void saveCellConfigFromInstance(atg.svc.framework.repository.beans.CellInstance pCellInstance) throws ObjectNotFoundException, PersistenceException
pCellInstance
- The cell instance bean to save.
ObjectNotFoundException
PersistenceException
public void restorePanelStackDefaultBySegment(java.lang.String pApplicationId, java.lang.String pSegmentName, java.lang.String pPanelStackId) throws ObjectNotFoundException, PersistenceException
pApplicationId
- Application identifierpPanelStackId
- Item identifier
ObjectNotFoundException
PersistenceException
public atg.svc.framework.repository.beans.PanelStackConfig getPanelStackConfig(java.lang.String pPanelStackId) throws ObjectNotFoundException
pPanelStackId
- A valid panel stack identifier.
ObjectNotFoundException
public atg.svc.framework.repository.beans.PanelStackInstance getNewPanelStackInstance(java.lang.String pPanelStackId) throws ObjectNotFoundException
pPanelStackId
- The panel stack id.
ObjectNotFoundException
public atg.svc.framework.repository.beans.PanelStackInstance getNewPanelStackInstance(java.lang.String pPanelStackId, atg.svc.framework.repository.beans.PanelStackDefinition pPanelStackDefinition) throws ObjectNotFoundException
ObjectNotFoundException
public void savePanelStackConfigFromInstance(atg.svc.framework.repository.beans.PanelStackInstance pPanelStackInstance) throws ObjectNotFoundException, PersistenceException
pPanelStackInstance
- The panel stack instance bean to save.
ObjectNotFoundException
PersistenceException
public void restorePanelDefaultBySegment(java.lang.String pApplicationId, java.lang.String pSegmentName, java.lang.String pPanelId) throws ObjectNotFoundException, PersistenceException
pApplicationId
- Application identifierpPanelId
- Item identifier
ObjectNotFoundException
PersistenceException
public atg.svc.framework.repository.beans.PanelConfig getPanelConfig(java.lang.String pPanelId) throws ObjectNotFoundException
pPanelId
- A valid panel identifier.
ObjectNotFoundException
public atg.svc.framework.repository.beans.PanelInstance getNewPanelInstance(java.lang.String pPanelId) throws ObjectNotFoundException
pPanelId
- The panel id.
ObjectNotFoundException
public atg.svc.framework.repository.beans.PanelInstance getNewPanelInstance(java.lang.String pPanelId, atg.svc.framework.repository.beans.PanelDefinition pPanelDefinition) throws ObjectNotFoundException
ObjectNotFoundException
public void savePanelConfigFromInstance(atg.svc.framework.repository.beans.PanelInstance pPanelInstance) throws ObjectNotFoundException, PersistenceException
pPanelInstance
- The panel instance bean to save.
ObjectNotFoundException
PersistenceException
public void panelLogDebug(atg.svc.framework.repository.beans.PanelDefinition pPanelDefinition, java.lang.String pPanelId)
public atg.svc.framework.repository.beans.PanelTargetElement getNewPanelTargetElementInstance(java.lang.String pPanelStackId, java.lang.String pPanelId, int pCount) throws ObjectNotFoundException
ObjectNotFoundException
public atg.svc.framework.repository.beans.PanelTargetElement getNewPanelTargetElementInstance(java.lang.String pPanelId) throws ObjectNotFoundException
ObjectNotFoundException
public atg.svc.framework.repository.beans.PanelTargetElement getNewPanelTargetElementInstance(java.lang.String pPanelStackId, java.lang.String pPanelId) throws ObjectNotFoundException
ObjectNotFoundException
public void restoreTemplateDefaultBySegment(java.lang.String pApplicationId, java.lang.String pSegmentName, java.lang.String pTemplateId) throws ObjectNotFoundException, PersistenceException
pApplicationId
- Application identifierpTemplateId
- Item identifier
ObjectNotFoundException
PersistenceException
public atg.svc.framework.repository.beans.TemplateConfig getTemplateConfig(java.lang.String pTemplateId) throws ObjectNotFoundException
pTemplateId
- A valid template identifier.
ObjectNotFoundException
public atg.svc.framework.repository.beans.TemplateInstance getNewTemplateInstance(java.lang.String pTemplateId) throws ObjectNotFoundException
pTemplateId
- The template id.
ObjectNotFoundException
public void saveTemplateConfigFromInstance(atg.svc.framework.repository.beans.TemplateInstance pTemplateInstance) throws ObjectNotFoundException, PersistenceException
pTemplateInstance
- The template instance bean to save.
ObjectNotFoundException
PersistenceException
protected javax.ejb.EJBLocalObject getConfig(int pItemType, java.lang.String pItemId) throws ObjectNotFoundException
pItemType
- Item type to put in map
ObjectNotFoundException
protected javax.ejb.EJBLocalObject getNewConfig(int pItemType, java.lang.String pUserId, java.lang.String pItemId) throws ObjectNotFoundException
pItemType
- Item type to put in map
ObjectNotFoundException
protected void initCommonProperties(atg.svc.framework.repository.beans.ConfigurationObject configBean, atg.svc.framework.repository.beans.FrameworkObject frameworkBean, atg.svc.framework.repository.beans.InstanceObject instanceBean)
pItemType
- Item type to put in mapprotected javax.ejb.EJBLocalObject getNewInstance(int pItemType, java.lang.String pInstanceId) throws ObjectNotFoundException
ObjectNotFoundException
protected void saveConfigFromInstance(int pItemType, javax.ejb.EJBLocalObject beanInstance) throws ObjectNotFoundException, PersistenceException
pItemType
- Item type to put in map
ObjectNotFoundException
PersistenceException
protected void restoreItemDefault(java.lang.String pApplicationId, java.lang.String pSegmentName, int pItemType, java.lang.String pItemId) throws ObjectNotFoundException, PersistenceException
pApplicationId
- the app identifierpSegmentName
- the segment identifierpItemType
- the item typepItemId
- the item identifier for which to restore defaults
ObjectNotFoundException
PersistenceException
public java.lang.String getUserTabId() throws ObjectNotFoundException
ObjectNotFoundException
protected java.lang.String getNewTargetElementId()
protected java.lang.String getCurrentUserProfileRepositoryId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |