public abstract class GeneratedPatchExecutionUnit extends GenericItem
PatchExecutionUnit.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 |
CONTENTHASH
Qualifier of the
PatchExecutionUnit.contentHash attribute |
static java.lang.String |
CRONJOB
Qualifier of the
PatchExecutionUnit.cronjob attribute |
protected static java.util.Map<java.lang.String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static java.lang.String |
ERRORLOG
Qualifier of the
PatchExecutionUnit.errorLog attribute |
static java.lang.String |
EXECUTIONSTATUS
Qualifier of the
PatchExecutionUnit.executionStatus attribute |
static java.lang.String |
EXECUTIONTIME
Qualifier of the
PatchExecutionUnit.executionTime attribute |
static java.lang.String |
EXECUTIONTYPE
Qualifier of the
PatchExecutionUnit.executionType attribute |
static java.lang.String |
IDHASH
Qualifier of the
PatchExecutionUnit.idHash attribute |
static java.lang.String |
NAME
Qualifier of the
PatchExecutionUnit.name attribute |
static java.lang.String |
ORDERNUMBER
Qualifier of the
PatchExecutionUnit.orderNumber attribute |
static java.lang.String |
ORGANISATION
Qualifier of the
PatchExecutionUnit.organisation attribute |
static java.lang.String |
PATCH
Qualifier of the
PatchExecutionUnit.patch attribute |
protected static BidirectionalOneToManyHandler<GeneratedPatchExecutionUnit> |
PATCHHANDLER
BidirectionalOneToManyHandler for handling 1:n PATCH's relation attributes from 'one' side. |
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 |
|---|
GeneratedPatchExecutionUnit() |
| 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 |
getContentHash()
Generated method - Getter of the
PatchExecutionUnit.contentHash attribute. |
java.lang.String |
getContentHash(SessionContext ctx)
Generated method - Getter of the
PatchExecutionUnit.contentHash attribute. |
CronJob |
getCronjob()
Generated method - Getter of the
PatchExecutionUnit.cronjob attribute. |
CronJob |
getCronjob(SessionContext ctx)
Generated method - Getter of the
PatchExecutionUnit.cronjob attribute. |
protected java.util.Map<java.lang.String,Item.AttributeMode> |
getDefaultAttributeModes() |
java.lang.String |
getErrorLog()
Generated method - Getter of the
PatchExecutionUnit.errorLog attribute. |
java.lang.String |
getErrorLog(SessionContext ctx)
Generated method - Getter of the
PatchExecutionUnit.errorLog attribute. |
EnumerationValue |
getExecutionStatus()
Generated method - Getter of the
PatchExecutionUnit.executionStatus attribute. |
EnumerationValue |
getExecutionStatus(SessionContext ctx)
Generated method - Getter of the
PatchExecutionUnit.executionStatus attribute. |
java.util.Date |
getExecutionTime()
Generated method - Getter of the
PatchExecutionUnit.executionTime attribute. |
java.util.Date |
getExecutionTime(SessionContext ctx)
Generated method - Getter of the
PatchExecutionUnit.executionTime attribute. |
EnumerationValue |
getExecutionType()
Generated method - Getter of the
PatchExecutionUnit.executionType attribute. |
EnumerationValue |
getExecutionType(SessionContext ctx)
Generated method - Getter of the
PatchExecutionUnit.executionType attribute. |
java.lang.String |
getIdHash()
Generated method - Getter of the
PatchExecutionUnit.idHash attribute. |
java.lang.String |
getIdHash(SessionContext ctx)
Generated method - Getter of the
PatchExecutionUnit.idHash attribute. |
java.lang.String |
getName()
Generated method - Getter of the
PatchExecutionUnit.name attribute. |
java.lang.String |
getName(SessionContext ctx)
Generated method - Getter of the
PatchExecutionUnit.name attribute. |
java.lang.Integer |
getOrderNumber()
Generated method - Getter of the
PatchExecutionUnit.orderNumber attribute. |
java.lang.Integer |
getOrderNumber(SessionContext ctx)
Generated method - Getter of the
PatchExecutionUnit.orderNumber attribute. |
int |
getOrderNumberAsPrimitive()
Generated method - Getter of the
PatchExecutionUnit.orderNumber attribute. |
int |
getOrderNumberAsPrimitive(SessionContext ctx)
Generated method - Getter of the
PatchExecutionUnit.orderNumber attribute. |
java.lang.String |
getOrganisation()
Generated method - Getter of the
PatchExecutionUnit.organisation attribute. |
java.lang.String |
getOrganisation(SessionContext ctx)
Generated method - Getter of the
PatchExecutionUnit.organisation attribute. |
PatchExecution |
getPatch()
Generated method - Getter of the
PatchExecutionUnit.patch attribute. |
PatchExecution |
getPatch(SessionContext ctx)
Generated method - Getter of the
PatchExecutionUnit.patch attribute. |
void |
setContentHash(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
PatchExecutionUnit.contentHash attribute. |
void |
setContentHash(java.lang.String value)
Generated method - Setter of the
PatchExecutionUnit.contentHash attribute. |
void |
setCronjob(CronJob value)
Generated method - Setter of the
PatchExecutionUnit.cronjob attribute. |
void |
setCronjob(SessionContext ctx,
CronJob value)
Generated method - Setter of the
PatchExecutionUnit.cronjob attribute. |
void |
setErrorLog(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
PatchExecutionUnit.errorLog attribute. |
void |
setErrorLog(java.lang.String value)
Generated method - Setter of the
PatchExecutionUnit.errorLog attribute. |
void |
setExecutionStatus(EnumerationValue value)
Generated method - Setter of the
PatchExecutionUnit.executionStatus attribute. |
void |
setExecutionStatus(SessionContext ctx,
EnumerationValue value)
Generated method - Setter of the
PatchExecutionUnit.executionStatus attribute. |
void |
setExecutionTime(java.util.Date value)
Generated method - Setter of the
PatchExecutionUnit.executionTime attribute. |
void |
setExecutionTime(SessionContext ctx,
java.util.Date value)
Generated method - Setter of the
PatchExecutionUnit.executionTime attribute. |
void |
setExecutionType(EnumerationValue value)
Generated method - Setter of the
PatchExecutionUnit.executionType attribute. |
void |
setExecutionType(SessionContext ctx,
EnumerationValue value)
Generated method - Setter of the
PatchExecutionUnit.executionType attribute. |
void |
setIdHash(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
PatchExecutionUnit.idHash attribute. |
void |
setIdHash(java.lang.String value)
Generated method - Setter of the
PatchExecutionUnit.idHash attribute. |
void |
setName(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
PatchExecutionUnit.name attribute. |
void |
setName(java.lang.String value)
Generated method - Setter of the
PatchExecutionUnit.name attribute. |
void |
setOrderNumber(int value)
Generated method - Setter of the
PatchExecutionUnit.orderNumber attribute. |
void |
setOrderNumber(java.lang.Integer value)
Generated method - Setter of the
PatchExecutionUnit.orderNumber attribute. |
void |
setOrderNumber(SessionContext ctx,
int value)
Generated method - Setter of the
PatchExecutionUnit.orderNumber attribute. |
void |
setOrderNumber(SessionContext ctx,
java.lang.Integer value)
Generated method - Setter of the
PatchExecutionUnit.orderNumber attribute. |
void |
setOrganisation(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
PatchExecutionUnit.organisation attribute. |
void |
setOrganisation(java.lang.String value)
Generated method - Setter of the
PatchExecutionUnit.organisation attribute. |
void |
setPatch(PatchExecution value)
Generated method - Setter of the
PatchExecutionUnit.patch attribute. |
void |
setPatch(SessionContext ctx,
PatchExecution value)
Generated method - Setter of the
PatchExecutionUnit.patch attribute. |
getInitialProperties, getNonInitialAttributesgetAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedPropertycreateNonClassAccessor, getAllProperties, getAllProperties, 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, readResolve, refreshRemote, 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, writeReplacegetImplementation, setTenantpublic static final java.lang.String IDHASH
PatchExecutionUnit.idHash attributepublic static final java.lang.String NAME
PatchExecutionUnit.name attributepublic static final java.lang.String ORDERNUMBER
PatchExecutionUnit.orderNumber attributepublic static final java.lang.String ORGANISATION
PatchExecutionUnit.organisation attributepublic static final java.lang.String EXECUTIONSTATUS
PatchExecutionUnit.executionStatus attributepublic static final java.lang.String EXECUTIONTYPE
PatchExecutionUnit.executionType attributepublic static final java.lang.String EXECUTIONTIME
PatchExecutionUnit.executionTime attributepublic static final java.lang.String CONTENTHASH
PatchExecutionUnit.contentHash attributepublic static final java.lang.String ERRORLOG
PatchExecutionUnit.errorLog attributepublic static final java.lang.String CRONJOB
PatchExecutionUnit.cronjob attributepublic static final java.lang.String PATCH
PatchExecutionUnit.patch attributeprotected static final BidirectionalOneToManyHandler<GeneratedPatchExecutionUnit> PATCHHANDLER
BidirectionalOneToManyHandler for handling 1:n PATCH'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 getContentHash(SessionContext ctx)
PatchExecutionUnit.contentHash attribute.public java.lang.String getContentHash()
PatchExecutionUnit.contentHash attribute.public void setContentHash(SessionContext ctx, java.lang.String value)
PatchExecutionUnit.contentHash attribute.value - the contentHash - The impex content hash.public void setContentHash(java.lang.String value)
PatchExecutionUnit.contentHash attribute.value - the contentHash - The impex content hash.protected 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 CronJob getCronjob(SessionContext ctx)
PatchExecutionUnit.cronjob attribute.public CronJob getCronjob()
PatchExecutionUnit.cronjob attribute.public void setCronjob(SessionContext ctx, CronJob value)
PatchExecutionUnit.cronjob attribute.value - the cronjobpublic void setCronjob(CronJob value)
PatchExecutionUnit.cronjob attribute.value - the cronjobpublic java.lang.String getErrorLog(SessionContext ctx)
PatchExecutionUnit.errorLog attribute.public java.lang.String getErrorLog()
PatchExecutionUnit.errorLog attribute.public void setErrorLog(SessionContext ctx, java.lang.String value)
PatchExecutionUnit.errorLog attribute.value - the errorLog - Details about errors during the execution of specific patch execution unit element.public void setErrorLog(java.lang.String value)
PatchExecutionUnit.errorLog attribute.value - the errorLog - Details about errors during the execution of specific patch execution unit element.public EnumerationValue getExecutionStatus(SessionContext ctx)
PatchExecutionUnit.executionStatus attribute.public EnumerationValue getExecutionStatus()
PatchExecutionUnit.executionStatus attribute.public void setExecutionStatus(SessionContext ctx, EnumerationValue value)
PatchExecutionUnit.executionStatus attribute.value - the executionStatuspublic void setExecutionStatus(EnumerationValue value)
PatchExecutionUnit.executionStatus attribute.value - the executionStatuspublic java.util.Date getExecutionTime(SessionContext ctx)
PatchExecutionUnit.executionTime attribute.public java.util.Date getExecutionTime()
PatchExecutionUnit.executionTime attribute.public void setExecutionTime(SessionContext ctx, java.util.Date value)
PatchExecutionUnit.executionTime attribute.value - the executionTime - The time when the patch item was applied.public void setExecutionTime(java.util.Date value)
PatchExecutionUnit.executionTime attribute.value - the executionTime - The time when the patch item was applied.public EnumerationValue getExecutionType(SessionContext ctx)
PatchExecutionUnit.executionType attribute.public EnumerationValue getExecutionType()
PatchExecutionUnit.executionType attribute.public void setExecutionType(SessionContext ctx, EnumerationValue value)
PatchExecutionUnit.executionType attribute.value - the executionTypepublic void setExecutionType(EnumerationValue value)
PatchExecutionUnit.executionType attribute.value - the executionTypepublic java.lang.String getIdHash(SessionContext ctx)
PatchExecutionUnit.idHash attribute.public java.lang.String getIdHash()
PatchExecutionUnit.idHash attribute.public void setIdHash(SessionContext ctx, java.lang.String value)
PatchExecutionUnit.idHash attribute.value - the idHash - The execution unit id hashpublic void setIdHash(java.lang.String value)
PatchExecutionUnit.idHash attribute.value - the idHash - The execution unit id hashpublic java.lang.String getName(SessionContext ctx)
PatchExecutionUnit.name attribute.public java.lang.String getName()
PatchExecutionUnit.name attribute.public void setName(SessionContext ctx, java.lang.String value)
PatchExecutionUnit.name attribute.value - the namepublic void setName(java.lang.String value)
PatchExecutionUnit.name attribute.value - the namepublic java.lang.Integer getOrderNumber(SessionContext ctx)
PatchExecutionUnit.orderNumber attribute.public java.lang.Integer getOrderNumber()
PatchExecutionUnit.orderNumber attribute.public int getOrderNumberAsPrimitive(SessionContext ctx)
PatchExecutionUnit.orderNumber attribute.public int getOrderNumberAsPrimitive()
PatchExecutionUnit.orderNumber attribute.public void setOrderNumber(SessionContext ctx, java.lang.Integer value)
PatchExecutionUnit.orderNumber attribute.value - the orderNumberpublic void setOrderNumber(java.lang.Integer value)
PatchExecutionUnit.orderNumber attribute.value - the orderNumberpublic void setOrderNumber(SessionContext ctx, int value)
PatchExecutionUnit.orderNumber attribute.value - the orderNumberpublic void setOrderNumber(int value)
PatchExecutionUnit.orderNumber attribute.value - the orderNumberpublic java.lang.String getOrganisation(SessionContext ctx)
PatchExecutionUnit.organisation attribute.public java.lang.String getOrganisation()
PatchExecutionUnit.organisation attribute.public void setOrganisation(SessionContext ctx, java.lang.String value)
PatchExecutionUnit.organisation attribute.value - the organisationpublic void setOrganisation(java.lang.String value)
PatchExecutionUnit.organisation attribute.value - the organisationpublic PatchExecution getPatch(SessionContext ctx)
PatchExecutionUnit.patch attribute.public PatchExecution getPatch()
PatchExecutionUnit.patch attribute.public void setPatch(SessionContext ctx, PatchExecution value)
PatchExecutionUnit.patch attribute.value - the patchpublic void setPatch(PatchExecution value)
PatchExecutionUnit.patch attribute.value - the patchCopyright © 2018 SAP SE. All Rights Reserved.