public class RepositoryGroupDimensionService extends GenericDimensionService
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
mDimensionName, mDimensionValueKeyPrefix, mDimensionValuesLocalized, mDisabled, mDisplayNameKey, mDisplayNameLocalized, mFormatter
SERVICE_INFO_KEY
DEFAULT_LOG_TRACE_STATUS
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
Constructor and Description |
---|
RepositoryGroupDimensionService() |
Modifier and Type | Method and Description |
---|---|
boolean |
dimensionMatchesValue(DynamoHttpServletRequest pRequest,
java.lang.String pValue)
Checks the request profile against a group for the passed in string group name for a match.
|
boolean |
dimensionMatchesValue(RepositoryItem pProfile,
java.lang.String pValue)
Checks whether or not a value extracted from the given profile matches the given value.
|
protected boolean |
doesGroupMatchProfile(java.lang.String pGroupName,
RepositoryItem pProfile)
Checks the profile against the group for a match.
|
java.util.List |
getDimensionValues()
Returns a list of string dimension values that are valid for this dimension.
|
protected RepositoryItemGroup |
getGroup(java.lang.String pGroupName)
Gets the RepositoryItemGroup for the given name.
|
java.lang.String |
getGroupListId() |
java.util.Map |
getNameGroupMap() |
java.lang.String |
getProfilePath() |
atg.repository.nucleus.RepositoryGroupContainerService |
getRepositoryGroupContainerService()
Returns the repositoryGroupContainerService property
|
atg.repository.nucleus.RepositoryRepositoryGroupListManager |
getRepositoryGroupListManager() |
java.lang.String |
getRepositoryName()
Returns the repositoryName property
|
boolean |
isProfileBased() |
void |
setDimensionValues(java.util.List pDimensionValues) |
void |
setGroupListId(java.lang.String pGroupListId) |
void |
setNameGroupMap(java.util.Map pNameGroupMap) |
void |
setProfilePath(java.lang.String pProfilePath) |
void |
setRepositoryGroupContainerService(atg.repository.nucleus.RepositoryGroupContainerService pRepositoryGroupContainerService)
Sets the repositoryGroupContainerService property
|
void |
setRepositoryGroupListManager(atg.repository.nucleus.RepositoryRepositoryGroupListManager pRepositoryGroupListManager) |
void |
setRepositoryName(java.lang.String pRepositoryName)
Sets the repositoryName property
|
dimensionMatchesValue, getAllDimensionValues, getDimensionName, getDimensionValueDisplayName, getDimensionValueKeyPrefix, getDimensionValuesLocalized, getDisplayName, getDisplayNameKey, getDisplayNameLocalized, getFormatter, isDisabled, setDimensionName, setDimensionValueKeyPrefix, setDimensionValuesLocalized, setDisabled, setDisplayNameKey, setDisplayNameLocalized, setFormatter
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
public java.lang.String getGroupListId()
public void setGroupListId(java.lang.String pGroupListId)
public atg.repository.nucleus.RepositoryRepositoryGroupListManager getRepositoryGroupListManager()
public void setRepositoryGroupListManager(atg.repository.nucleus.RepositoryRepositoryGroupListManager pRepositoryGroupListManager)
public java.lang.String getRepositoryName()
public void setRepositoryName(java.lang.String pRepositoryName)
pRepositoryName
- The repository name to setpublic atg.repository.nucleus.RepositoryGroupContainerService getRepositoryGroupContainerService()
public void setRepositoryGroupContainerService(atg.repository.nucleus.RepositoryGroupContainerService pRepositoryGroupContainerService)
pRepositoryGroupContainerService
- The property value to setpublic java.util.Map getNameGroupMap()
public void setNameGroupMap(java.util.Map pNameGroupMap)
public java.util.List getDimensionValues()
SearchDimension
public void setDimensionValues(java.util.List pDimensionValues)
public java.lang.String getProfilePath()
public void setProfilePath(java.lang.String pProfilePath)
public boolean dimensionMatchesValue(RepositoryItem pProfile, java.lang.String pValue)
dimensionMatchesValue
in interface SearchDimension
dimensionMatchesValue
in class GenericDimensionService
pProfile
- RepositoryItem profile to usepValue
- String vlaue to check.public boolean isProfileBased()
public boolean dimensionMatchesValue(DynamoHttpServletRequest pRequest, java.lang.String pValue)
dimensionMatchesValue
in interface SearchDimension
dimensionMatchesValue
in class GenericDimensionService
pRequest
- DynamoHttpServletRequest.pValue
- group name.protected boolean doesGroupMatchProfile(java.lang.String pGroupName, RepositoryItem pProfile)
pGroupName
- group namepProfile
- RepositoryItem profile.protected RepositoryItemGroup getGroup(java.lang.String pGroupName)
pGroupName
- String name of the group