Package de.hybris.platform.patches.jalo
Class GeneratedPatchExecutionUnit
java.lang.Object
de.hybris.platform.util.BridgeAbstraction
de.hybris.platform.jalo.Item
de.hybris.platform.jalo.ExtensibleItem
de.hybris.platform.jalo.c2l.LocalizableItem
de.hybris.platform.jalo.GenericItem
de.hybris.platform.patches.jalo.GeneratedPatchExecutionUnit
- All Implemented Interfaces:
Serializable,Comparable
- Direct Known Subclasses:
PatchExecutionUnit
Generated class for type
PatchExecutionUnit.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.jalo.GenericItem
GenericItem.GenericItemImplNested classes/interfaces inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LocalizableItem.LocalizableItemImplNested classes/interfaces inherited from class de.hybris.platform.jalo.ExtensibleItem
ExtensibleItem.ExtensibleItemImplNested classes/interfaces inherited from class de.hybris.platform.jalo.Item
Item.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringQualifier of thePatchExecutionUnit.contentHashattributestatic final StringQualifier of thePatchExecutionUnit.cronjobattributeprotected static final Map<String,Item.AttributeMode> static final StringQualifier of thePatchExecutionUnit.errorLogattributestatic final StringQualifier of thePatchExecutionUnit.executionStatusattributestatic final StringQualifier of thePatchExecutionUnit.executionTimeattributestatic final StringQualifier of thePatchExecutionUnit.executionTypeattributestatic final StringQualifier of thePatchExecutionUnit.idHashattributestatic final StringQualifier of thePatchExecutionUnit.nameattributestatic final StringQualifier of thePatchExecutionUnit.orderNumberattributestatic final StringQualifier of thePatchExecutionUnit.organisationattributestatic final StringQualifier of thePatchExecutionUnit.patchattributeprotected static final BidirectionalOneToManyHandler<GeneratedPatchExecutionUnit>BidirectionalOneToManyHandlerfor handling 1:n PATCH's relation attributes from 'one' side.Fields inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LANGUAGE_FALLBACK_ENABLEDFields inherited from class de.hybris.platform.jalo.Item
_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, HJMPTS, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjects, TYPEFields inherited from class de.hybris.platform.util.BridgeAbstraction
impl, tenant -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ItemcreateItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) Has to be implemented for each concrete subtype of item.Generated method - Getter of thePatchExecutionUnit.contentHashattribute.Generated method - Getter of thePatchExecutionUnit.contentHashattribute.Generated method - Getter of thePatchExecutionUnit.cronjobattribute.getCronjob(SessionContext ctx) Generated method - Getter of thePatchExecutionUnit.cronjobattribute.protected Map<String,Item.AttributeMode> Generated method - Getter of thePatchExecutionUnit.errorLogattribute.Generated method - Getter of thePatchExecutionUnit.errorLogattribute.Generated method - Getter of thePatchExecutionUnit.executionStatusattribute.Generated method - Getter of thePatchExecutionUnit.executionStatusattribute.Generated method - Getter of thePatchExecutionUnit.executionTimeattribute.Generated method - Getter of thePatchExecutionUnit.executionTimeattribute.Generated method - Getter of thePatchExecutionUnit.executionTypeattribute.Generated method - Getter of thePatchExecutionUnit.executionTypeattribute.Generated method - Getter of thePatchExecutionUnit.idHashattribute.getIdHash(SessionContext ctx) Generated method - Getter of thePatchExecutionUnit.idHashattribute.getName()Generated method - Getter of thePatchExecutionUnit.nameattribute.getName(SessionContext ctx) Generated method - Getter of thePatchExecutionUnit.nameattribute.Generated method - Getter of thePatchExecutionUnit.orderNumberattribute.Generated method - Getter of thePatchExecutionUnit.orderNumberattribute.intGenerated method - Getter of thePatchExecutionUnit.orderNumberattribute.intGenerated method - Getter of thePatchExecutionUnit.orderNumberattribute.Generated method - Getter of thePatchExecutionUnit.organisationattribute.Generated method - Getter of thePatchExecutionUnit.organisationattribute.getPatch()Generated method - Getter of thePatchExecutionUnit.patchattribute.getPatch(SessionContext ctx) Generated method - Getter of thePatchExecutionUnit.patchattribute.voidsetContentHash(SessionContext ctx, String value) Generated method - Setter of thePatchExecutionUnit.contentHashattribute.voidsetContentHash(String value) Generated method - Setter of thePatchExecutionUnit.contentHashattribute.voidsetCronjob(CronJob value) Generated method - Setter of thePatchExecutionUnit.cronjobattribute.voidsetCronjob(SessionContext ctx, CronJob value) Generated method - Setter of thePatchExecutionUnit.cronjobattribute.voidsetErrorLog(SessionContext ctx, String value) Generated method - Setter of thePatchExecutionUnit.errorLogattribute.voidsetErrorLog(String value) Generated method - Setter of thePatchExecutionUnit.errorLogattribute.voidGenerated method - Setter of thePatchExecutionUnit.executionStatusattribute.voidsetExecutionStatus(SessionContext ctx, EnumerationValue value) Generated method - Setter of thePatchExecutionUnit.executionStatusattribute.voidsetExecutionTime(SessionContext ctx, Date value) Generated method - Setter of thePatchExecutionUnit.executionTimeattribute.voidsetExecutionTime(Date value) Generated method - Setter of thePatchExecutionUnit.executionTimeattribute.voidsetExecutionType(EnumerationValue value) Generated method - Setter of thePatchExecutionUnit.executionTypeattribute.voidsetExecutionType(SessionContext ctx, EnumerationValue value) Generated method - Setter of thePatchExecutionUnit.executionTypeattribute.voidsetIdHash(SessionContext ctx, String value) Generated method - Setter of thePatchExecutionUnit.idHashattribute.voidGenerated method - Setter of thePatchExecutionUnit.idHashattribute.voidsetName(SessionContext ctx, String value) Generated method - Setter of thePatchExecutionUnit.nameattribute.voidGenerated method - Setter of thePatchExecutionUnit.nameattribute.voidsetOrderNumber(int value) Generated method - Setter of thePatchExecutionUnit.orderNumberattribute.voidsetOrderNumber(SessionContext ctx, int value) Generated method - Setter of thePatchExecutionUnit.orderNumberattribute.voidsetOrderNumber(SessionContext ctx, Integer value) Generated method - Setter of thePatchExecutionUnit.orderNumberattribute.voidsetOrderNumber(Integer value) Generated method - Setter of thePatchExecutionUnit.orderNumberattribute.voidsetOrganisation(SessionContext ctx, String value) Generated method - Setter of thePatchExecutionUnit.organisationattribute.voidsetOrganisation(String value) Generated method - Setter of thePatchExecutionUnit.organisationattribute.voidsetPatch(SessionContext ctx, PatchExecution value) Generated method - Setter of thePatchExecutionUnit.patchattribute.voidsetPatch(PatchExecution value) Generated method - Setter of thePatchExecutionUnit.patchattribute.Methods inherited from class de.hybris.platform.jalo.GenericItem
getImplementation, getInitialProperties, getNonInitialAttributes, getRelatedItems, getRelatedItems, setRelatedItemsMethods inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedPropertyMethods inherited from class de.hybris.platform.jalo.ExtensibleItem
createNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setPropertyMethods inherited from class de.hybris.platform.jalo.Item
addLinkedItems, 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, getPartOfRemovedSessionMarker, 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, suppressRelation, toString, useTA, writeReplaceMethods inherited from class de.hybris.platform.util.BridgeAbstraction
setTenant
-
Field Details
-
IDHASH
Qualifier of thePatchExecutionUnit.idHashattribute- See Also:
-
NAME
Qualifier of thePatchExecutionUnit.nameattribute- See Also:
-
ORDERNUMBER
Qualifier of thePatchExecutionUnit.orderNumberattribute- See Also:
-
ORGANISATION
Qualifier of thePatchExecutionUnit.organisationattribute- See Also:
-
EXECUTIONSTATUS
Qualifier of thePatchExecutionUnit.executionStatusattribute- See Also:
-
EXECUTIONTYPE
Qualifier of thePatchExecutionUnit.executionTypeattribute- See Also:
-
EXECUTIONTIME
Qualifier of thePatchExecutionUnit.executionTimeattribute- See Also:
-
CONTENTHASH
Qualifier of thePatchExecutionUnit.contentHashattribute- See Also:
-
ERRORLOG
Qualifier of thePatchExecutionUnit.errorLogattribute- See Also:
-
CRONJOB
Qualifier of thePatchExecutionUnit.cronjobattribute- See Also:
-
PATCH
Qualifier of thePatchExecutionUnit.patchattribute- See Also:
-
PATCHHANDLER
BidirectionalOneToManyHandlerfor handling 1:n PATCH's relation attributes from 'one' side. -
DEFAULT_INITIAL_ATTRIBUTES
-
-
Constructor Details
-
GeneratedPatchExecutionUnit
public GeneratedPatchExecutionUnit()
-
-
Method Details
-
getDefaultAttributeModes
- Overrides:
getDefaultAttributeModesin classItem
-
getContentHash
Generated method - Getter of thePatchExecutionUnit.contentHashattribute.- Returns:
- the contentHash - The impex content hash.
-
getContentHash
Generated method - Getter of thePatchExecutionUnit.contentHashattribute.- Returns:
- the contentHash - The impex content hash.
-
setContentHash
Generated method - Setter of thePatchExecutionUnit.contentHashattribute.- Parameters:
value- the contentHash - The impex content hash.
-
setContentHash
Generated method - Setter of thePatchExecutionUnit.contentHashattribute.- Parameters:
value- the contentHash - The impex content hash.
-
createItem
protected Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException Description copied from class:ItemHas to be implemented for each concrete subtype of item. This method is responsible for creating a new item instance ( by calling managers, ejb homes, etc. ) duringComposedType.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; }- Overrides:
createItemin classGenericItem- Parameters:
ctx- 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 )- Returns:
- the new item instance
- Throws:
JaloBusinessException- indicates an error during creation - any changes will be rollbacked
-
getCronjob
Generated method - Getter of thePatchExecutionUnit.cronjobattribute.- Returns:
- the cronjob
-
getCronjob
Generated method - Getter of thePatchExecutionUnit.cronjobattribute.- Returns:
- the cronjob
-
setCronjob
Generated method - Setter of thePatchExecutionUnit.cronjobattribute.- Parameters:
value- the cronjob
-
setCronjob
Generated method - Setter of thePatchExecutionUnit.cronjobattribute.- Parameters:
value- the cronjob
-
getErrorLog
Generated method - Getter of thePatchExecutionUnit.errorLogattribute.- Returns:
- the errorLog - Details about errors during the execution of specific patch execution unit element.
-
getErrorLog
Generated method - Getter of thePatchExecutionUnit.errorLogattribute.- Returns:
- the errorLog - Details about errors during the execution of specific patch execution unit element.
-
setErrorLog
Generated method - Setter of thePatchExecutionUnit.errorLogattribute.- Parameters:
value- the errorLog - Details about errors during the execution of specific patch execution unit element.
-
setErrorLog
Generated method - Setter of thePatchExecutionUnit.errorLogattribute.- Parameters:
value- the errorLog - Details about errors during the execution of specific patch execution unit element.
-
getExecutionStatus
Generated method - Getter of thePatchExecutionUnit.executionStatusattribute.- Returns:
- the executionStatus
-
getExecutionStatus
Generated method - Getter of thePatchExecutionUnit.executionStatusattribute.- Returns:
- the executionStatus
-
setExecutionStatus
Generated method - Setter of thePatchExecutionUnit.executionStatusattribute.- Parameters:
value- the executionStatus
-
setExecutionStatus
Generated method - Setter of thePatchExecutionUnit.executionStatusattribute.- Parameters:
value- the executionStatus
-
getExecutionTime
Generated method - Getter of thePatchExecutionUnit.executionTimeattribute.- Returns:
- the executionTime - The time when the patch item was applied.
-
getExecutionTime
Generated method - Getter of thePatchExecutionUnit.executionTimeattribute.- Returns:
- the executionTime - The time when the patch item was applied.
-
setExecutionTime
Generated method - Setter of thePatchExecutionUnit.executionTimeattribute.- Parameters:
value- the executionTime - The time when the patch item was applied.
-
setExecutionTime
Generated method - Setter of thePatchExecutionUnit.executionTimeattribute.- Parameters:
value- the executionTime - The time when the patch item was applied.
-
getExecutionType
Generated method - Getter of thePatchExecutionUnit.executionTypeattribute.- Returns:
- the executionType
-
getExecutionType
Generated method - Getter of thePatchExecutionUnit.executionTypeattribute.- Returns:
- the executionType
-
setExecutionType
Generated method - Setter of thePatchExecutionUnit.executionTypeattribute.- Parameters:
value- the executionType
-
setExecutionType
Generated method - Setter of thePatchExecutionUnit.executionTypeattribute.- Parameters:
value- the executionType
-
getIdHash
Generated method - Getter of thePatchExecutionUnit.idHashattribute.- Returns:
- the idHash - The execution unit id hash
-
getIdHash
Generated method - Getter of thePatchExecutionUnit.idHashattribute.- Returns:
- the idHash - The execution unit id hash
-
setIdHash
Generated method - Setter of thePatchExecutionUnit.idHashattribute.- Parameters:
value- the idHash - The execution unit id hash
-
setIdHash
Generated method - Setter of thePatchExecutionUnit.idHashattribute.- Parameters:
value- the idHash - The execution unit id hash
-
getName
Generated method - Getter of thePatchExecutionUnit.nameattribute.- Returns:
- the name
-
getName
Generated method - Getter of thePatchExecutionUnit.nameattribute.- Returns:
- the name
-
setName
Generated method - Setter of thePatchExecutionUnit.nameattribute.- Parameters:
value- the name
-
setName
Generated method - Setter of thePatchExecutionUnit.nameattribute.- Parameters:
value- the name
-
getOrderNumber
Generated method - Getter of thePatchExecutionUnit.orderNumberattribute.- Returns:
- the orderNumber
-
getOrderNumber
Generated method - Getter of thePatchExecutionUnit.orderNumberattribute.- Returns:
- the orderNumber
-
getOrderNumberAsPrimitive
Generated method - Getter of thePatchExecutionUnit.orderNumberattribute.- Returns:
- the orderNumber
-
getOrderNumberAsPrimitive
public int getOrderNumberAsPrimitive()Generated method - Getter of thePatchExecutionUnit.orderNumberattribute.- Returns:
- the orderNumber
-
setOrderNumber
Generated method - Setter of thePatchExecutionUnit.orderNumberattribute.- Parameters:
value- the orderNumber
-
setOrderNumber
Generated method - Setter of thePatchExecutionUnit.orderNumberattribute.- Parameters:
value- the orderNumber
-
setOrderNumber
Generated method - Setter of thePatchExecutionUnit.orderNumberattribute.- Parameters:
value- the orderNumber
-
setOrderNumber
public void setOrderNumber(int value) Generated method - Setter of thePatchExecutionUnit.orderNumberattribute.- Parameters:
value- the orderNumber
-
getOrganisation
Generated method - Getter of thePatchExecutionUnit.organisationattribute.- Returns:
- the organisation
-
getOrganisation
Generated method - Getter of thePatchExecutionUnit.organisationattribute.- Returns:
- the organisation
-
setOrganisation
Generated method - Setter of thePatchExecutionUnit.organisationattribute.- Parameters:
value- the organisation
-
setOrganisation
Generated method - Setter of thePatchExecutionUnit.organisationattribute.- Parameters:
value- the organisation
-
getPatch
Generated method - Getter of thePatchExecutionUnit.patchattribute.- Returns:
- the patch
-
getPatch
Generated method - Getter of thePatchExecutionUnit.patchattribute.- Returns:
- the patch
-
setPatch
Generated method - Setter of thePatchExecutionUnit.patchattribute.- Parameters:
value- the patch
-
setPatch
Generated method - Setter of thePatchExecutionUnit.patchattribute.- Parameters:
value- the patch
-