public abstract class GeneratedProcessTaskLog extends GenericItem
ProcessTaskLog.GenericItem.GenericItemImplLocalizableItem.LocalizableItemImplExtensibleItem.ExtensibleItemImplItem.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ACTIONID
Qualifier of the
ProcessTaskLog.actionId attribute |
static java.lang.String |
CLUSTERID
Qualifier of the
ProcessTaskLog.clusterId attribute |
protected static java.util.Map<java.lang.String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static java.lang.String |
ENDDATE
Qualifier of the
ProcessTaskLog.endDate attribute |
static java.lang.String |
LOGMESSAGES
Qualifier of the
ProcessTaskLog.logMessages attribute |
static java.lang.String |
PROCESS
Qualifier of the
ProcessTaskLog.process attribute |
protected static BidirectionalOneToManyHandler<GeneratedProcessTaskLog> |
PROCESSHANDLER
BidirectionalOneToManyHandler for handling 1:n PROCESS's relation attributes from 'one' side. |
static java.lang.String |
RETURNCODE
Qualifier of the
ProcessTaskLog.returnCode attribute |
static java.lang.String |
STARTDATE
Qualifier of the
ProcessTaskLog.startDate attribute |
LANGUAGE_FALLBACK_ENABLED_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjects, TYPEimpl, tenant| Constructor and Description |
|---|
GeneratedProcessTaskLog() |
| Modifier and Type | Method and Description |
|---|---|
protected Item |
createItem(SessionContext ctx,
ComposedType type,
Item.ItemAttributeMap allAttributes)
Has to be implemented for each concrete subtype of item.
|
java.lang.String |
getActionId()
Generated method - Getter of the
ProcessTaskLog.actionId attribute. |
java.lang.String |
getActionId(SessionContext ctx)
Generated method - Getter of the
ProcessTaskLog.actionId attribute. |
java.lang.Integer |
getClusterId()
Generated method - Getter of the
ProcessTaskLog.clusterId attribute. |
java.lang.Integer |
getClusterId(SessionContext ctx)
Generated method - Getter of the
ProcessTaskLog.clusterId attribute. |
int |
getClusterIdAsPrimitive()
Generated method - Getter of the
ProcessTaskLog.clusterId attribute. |
int |
getClusterIdAsPrimitive(SessionContext ctx)
Generated method - Getter of the
ProcessTaskLog.clusterId attribute. |
protected java.util.Map<java.lang.String,Item.AttributeMode> |
getDefaultAttributeModes() |
java.util.Date |
getEndDate()
Generated method - Getter of the
ProcessTaskLog.endDate attribute. |
java.util.Date |
getEndDate(SessionContext ctx)
Generated method - Getter of the
ProcessTaskLog.endDate attribute. |
java.lang.String |
getLogMessages()
Generated method - Getter of the
ProcessTaskLog.logMessages attribute. |
java.lang.String |
getLogMessages(SessionContext ctx)
Generated method - Getter of the
ProcessTaskLog.logMessages attribute. |
BusinessProcess |
getProcess()
Generated method - Getter of the
ProcessTaskLog.process attribute. |
BusinessProcess |
getProcess(SessionContext ctx)
Generated method - Getter of the
ProcessTaskLog.process attribute. |
java.lang.String |
getReturnCode()
Generated method - Getter of the
ProcessTaskLog.returnCode attribute. |
java.lang.String |
getReturnCode(SessionContext ctx)
Generated method - Getter of the
ProcessTaskLog.returnCode attribute. |
java.util.Date |
getStartDate()
Generated method - Getter of the
ProcessTaskLog.startDate attribute. |
java.util.Date |
getStartDate(SessionContext ctx)
Generated method - Getter of the
ProcessTaskLog.startDate attribute. |
void |
setActionId(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
ProcessTaskLog.actionId attribute. |
void |
setActionId(java.lang.String value)
Generated method - Setter of the
ProcessTaskLog.actionId attribute. |
void |
setClusterId(int value)
Generated method - Setter of the
ProcessTaskLog.clusterId attribute. |
void |
setClusterId(java.lang.Integer value)
Generated method - Setter of the
ProcessTaskLog.clusterId attribute. |
void |
setClusterId(SessionContext ctx,
int value)
Generated method - Setter of the
ProcessTaskLog.clusterId attribute. |
void |
setClusterId(SessionContext ctx,
java.lang.Integer value)
Generated method - Setter of the
ProcessTaskLog.clusterId attribute. |
void |
setEndDate(java.util.Date value)
Generated method - Setter of the
ProcessTaskLog.endDate attribute. |
void |
setEndDate(SessionContext ctx,
java.util.Date value)
Generated method - Setter of the
ProcessTaskLog.endDate attribute. |
void |
setLogMessages(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
ProcessTaskLog.logMessages attribute. |
void |
setLogMessages(java.lang.String value)
Generated method - Setter of the
ProcessTaskLog.logMessages attribute. |
void |
setProcess(BusinessProcess value)
Generated method - Setter of the
ProcessTaskLog.process attribute. |
void |
setProcess(SessionContext ctx,
BusinessProcess value)
Generated method - Setter of the
ProcessTaskLog.process attribute. |
void |
setReturnCode(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
ProcessTaskLog.returnCode attribute. |
void |
setReturnCode(java.lang.String value)
Generated method - Setter of the
ProcessTaskLog.returnCode attribute. |
void |
setStartDate(java.util.Date value)
Generated method - Setter of the
ProcessTaskLog.startDate attribute. |
void |
setStartDate(SessionContext ctx,
java.util.Date value)
Generated method - Setter of the
ProcessTaskLog.startDate attribute. |
getInitialProperties, getNonInitialAttributesgetAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedPropertycreateNonClassAccessor, getAllProperties, getAllProperties, getImplementation, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setPropertyaddLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addNegativePermission, addPermission, addPositivePermission, assureExtensionsLoaded, changeTypeAfterCreation, checkConstraint, checkItemPermission, checkMandatoryAttribute, checkMandatoryAttribute, checkPermission, checkPermission, checkRemovable, clearPermission, compareTo, ctx, doAfterRemove, doBeforeRemove, equals, getAccessorFor, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributesInternal, getAllLinkedItems, getAndCheckCacheBoundItem, getAttribute, getAttribute, getCacheBoundItem, getComposedType, getComposedTypePK, getCreationTime, getCurrentlyRemovingCount, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItemsCount, getLinkedItemsCount, getLinkedItemsCount, getModificationTime, getNegativePermissions, getOwner, getPermissionMap, getPermissions, getPersistenceVersion, getPK, getPositivePermissions, getRestrictedPrincipals, getSession, getSyncObject, getTenant, getTransientObject, getTransientObjectMap, hashCode, hasRegisteredClassAccessorFor, internal_registerClassAccessorFor, internal_registerNonClassAccessorFor, invalidateLocalCaches, isAlive, isCacheBound, isCurrentlyRemoving, isCurrentlyRemoving, isEmptyRelationValue, isInCreate, isInstanceOf, isItemCheckBeforeRemoveableDisabled, isMarkModifiedDisabled, isRelationLocalizationFallbackEnabled, newInstance, notifyExtensionsAfterItemCreation, notifyExtensionsBeforeItemCreation, notifyItemRemoval, notifyManagerAboutItemRemoval, readResolve, registerAccessFor, registerAccessFor, registerJaloInvalidationListeners, remove, remove, removeItemCollection, removeItemCollection, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinks, removePartOfItems, removePartOfItems, setAllAttributes, setAllAttributes, setAllAttributesInternal, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAttribute, setAttribute, setAttributeFromString, setAttributeFromString, setCacheBound, setComposedType, setCreationTime, setImplementation, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setModificationTime, setNonInitialAttributes, setOwner, setPermissionsByMap, setTransientObject, setUseTA, toString, useTA, writeReplacesetTenantpublic static final java.lang.String RETURNCODE
ProcessTaskLog.returnCode attributepublic static final java.lang.String STARTDATE
ProcessTaskLog.startDate attributepublic static final java.lang.String ENDDATE
ProcessTaskLog.endDate attributepublic static final java.lang.String ACTIONID
ProcessTaskLog.actionId attributepublic static final java.lang.String CLUSTERID
ProcessTaskLog.clusterId attributepublic static final java.lang.String LOGMESSAGES
ProcessTaskLog.logMessages attributepublic static final java.lang.String PROCESS
ProcessTaskLog.process attributeprotected static final BidirectionalOneToManyHandler<GeneratedProcessTaskLog> PROCESSHANDLER
BidirectionalOneToManyHandler for handling 1:n PROCESS's relation attributes from 'one' side.protected static final java.util.Map<java.lang.String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
protected java.util.Map<java.lang.String,Item.AttributeMode> getDefaultAttributeModes()
getDefaultAttributeModes in class Itempublic java.lang.String getActionId(SessionContext ctx)
ProcessTaskLog.actionId attribute.public java.lang.String getActionId()
ProcessTaskLog.actionId attribute.public void setActionId(SessionContext ctx, java.lang.String value)
ProcessTaskLog.actionId attribute.value - the actionId - ID of the action performedpublic void setActionId(java.lang.String value)
ProcessTaskLog.actionId attribute.value - the actionId - ID of the action performedpublic java.lang.Integer getClusterId(SessionContext ctx)
ProcessTaskLog.clusterId attribute.public java.lang.Integer getClusterId()
ProcessTaskLog.clusterId attribute.public int getClusterIdAsPrimitive(SessionContext ctx)
ProcessTaskLog.clusterId attribute.public int getClusterIdAsPrimitive()
ProcessTaskLog.clusterId attribute.public void setClusterId(SessionContext ctx, java.lang.Integer value)
ProcessTaskLog.clusterId attribute.value - the clusterId - ID of the cluster where action performedpublic void setClusterId(java.lang.Integer value)
ProcessTaskLog.clusterId attribute.value - the clusterId - ID of the cluster where action performedpublic void setClusterId(SessionContext ctx, int value)
ProcessTaskLog.clusterId attribute.value - the clusterId - ID of the cluster where action performedpublic void setClusterId(int value)
ProcessTaskLog.clusterId attribute.value - the clusterId - ID of the cluster where action performedprotected Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException
ItemComposedType.newInstance(Map).
In case this method uses any of the attribute values during creation it is required to override
Item.getNonInitialAttributes(SessionContext, ItemAttributeMap) too.
Sn example:
public static final String MY_ATTRIBUTE = "someAttribute"; ... protected Item createItem(SessionContext
ctx, ComposedType type, Map allAttributes ) throws JaloBusinessException { MyManager man = ... return
man.createMyItem( (String)allAttributes.get(MY_ATTRIBUTE) );
// here MY_ATTRIBUTE is used for creation, so it must not be set again } protected Map getNonInitialAttributes(
SessionContext ctx, Map allAttributes ) { // let superclass remove its own initial attributes Map ret =
super.getNonInitialAttributes( ctx, allAttributes );
// remove MY_ATTRIBUTE from all attributes since if has already been set ret.remove(MY_ATTRIBUTE); return ret; }
createItem in class GenericItemctx - the current session context which this item is created withintype - the actual item type ( since subtypes may not provide a own jalo class this may be different from the
type which this method was implemented for )JaloBusinessException - indicates an error during creation - any changes will be rollbackedpublic java.util.Date getEndDate(SessionContext ctx)
ProcessTaskLog.endDate attribute.public java.util.Date getEndDate()
ProcessTaskLog.endDate attribute.public void setEndDate(SessionContext ctx, java.util.Date value)
ProcessTaskLog.endDate attribute.value - the endDate - Date when task was endedpublic void setEndDate(java.util.Date value)
ProcessTaskLog.endDate attribute.value - the endDate - Date when task was endedpublic java.lang.String getLogMessages(SessionContext ctx)
ProcessTaskLog.logMessages attribute.public java.lang.String getLogMessages()
ProcessTaskLog.logMessages attribute.public void setLogMessages(SessionContext ctx, java.lang.String value)
ProcessTaskLog.logMessages attribute.value - the logMessages - Messages given during the process.public void setLogMessages(java.lang.String value)
ProcessTaskLog.logMessages attribute.value - the logMessages - Messages given during the process.public BusinessProcess getProcess(SessionContext ctx)
ProcessTaskLog.process attribute.public BusinessProcess getProcess()
ProcessTaskLog.process attribute.public void setProcess(SessionContext ctx, BusinessProcess value)
ProcessTaskLog.process attribute.value - the processpublic void setProcess(BusinessProcess value)
ProcessTaskLog.process attribute.value - the processpublic java.lang.String getReturnCode(SessionContext ctx)
ProcessTaskLog.returnCode attribute.public java.lang.String getReturnCode()
ProcessTaskLog.returnCode attribute.public void setReturnCode(SessionContext ctx, java.lang.String value)
ProcessTaskLog.returnCode attribute.value - the returnCode - Return code of the task.public void setReturnCode(java.lang.String value)
ProcessTaskLog.returnCode attribute.value - the returnCode - Return code of the task.public java.util.Date getStartDate(SessionContext ctx)
ProcessTaskLog.startDate attribute.public java.util.Date getStartDate()
ProcessTaskLog.startDate attribute.public void setStartDate(SessionContext ctx, java.util.Date value)
ProcessTaskLog.startDate attribute.value - the startDate - Date when task was startedpublic void setStartDate(java.util.Date value)
ProcessTaskLog.startDate attribute.value - the startDate - Date when task was startedCopyright © 2018 SAP SE. All Rights Reserved.