|
|||||||||
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.markers.userprofiling.ProfileMarkerServices
public class ProfileMarkerServices
ProfileMarkerServices contains the methods that can be used to implement marker WebServices for profiles.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
protected GetService |
mGetService
|
protected java.lang.String |
mMarkerMappingFileName
|
protected RepositoryMarkerManager |
mRepositoryMarkerManager
|
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 | |
---|---|
ProfileMarkerServices()
|
Method Summary | |
---|---|
boolean |
addMarkerToProfile(java.lang.String pProfileId,
java.lang.String pKey,
java.lang.String pValue,
java.lang.String pData,
java.lang.String pDuplicationMode)
Adds a marker to a profile. |
GetService |
getGetService()
The tool used to convert orders to xml in getOrderAsXML |
protected java.lang.String |
getMarkerMappingFileName()
The name of the mapping file used when converting markers to xml |
RepositoryMarkerManager |
getRepositoryMarkerManager()
The RepositoryMarkerManager class that is used to manage repository markers. |
boolean |
hasLastMarker(java.lang.String pProfileId,
java.lang.String pKey,
java.lang.String pValue,
java.lang.String pData)
This checks the profiles's last marker for a a matching key, value, data and extendedProperties. |
boolean |
hasLastMarkerWithKey(java.lang.String pProfileId,
java.lang.String pKey,
java.lang.String pValue,
java.lang.String pData)
This method checks the profile's last marker with a given key for a matching value, data and extendedProperties. |
boolean |
hasMarker(java.lang.String pProfileId,
java.lang.String pKey,
java.lang.String pValue,
java.lang.String pData)
|
int |
removeAllMarkersFromProfile(java.lang.String pProfileId)
Removes all markers from the profile. |
int |
removeMarkersFromProfile(java.lang.String pProfileId,
java.lang.String pKey,
java.lang.String pValue,
java.lang.String pData)
This method removes the markers from the profile that match the values provided. |
void |
setGetService(GetService pGetService)
|
void |
setMarkerMappingFileName(java.lang.String pMarkerMappingFileName)
|
void |
setRepositoryMarkerManager(RepositoryMarkerManager pRepositoryMarkerManager)
|
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
protected RepositoryMarkerManager mRepositoryMarkerManager
protected GetService mGetService
protected java.lang.String mMarkerMappingFileName
Constructor Detail |
---|
public ProfileMarkerServices()
Method Detail |
---|
public void setRepositoryMarkerManager(RepositoryMarkerManager pRepositoryMarkerManager)
public RepositoryMarkerManager getRepositoryMarkerManager()
public void setGetService(GetService pGetService)
public GetService getGetService()
getOrderAsXML
public void setMarkerMappingFileName(java.lang.String pMarkerMappingFileName)
protected java.lang.String getMarkerMappingFileName()
public boolean addMarkerToProfile(java.lang.String pProfileId, java.lang.String pKey, java.lang.String pValue, java.lang.String pData, java.lang.String pDuplicationMode) throws InvalidMarkerException, MarkerException
InvalidMarkerException
MarkerException
RepositoryMarkerManager.addMarkerToItem(atg.repository.MutableRepositoryItem, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Map, java.lang.String)
public boolean hasMarker(java.lang.String pProfileId, java.lang.String pKey, java.lang.String pValue, java.lang.String pData) throws MarkerException
MarkerException
public boolean hasLastMarker(java.lang.String pProfileId, java.lang.String pKey, java.lang.String pValue, java.lang.String pData) throws MarkerException
MarkerException
RepositoryMarkerManager.matchLastMarker(atg.repository.RepositoryItem, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Map)
public boolean hasLastMarkerWithKey(java.lang.String pProfileId, java.lang.String pKey, java.lang.String pValue, java.lang.String pData) throws MarkerException
MarkerException
RepositoryMarkerManager.matchLastMarkerWithKey(atg.repository.RepositoryItem, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Map)
public int removeMarkersFromProfile(java.lang.String pProfileId, java.lang.String pKey, java.lang.String pValue, java.lang.String pData) throws MarkerException
MarkerException
RepositoryMarkerManager.removeMarkersFromItem(atg.repository.MutableRepositoryItem, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Map)
public int removeAllMarkersFromProfile(java.lang.String pProfileId) throws MarkerException
MarkerException
RepositoryMarkerManager.removeAllMarkersFromItem(atg.repository.MutableRepositoryItem, java.lang.String)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |