|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.nucleus.logging.VariableArgumentApplicationLoggingImpl atg.nucleus.GenericService atg.repository.search.config.GenericDimensionService atg.repository.search.config.RepositoryGroupDimensionService
public class RepositoryGroupDimensionService
Search configuration dimension service that uses repository group names as the dimension values to determine whether a site visitor should be selected for a path in the dimension tree.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Fields inherited from class atg.repository.search.config.GenericDimensionService |
---|
mDimensionName, mDimensionValueKeyPrefix, mDimensionValuesLocalized, mDisabled, mDisplayNameKey, mDisplayNameLocalized, mFormatter |
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 | |
---|---|
RepositoryGroupDimensionService()
|
Method Summary | |
---|---|
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 |
Methods inherited from class atg.repository.search.config.GenericDimensionService |
---|
dimensionMatchesValue, getAllDimensionValues, getDimensionName, getDimensionValueDisplayName, getDimensionValueKeyPrefix, getDimensionValuesLocalized, getDisplayName, getDisplayNameKey, getDisplayNameLocalized, getFormatter, isDisabled, setDimensionName, setDimensionValueKeyPrefix, setDimensionValuesLocalized, setDisabled, setDisplayNameKey, setDisplayNameLocalized, setFormatter |
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 java.lang.String CLASS_VERSION
Constructor Detail |
---|
public RepositoryGroupDimensionService()
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |