public class ProfileMarkerServices extends GenericService implements MarkerConstants
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
protected GetService |
mGetService |
protected java.lang.String |
mMarkerMappingFileName |
protected RepositoryMarkerManager |
mRepositoryMarkerManager |
SERVICE_INFO_KEY
ALLOW_DUPLICATES, ANY_VALUE, DEFAULT_MARKER_ID_PROPERTY_NAME, DEFAULT_MARKER_ITEM_TYPE, DEFAULT_MARKER_PROPERTY_NAME, DEFAULT_MARKER_SORT_PROPERTY_NAME, MARKER_CREATIONDATE_PROPERTY_NAME, MARKER_DATA_PROPERTY_NAME, MARKER_DUPLICATIONMODE_PROPERTY_NAME, MARKER_KEY_PROPERTY_NAME, MARKER_OWNER_PROPERTY_NAME, MARKER_RESOURCE_NAME, MARKER_VALUE_PROPERTY_NAME, NO_DUPLICATES, PARAM_DATA, PARAM_DUPMODE, PARAM_EXTENDED_PROPERTIES, PARAM_ITEM, PARAM_ITEM_ID, PARAM_KEY, PARAM_MARKED_ITEM_TYPE, PARAM_MARKER_ITEM_TYPE, PARAM_MARKER_MANAGER, PARAM_MARKER_PROPERTY_NAME, PARAM_VALUE, REPLACE_DUPLICATES, sResourceBundle
DEFAULT_LOG_TRACE_STATUS
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
Constructor and Description |
---|
ProfileMarkerServices() |
Modifier and Type | Method and Description |
---|---|
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) |
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 static java.lang.String CLASS_VERSION
protected RepositoryMarkerManager mRepositoryMarkerManager
protected GetService mGetService
protected java.lang.String mMarkerMappingFileName
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
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
public boolean hasLastMarkerWithKey(java.lang.String pProfileId, java.lang.String pKey, java.lang.String pValue, java.lang.String pData) throws MarkerException
public int removeMarkersFromProfile(java.lang.String pProfileId, java.lang.String pKey, java.lang.String pValue, java.lang.String pData) throws MarkerException
public int removeAllMarkersFromProfile(java.lang.String pProfileId) throws MarkerException