atg.markers.scenario
Class MarkerConfiguration

java.lang.Object
  extended by atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
      extended by atg.nucleus.GenericService
          extended by atg.markers.scenario.MarkerConfiguration
All Implemented Interfaces:
MarkerConstants, NameContextBindingListener, NameContextElement, NameResolver, AdminableService, ApplicationLogging, atg.nucleus.logging.ApplicationLoggingSender, atg.nucleus.logging.TraceApplicationLogging, atg.nucleus.logging.VariableArgumentApplicationLogging, ComponentNameResolver, Service, ServiceListener, java.util.EventListener
Direct Known Subclasses:
BusinessProcessScenarioConfiguration, OrderMarkerConfiguration

public class MarkerConfiguration
extends GenericService
implements MarkerConstants

Configuration class used by scenario marker actions and expressions.

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.


Field Summary
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
           
 
Fields inherited from class atg.nucleus.GenericService
SERVICE_INFO_KEY
 
Fields inherited from interface atg.markers.MarkerConstants
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
 
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
MarkerConfiguration()
           
 
Method Summary
 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
 
Methods inherited from class atg.nucleus.GenericService
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService
 
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

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string


mRepositoryMarkerManager

protected RepositoryMarkerManager mRepositoryMarkerManager

mTransactionManager

protected javax.transaction.TransactionManager mTransactionManager

mDefaultMarkerPropertyName

protected java.lang.String mDefaultMarkerPropertyName

mDefaultMarkerItemType

protected java.lang.String mDefaultMarkerItemType

mDefaultMarkedItemType

protected java.lang.String mDefaultMarkedItemType

mDefaultDuplicationMode

protected java.lang.String mDefaultDuplicationMode

mHasMarkerOperatorMap

protected java.util.Map mHasMarkerOperatorMap
Constructor Detail

MarkerConfiguration

public MarkerConfiguration()
Method Detail

setRepositoryMarkerManager

public void setRepositoryMarkerManager(RepositoryMarkerManager pRepositoryMarkerManager)
Sets the repository marker manager


getRepositoryMarkerManager

public RepositoryMarkerManager getRepositoryMarkerManager()
Returns the repository marker manager


setTransactionManager

public void setTransactionManager(javax.transaction.TransactionManager pTransactionManager)
Sets the transaction manager used by the scenario element


getTransactionManager

public javax.transaction.TransactionManager getTransactionManager()
Returns the transaction manager used by the scenario element


setDefaultMarkerPropertyName

public void setDefaultMarkerPropertyName(java.lang.String pDefaultMarkerPropertyName)
Sets the default property name for storing markers on an item


getDefaultMarkerPropertyName

public java.lang.String getDefaultMarkerPropertyName()
Returns the default property name for storing markers on an item


setDefaultMarkerItemType

public void setDefaultMarkerItemType(java.lang.String pDefaultMarkerItemType)
Sets the default marker item type used when creating new markers


getDefaultMarkerItemType

public java.lang.String getDefaultMarkerItemType()
Returns the default marker item type used when creating new markers


setDefaultMarkedItemType

public void setDefaultMarkedItemType(java.lang.String pDefaultMarkedItemType)
Sets the default marked item type used when referencing a marked item by id


getDefaultMarkedItemType

public java.lang.String getDefaultMarkedItemType()
Returns the default marked item type used when referencing a marked item by id.


setDefaultDuplicationMode

public void setDefaultDuplicationMode(java.lang.String pDefaultDuplicationMode)
Sets the default duplication mode.


getDefaultDuplicationMode

public java.lang.String getDefaultDuplicationMode()
Returns the default duplication mode


getHasMarkerOperatorMap

public java.util.Map getHasMarkerOperatorMap()
Get the Map of operator names for the hasMarker expressions performed by the ItemHasMarker base class.

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


setHasMarkerOperatorMap

public void setHasMarkerOperatorMap(java.util.Map pHasMarkerOperatorMap)