atg.markers.bp
Class ProfileBasedProcessConfiguration

java.lang.Object
  extended by atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
      extended by atg.nucleus.GenericService
          extended by atg.markers.ValidateMarkerByPossibleValue
              extended by atg.markers.ConfigurableMarkerValidator
                  extended by atg.markers.bp.BusinessProcessConfiguration
                      extended by atg.markers.bp.ItemBasedProcessConfiguration
                          extended by atg.markers.bp.ProfileBasedProcessConfiguration
All Implemented Interfaces:
BusinessProcessConstants, MarkerConstants, MarkerValidator, NameContextBindingListener, NameContextElement, NameResolver, AdminableService, ApplicationLogging, atg.nucleus.logging.ApplicationLoggingSender, atg.nucleus.logging.TraceApplicationLogging, atg.nucleus.logging.VariableArgumentApplicationLogging, ComponentNameResolver, Service, ServiceListener, java.util.EventListener

public class ProfileBasedProcessConfiguration
extends ItemBasedProcessConfiguration

Business Process configuration for business processes based on a profile.

findItem is implemented to return the current session profile repository item.

getRepositoryMarkerManager is extended to automatically return the ProfileMarkerManager component, if one is not configured.


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
static java.lang.String PROFILE_MARKER_ITEM_TYPE
          default marker item type profile business process markers
static java.lang.String PROFILE_MARKER_MANAGER_PATH
          default path to the profile marker manager
static java.lang.String PROFILE_MARKER_PROPERTY_NAME
          default property name to use for profile business process markers
 
Fields inherited from class atg.markers.bp.ItemBasedProcessConfiguration
mRepositoryMarkerManager
 
Fields inherited from class atg.markers.bp.BusinessProcessConfiguration
mBusinessProcessName, mDuplicationMode, mEnabled, mGenerateEvents, mMarkedItemType, mMarkerItemType, mMarkerPropertyName, mMarkerValidatorContainer, mStageNames
 
Fields inherited from class atg.markers.ValidateMarkerByPossibleValue
mAcceptAllValues, mNullValueValid
 
Fields inherited from class atg.nucleus.GenericService
SERVICE_INFO_KEY
 
Fields inherited from interface atg.markers.bp.BusinessProcessConstants
BUSINESS_PROCESS_RESOURCE_NAME, sBusinessProcessResourceBundle
 
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
ProfileBasedProcessConfiguration()
           
 
Method Summary
 RepositoryItem findItem()
          Finds the repository item to be used by the business process.
 java.lang.String getMarkerItemType()
          This extension returns the default item type for profile business process markers if the property is not already configured.
 java.lang.String getMarkerPropertyName()
          This extension returns the default property name for profile business process markers if the property is not already configured.
 RepositoryMarkerManager getRepositoryMarkerManager()
          This extension returns the nucleus component /atg/markers/userprofiling/ProfileMarkerManager if the property is not already configured.
 
Methods inherited from class atg.markers.bp.ItemBasedProcessConfiguration
getMarkedItemType, getMarkerValidatorContainer, setRepositoryMarkerManager, validateConfiguration
 
Methods inherited from class atg.markers.bp.BusinessProcessConfiguration
doStartService, getBusinessProcessName, getDuplicationMode, getPossibleValues, getStageNames, isEnabled, isGenerateEvents, isNullValueValid, setBusinessProcessName, setDuplicationMode, setEnabled, setGenerateEvents, setMarkedItemType, setMarkerItemType, setMarkerPropertyName, setMarkerValidatorContainer, setStageNames
 
Methods inherited from class atg.markers.ConfigurableMarkerValidator
getValidValuesForKey, setPossibleValues
 
Methods inherited from class atg.markers.ValidateMarkerByPossibleValue
isAcceptAllValues, isValidMarker, isValidValueForKey, setAcceptAllValues, setNullValueValid
 
Methods inherited from class atg.nucleus.GenericService
addLogListener, createAdminServlet, 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


PROFILE_MARKER_MANAGER_PATH

public static java.lang.String PROFILE_MARKER_MANAGER_PATH
default path to the profile marker manager


PROFILE_MARKER_PROPERTY_NAME

public static java.lang.String PROFILE_MARKER_PROPERTY_NAME
default property name to use for profile business process markers


PROFILE_MARKER_ITEM_TYPE

public static java.lang.String PROFILE_MARKER_ITEM_TYPE
default marker item type profile business process markers

Constructor Detail

ProfileBasedProcessConfiguration

public ProfileBasedProcessConfiguration()
Method Detail

getRepositoryMarkerManager

public RepositoryMarkerManager getRepositoryMarkerManager()
This extension returns the nucleus component /atg/markers/userprofiling/ProfileMarkerManager if the property is not already configured.

Overrides:
getRepositoryMarkerManager in class ItemBasedProcessConfiguration
See Also:
PROFILE_MARKER_MANAGER_PATH

getMarkerPropertyName

public java.lang.String getMarkerPropertyName()
This extension returns the default property name for profile business process markers if the property is not already configured.

Overrides:
getMarkerPropertyName in class BusinessProcessConfiguration
Returns:
the marker property name where the business process markers are maintained on the containing object.
See Also:
PROFILE_MARKER_PROPERTY_NAME

getMarkerItemType

public java.lang.String getMarkerItemType()
This extension returns the default item type for profile business process markers if the property is not already configured.

Overrides:
getMarkerItemType in class BusinessProcessConfiguration
Returns:
the marker item type used when creating new business process markers.
See Also:
PROFILE_MARKER_ITEM_TYPE

findItem

public RepositoryItem findItem()
Finds the repository item to be used by the business process. This method is called by the BusinessProcessManager when an item is not provided through its API.

By default this method returns the current user profile.

Specified by:
findItem in class ItemBasedProcessConfiguration
Returns:
the repository item