atg.svc.repository.service
Class SecurityUIService

java.lang.Object
  extended by atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
      extended by atg.nucleus.GenericService
          extended by atg.svc.repository.service.BaseService
              extended by atg.svc.repository.service.FrameworkBaseService
                  extended by atg.svc.repository.service.UIService
                      extended by atg.svc.repository.service.SecurityUIService
All Implemented Interfaces:
atg.naming.NameContextBindingListener, atg.naming.NameContextElement, atg.naming.NameResolver, atg.nucleus.AdminableService, atg.nucleus.logging.ApplicationLogging, atg.nucleus.logging.ApplicationLoggingSender, atg.nucleus.logging.TraceApplicationLogging, atg.nucleus.logging.VariableArgumentApplicationLogging, atg.nucleus.naming.ComponentNameResolver, atg.nucleus.Service, atg.nucleus.ServiceListener, java.util.EventListener

public class SecurityUIService
extends UIService

Business methods for editing/reading/saving UI state.


Field Summary
static java.lang.String ADMIN_LOGIN_RIGHT
           
static java.lang.String AGENT_USER_TYPE
           
static java.lang.String CLASS_VERSION
           
protected  atg.nucleus.naming.ComponentName mProfileComponentName
           
static java.lang.String WORKSPACE_LOGIN_RIGHT
           
 
Fields inherited from class atg.svc.repository.service.UIService
CELL_ITEM_TYPE, CHAT_TAB_ID, COMMERCE_TAB_ID, CONTENT_ITEM_TYPE, CONTRIBUTE_TAB_ID, CUSTOMERS_TAB_ID, FRAMEWORK_ITEM_TYPE, PANEL_ITEM_TYPE, PANEL_STACK_ITEM_TYPE, PANEL_TARGET_ELEMENT_ITEM_TYPE, REPORT_TAB_ID, RESEARCH_TAB_ID, RESPOND_TAB_ID, SKIN_ITEM_TYPE, SUPER_ADMIN_ROLE_ID, TAB_ITEM_TYPE, TASKS_TAB_ID, TEMPLATE_ITEM_TYPE, TICKETS_TAB_ID, 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
SecurityUIService()
           
 
Method Summary
protected  java.util.Map getAccessRightCache()
           
 java.lang.String getCachePath()
           
 boolean getHasAdminRight()
           
 boolean getHasRight(java.lang.String pAccessRight)
          Determines if the current user has the specified UI right
 boolean getHasWorkspaceRight()
           
 boolean getIsAgentUserType()
           
 java.lang.String getProfileComponentName()
           
protected  boolean isUserType(java.lang.String pUserType)
          return true if the profile's data source is a repository item of type agent, or a subclass of type agent.
 void setCachePath(java.lang.String cachePath)
           
 void setProfileComponentName(java.lang.String pProfileComponentName)
           
 
Methods inherited from class atg.svc.repository.service.UIService
copyBaseAttributes, copyCellDefinitionAttributes, copyContentDefinitionAttributes, copyFrameworkDefinitionAttributes, copyPanelDefinitionAttributes, copyPanelStackDefinitionAttributes, copySegment, copySkinDefinitionAttributes, copyTabDefinitionAttributes, copyTemplateDefinitionAttributes, deleteSegment, getApplicationId, getCellConfig, getChatTabId, getComponentService, getConfig, getContentConfig, getContributeTabId, getCurrentUserProfileRepositoryId, getCustomersTabId, getFrameworkConfig, getFrameworkId, getModuleDependencyManager, getNewCellInstance, getNewCellInstance, getNewConfig, getNewContentInstance, getNewFrameworkInstance, getNewFrameworkInstance, getNewInstance, getNewPanelInstance, getNewPanelInstance, getNewPanelStackInstance, getNewPanelStackInstance, getNewPanelTargetElementInstance, getNewPanelTargetElementInstance, getNewPanelTargetElementInstance, getNewSkinInstance, getNewTabInstance, getNewTabInstance, getNewTargetElementId, getNewTemplateInstance, getPanelConfig, getPanelStackConfig, getReportTabId, getResearchTabId, getRespondTabId, getSecurityDomain, getSecurityService, getSegmentedOptionService, getSkinConfig, getTabConfig, getTasksTabId, getTemplateConfig, getTicketsTabId, getUserOptionsService, getUserTabId, getUseSegments, hasRight, initCommonProperties, panelLogDebug, restoreCellDefaultBySegment, restoreContentDefaultBySegment, restoreFrameworkDefaultBySegment, restoreItemDefault, restorePanelDefaultBySegment, restorePanelStackDefaultBySegment, restoreSkinDefaultBySegment, restoreTabDefaultBySegment, restoreTemplateDefaultBySegment, saveCellConfigFromInstance, saveConfigFromInstance, saveContentConfigFromInstance, saveFrameworkConfigFromInstance, savePanelConfigFromInstance, savePanelStackConfigFromInstance, saveSkinConfigFromInstance, saveTabConfigFromInstance, saveTemplateConfigFromInstance, setApplicationId, setComponentService, setFrameworkId, setModuleDependencyManager, setSecurityDomain, setSecurityService, setSegmentedOptionService, setUserOptionsService, setUseSegments, tabLogDebug
 
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

CLASS_VERSION

public static final java.lang.String CLASS_VERSION
See Also:
Constant Field Values

WORKSPACE_LOGIN_RIGHT

public static final java.lang.String WORKSPACE_LOGIN_RIGHT
See Also:
Constant Field Values

ADMIN_LOGIN_RIGHT

public static final java.lang.String ADMIN_LOGIN_RIGHT
See Also:
Constant Field Values

AGENT_USER_TYPE

public static final java.lang.String AGENT_USER_TYPE
See Also:
Constant Field Values

mProfileComponentName

protected atg.nucleus.naming.ComponentName mProfileComponentName
Constructor Detail

SecurityUIService

public SecurityUIService()
Method Detail

getProfileComponentName

public java.lang.String getProfileComponentName()

setProfileComponentName

public void setProfileComponentName(java.lang.String pProfileComponentName)

getHasRight

public boolean getHasRight(java.lang.String pAccessRight)
Determines if the current user has the specified UI right

Overrides:
getHasRight in class UIService
Parameters:
pAccessRight - the name of a UI right
Returns:
Whether the current user has the specified UI right

getHasWorkspaceRight

public boolean getHasWorkspaceRight()

getHasAdminRight

public boolean getHasAdminRight()

getIsAgentUserType

public boolean getIsAgentUserType()

isUserType

protected boolean isUserType(java.lang.String pUserType)
return true if the profile's data source is a repository item of type agent, or a subclass of type agent. return false if not, or if there is no data source for the profile


getAccessRightCache

protected java.util.Map getAccessRightCache()

getCachePath

public java.lang.String getCachePath()

setCachePath

public void setCachePath(java.lang.String cachePath)