public class MarkerConfiguration extends GenericService implements MarkerConstants
Configurable properties:
repositoryMarkerManager -the repository marker manager used for api calls.
defaultDuplicationMode - the duplication mode used when adding new marker items.
defaultMarkerItemType - the default marker item type.
defaultMarkerPropertyName - the property name for the List of markers.
defaultMarkedItemType - the default marker item type.
hasMarkerOperatorMap - operator name mappings for the hasMarker expression classes.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
protected java.lang.String |
mDefaultDuplicationMode |
protected java.lang.String |
mDefaultMarkedItemType |
protected java.lang.String |
mDefaultMarkerItemType |
protected java.lang.String |
mDefaultMarkerPropertyName |
protected java.util.Map |
mHasMarkerOperatorMap |
protected RepositoryMarkerManager |
mRepositoryMarkerManager |
protected javax.transaction.TransactionManager |
mTransactionManager |
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 |
---|
MarkerConfiguration() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDefaultDuplicationMode()
Returns the default duplication mode
|
java.lang.String |
getDefaultMarkedItemType()
Returns the default marked item type used when referencing a marked
item by id.
|
java.lang.String |
getDefaultMarkerItemType()
Returns the default marker item type used when creating new markers
|
java.lang.String |
getDefaultMarkerPropertyName()
Returns the default property name for storing markers on an item
|
java.util.Map |
getHasMarkerOperatorMap()
Get the Map of operator names for the hasMarker expressions performed
by the ItemHasMarker base class.
|
RepositoryMarkerManager |
getRepositoryMarkerManager()
Returns the repository marker manager
|
javax.transaction.TransactionManager |
getTransactionManager()
Returns the transaction manager used by the scenario element
|
void |
setDefaultDuplicationMode(java.lang.String pDefaultDuplicationMode)
Sets the default duplication mode.
|
void |
setDefaultMarkedItemType(java.lang.String pDefaultMarkedItemType)
Sets the default marked item type used when referencing a marked
item by id
|
void |
setDefaultMarkerItemType(java.lang.String pDefaultMarkerItemType)
Sets the default marker item type used when creating new markers
|
void |
setDefaultMarkerPropertyName(java.lang.String pDefaultMarkerPropertyName)
Sets the default property name for storing markers on an item
|
void |
setHasMarkerOperatorMap(java.util.Map pHasMarkerOperatorMap) |
void |
setRepositoryMarkerManager(RepositoryMarkerManager pRepositoryMarkerManager)
Sets the repository marker manager
|
void |
setTransactionManager(javax.transaction.TransactionManager pTransactionManager)
Sets the transaction manager used by the scenario element
|
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 javax.transaction.TransactionManager mTransactionManager
protected java.lang.String mDefaultMarkerPropertyName
protected java.lang.String mDefaultMarkerItemType
protected java.lang.String mDefaultMarkedItemType
protected java.lang.String mDefaultDuplicationMode
protected java.util.Map mHasMarkerOperatorMap
public void setRepositoryMarkerManager(RepositoryMarkerManager pRepositoryMarkerManager)
public RepositoryMarkerManager getRepositoryMarkerManager()
public void setTransactionManager(javax.transaction.TransactionManager pTransactionManager)
public javax.transaction.TransactionManager getTransactionManager()
public void setDefaultMarkerPropertyName(java.lang.String pDefaultMarkerPropertyName)
public java.lang.String getDefaultMarkerPropertyName()
public void setDefaultMarkerItemType(java.lang.String pDefaultMarkerItemType)
public java.lang.String getDefaultMarkerItemType()
public void setDefaultMarkedItemType(java.lang.String pDefaultMarkedItemType)
public java.lang.String getDefaultMarkedItemType()
public void setDefaultDuplicationMode(java.lang.String pDefaultDuplicationMode)
public java.lang.String getDefaultDuplicationMode()
public java.util.Map getHasMarkerOperatorMap()
For instance, ItemHasMarker provides hasMarker, hasLastMarker and hasLastMarkerWithKey, and is extended by ProfileHasMarker for the operators profileHasMarker, profileHasLastMarker and profileHasMarkerWithKey.
For example:
profileHasMarker=hasMarker, profileHasLastMarker=hasLastMarker,
profileHasMarkerWithKey=hasMarkerWithKey
public void setHasMarkerOperatorMap(java.util.Map pHasMarkerOperatorMap)