Class GeneratedConsignment
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.ordersplitting.jalo.GeneratedConsignment
- All Implemented Interfaces:
Serializable,Comparable
- Direct Known Subclasses:
Consignment
Generated class for type
Consignment.- 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 theConsignment.carrierattributestatic final StringQualifier of theConsignment.codeattributestatic final StringQualifier of theConsignment.consignmentEntriesattributeprotected static final OneToManyHandler<ConsignmentEntry>OneToManyHandlerfor handling 1:n CONSIGNMENTENTRIES's relation attributes from 'many' side.static final StringQualifier of theConsignment.consignmentProcessesattributeprotected static final OneToManyHandler<ConsignmentProcess>OneToManyHandlerfor handling 1:n CONSIGNMENTPROCESSES's relation attributes from 'many' side.protected static final Map<String,Item.AttributeMode> static final StringQualifier of theConsignment.deliveryModeattributestatic final StringQualifier of theConsignment.namedDeliveryDateattributestatic final StringQualifier of theConsignment.orderattributeprotected static final BidirectionalOneToManyHandler<GeneratedConsignment>BidirectionalOneToManyHandlerfor handling 1:n ORDER's relation attributes from 'one' side.static final StringQualifier of theConsignment.shippingAddressattributestatic final StringQualifier of theConsignment.shippingDateattributestatic final StringQualifier of theConsignment.statusattributestatic final StringQualifier of theConsignment.trackingIDattributestatic final StringQualifier of theConsignment.warehouseattributeprotected static final BidirectionalOneToManyHandler<GeneratedConsignment>BidirectionalOneToManyHandlerfor handling 1:n WAREHOUSE'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 TypeMethodDescriptionvoidaddToConsignmentEntries(SessionContext ctx, ConsignmentEntry value) Generated method - Addsvalueto consignmentEntries.voidGenerated method - Addsvalueto consignmentEntries.voidGenerated method - Addsvalueto consignmentProcesses.voidGenerated method - Addsvalueto consignmentProcesses.protected ItemcreateItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) Has to be implemented for each concrete subtype of item.Generated method - Getter of theConsignment.carrierattribute.getCarrier(SessionContext ctx) Generated method - Getter of theConsignment.carrierattribute.getCode()Generated method - Getter of theConsignment.codeattribute.getCode(SessionContext ctx) Generated method - Getter of theConsignment.codeattribute.Generated method - Getter of theConsignment.consignmentEntriesattribute.Generated method - Getter of theConsignment.consignmentEntriesattribute.Generated method - Getter of theConsignment.consignmentProcessesattribute.Generated method - Getter of theConsignment.consignmentProcessesattribute.protected Map<String,Item.AttributeMode> Generated method - Getter of theConsignment.deliveryModeattribute.Generated method - Getter of theConsignment.deliveryModeattribute.Generated method - Getter of theConsignment.namedDeliveryDateattribute.Generated method - Getter of theConsignment.namedDeliveryDateattribute.getOrder()Generated method - Getter of theConsignment.orderattribute.getOrder(SessionContext ctx) Generated method - Getter of theConsignment.orderattribute.Generated method - Getter of theConsignment.shippingAddressattribute.Generated method - Getter of theConsignment.shippingAddressattribute.Generated method - Getter of theConsignment.shippingDateattribute.Generated method - Getter of theConsignment.shippingDateattribute.Generated method - Getter of theConsignment.statusattribute.getStatus(SessionContext ctx) Generated method - Getter of theConsignment.statusattribute.Generated method - Getter of theConsignment.trackingIDattribute.Generated method - Getter of theConsignment.trackingIDattribute.Generated method - Getter of theConsignment.warehouseattribute.Generated method - Getter of theConsignment.warehouseattribute.voidGenerated method - Removesvaluefrom consignmentEntries.voidGenerated method - Removesvaluefrom consignmentEntries.voidGenerated method - Removesvaluefrom consignmentProcesses.voidGenerated method - Removesvaluefrom consignmentProcesses.voidsetCarrier(SessionContext ctx, String value) Generated method - Setter of theConsignment.carrierattribute.voidsetCarrier(String value) Generated method - Setter of theConsignment.carrierattribute.protected voidsetCode(SessionContext ctx, String value) Generated method - Setter of theConsignment.codeattribute.protected voidGenerated method - Setter of theConsignment.codeattribute.voidsetConsignmentEntries(SessionContext ctx, Set<ConsignmentEntry> value) Generated method - Setter of theConsignment.consignmentEntriesattribute.voidsetConsignmentEntries(Set<ConsignmentEntry> value) Generated method - Setter of theConsignment.consignmentEntriesattribute.voidGenerated method - Setter of theConsignment.consignmentProcessesattribute.voidGenerated method - Setter of theConsignment.consignmentProcessesattribute.protected voidsetDeliveryMode(DeliveryMode value) Generated method - Setter of theConsignment.deliveryModeattribute.protected voidsetDeliveryMode(SessionContext ctx, DeliveryMode value) Generated method - Setter of theConsignment.deliveryModeattribute.protected voidsetNamedDeliveryDate(SessionContext ctx, Date value) Generated method - Setter of theConsignment.namedDeliveryDateattribute.protected voidsetNamedDeliveryDate(Date value) Generated method - Setter of theConsignment.namedDeliveryDateattribute.protected voidsetOrder(AbstractOrder value) Generated method - Setter of theConsignment.orderattribute.protected voidsetOrder(SessionContext ctx, AbstractOrder value) Generated method - Setter of theConsignment.orderattribute.protected voidsetShippingAddress(SessionContext ctx, Address value) Generated method - Setter of theConsignment.shippingAddressattribute.protected voidsetShippingAddress(Address value) Generated method - Setter of theConsignment.shippingAddressattribute.voidsetShippingDate(SessionContext ctx, Date value) Generated method - Setter of theConsignment.shippingDateattribute.voidsetShippingDate(Date value) Generated method - Setter of theConsignment.shippingDateattribute.voidsetStatus(EnumerationValue value) Generated method - Setter of theConsignment.statusattribute.voidsetStatus(SessionContext ctx, EnumerationValue value) Generated method - Setter of theConsignment.statusattribute.voidsetTrackingID(SessionContext ctx, String value) Generated method - Setter of theConsignment.trackingIDattribute.voidsetTrackingID(String value) Generated method - Setter of theConsignment.trackingIDattribute.protected voidsetWarehouse(SessionContext ctx, Warehouse value) Generated method - Setter of theConsignment.warehouseattribute.protected voidsetWarehouse(Warehouse value) Generated method - Setter of theConsignment.warehouseattribute.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
-
CODE
Qualifier of theConsignment.codeattribute- See Also:
-
SHIPPINGADDRESS
Qualifier of theConsignment.shippingAddressattribute- See Also:
-
DELIVERYMODE
Qualifier of theConsignment.deliveryModeattribute- See Also:
-
NAMEDDELIVERYDATE
Qualifier of theConsignment.namedDeliveryDateattribute- See Also:
-
SHIPPINGDATE
Qualifier of theConsignment.shippingDateattribute- See Also:
-
TRACKINGID
Qualifier of theConsignment.trackingIDattribute- See Also:
-
CARRIER
Qualifier of theConsignment.carrierattribute- See Also:
-
STATUS
Qualifier of theConsignment.statusattribute- See Also:
-
WAREHOUSE
Qualifier of theConsignment.warehouseattribute- See Also:
-
CONSIGNMENTENTRIES
Qualifier of theConsignment.consignmentEntriesattribute- See Also:
-
ORDER
Qualifier of theConsignment.orderattribute- See Also:
-
CONSIGNMENTPROCESSES
Qualifier of theConsignment.consignmentProcessesattribute- See Also:
-
WAREHOUSEHANDLER
BidirectionalOneToManyHandlerfor handling 1:n WAREHOUSE's relation attributes from 'one' side. -
CONSIGNMENTENTRIESHANDLER
OneToManyHandlerfor handling 1:n CONSIGNMENTENTRIES's relation attributes from 'many' side. -
ORDERHANDLER
BidirectionalOneToManyHandlerfor handling 1:n ORDER's relation attributes from 'one' side. -
CONSIGNMENTPROCESSESHANDLER
OneToManyHandlerfor handling 1:n CONSIGNMENTPROCESSES's relation attributes from 'many' side. -
DEFAULT_INITIAL_ATTRIBUTES
-
-
Constructor Details
-
GeneratedConsignment
public GeneratedConsignment()
-
-
Method Details
-
getDefaultAttributeModes
- Overrides:
getDefaultAttributeModesin classItem
-
getCarrier
Generated method - Getter of theConsignment.carrierattribute.- Returns:
- the carrier
-
getCarrier
Generated method - Getter of theConsignment.carrierattribute.- Returns:
- the carrier
-
setCarrier
Generated method - Setter of theConsignment.carrierattribute.- Parameters:
value- the carrier
-
setCarrier
Generated method - Setter of theConsignment.carrierattribute.- Parameters:
value- the carrier
-
getCode
Generated method - Getter of theConsignment.codeattribute.- Returns:
- the code
-
getCode
Generated method - Getter of theConsignment.codeattribute.- Returns:
- the code
-
setCode
Generated method - Setter of theConsignment.codeattribute.- Parameters:
value- the code
-
setCode
Generated method - Setter of theConsignment.codeattribute.- Parameters:
value- the code
-
getConsignmentEntries
Generated method - Getter of theConsignment.consignmentEntriesattribute.- Returns:
- the consignmentEntries
-
getConsignmentEntries
Generated method - Getter of theConsignment.consignmentEntriesattribute.- Returns:
- the consignmentEntries
-
setConsignmentEntries
Generated method - Setter of theConsignment.consignmentEntriesattribute.- Parameters:
value- the consignmentEntries
-
setConsignmentEntries
Generated method - Setter of theConsignment.consignmentEntriesattribute.- Parameters:
value- the consignmentEntries
-
addToConsignmentEntries
Generated method - Addsvalueto consignmentEntries.- Parameters:
value- the item to add to consignmentEntries
-
addToConsignmentEntries
Generated method - Addsvalueto consignmentEntries.- Parameters:
value- the item to add to consignmentEntries
-
removeFromConsignmentEntries
Generated method - Removesvaluefrom consignmentEntries.- Parameters:
value- the item to remove from consignmentEntries
-
removeFromConsignmentEntries
Generated method - Removesvaluefrom consignmentEntries.- Parameters:
value- the item to remove from consignmentEntries
-
getConsignmentProcesses
Generated method - Getter of theConsignment.consignmentProcessesattribute.- Returns:
- the consignmentProcesses
-
getConsignmentProcesses
Generated method - Getter of theConsignment.consignmentProcessesattribute.- Returns:
- the consignmentProcesses
-
setConsignmentProcesses
Generated method - Setter of theConsignment.consignmentProcessesattribute.- Parameters:
value- the consignmentProcesses
-
setConsignmentProcesses
Generated method - Setter of theConsignment.consignmentProcessesattribute.- Parameters:
value- the consignmentProcesses
-
addToConsignmentProcesses
Generated method - Addsvalueto consignmentProcesses.- Parameters:
value- the item to add to consignmentProcesses
-
addToConsignmentProcesses
Generated method - Addsvalueto consignmentProcesses.- Parameters:
value- the item to add to consignmentProcesses
-
removeFromConsignmentProcesses
Generated method - Removesvaluefrom consignmentProcesses.- Parameters:
value- the item to remove from consignmentProcesses
-
removeFromConsignmentProcesses
Generated method - Removesvaluefrom consignmentProcesses.- Parameters:
value- the item to remove from consignmentProcesses
-
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
-
getDeliveryMode
Generated method - Getter of theConsignment.deliveryModeattribute.- Returns:
- the deliveryMode
-
getDeliveryMode
Generated method - Getter of theConsignment.deliveryModeattribute.- Returns:
- the deliveryMode
-
setDeliveryMode
Generated method - Setter of theConsignment.deliveryModeattribute.- Parameters:
value- the deliveryMode
-
setDeliveryMode
Generated method - Setter of theConsignment.deliveryModeattribute.- Parameters:
value- the deliveryMode
-
getNamedDeliveryDate
Generated method - Getter of theConsignment.namedDeliveryDateattribute.- Returns:
- the namedDeliveryDate
-
getNamedDeliveryDate
Generated method - Getter of theConsignment.namedDeliveryDateattribute.- Returns:
- the namedDeliveryDate
-
setNamedDeliveryDate
Generated method - Setter of theConsignment.namedDeliveryDateattribute.- Parameters:
value- the namedDeliveryDate
-
setNamedDeliveryDate
Generated method - Setter of theConsignment.namedDeliveryDateattribute.- Parameters:
value- the namedDeliveryDate
-
getOrder
Generated method - Getter of theConsignment.orderattribute.- Returns:
- the order
-
getOrder
Generated method - Getter of theConsignment.orderattribute.- Returns:
- the order
-
setOrder
Generated method - Setter of theConsignment.orderattribute.- Parameters:
value- the order
-
setOrder
Generated method - Setter of theConsignment.orderattribute.- Parameters:
value- the order
-
getShippingAddress
Generated method - Getter of theConsignment.shippingAddressattribute.- Returns:
- the shippingAddress
-
getShippingAddress
Generated method - Getter of theConsignment.shippingAddressattribute.- Returns:
- the shippingAddress
-
setShippingAddress
Generated method - Setter of theConsignment.shippingAddressattribute.- Parameters:
value- the shippingAddress
-
setShippingAddress
Generated method - Setter of theConsignment.shippingAddressattribute.- Parameters:
value- the shippingAddress
-
getShippingDate
Generated method - Getter of theConsignment.shippingDateattribute.- Returns:
- the shippingDate
-
getShippingDate
Generated method - Getter of theConsignment.shippingDateattribute.- Returns:
- the shippingDate
-
setShippingDate
Generated method - Setter of theConsignment.shippingDateattribute.- Parameters:
value- the shippingDate
-
setShippingDate
Generated method - Setter of theConsignment.shippingDateattribute.- Parameters:
value- the shippingDate
-
getStatus
Generated method - Getter of theConsignment.statusattribute.- Returns:
- the status
-
getStatus
Generated method - Getter of theConsignment.statusattribute.- Returns:
- the status
-
setStatus
Generated method - Setter of theConsignment.statusattribute.- Parameters:
value- the status
-
setStatus
Generated method - Setter of theConsignment.statusattribute.- Parameters:
value- the status
-
getTrackingID
Generated method - Getter of theConsignment.trackingIDattribute.- Returns:
- the trackingID
-
getTrackingID
Generated method - Getter of theConsignment.trackingIDattribute.- Returns:
- the trackingID
-
setTrackingID
Generated method - Setter of theConsignment.trackingIDattribute.- Parameters:
value- the trackingID
-
setTrackingID
Generated method - Setter of theConsignment.trackingIDattribute.- Parameters:
value- the trackingID
-
getWarehouse
Generated method - Getter of theConsignment.warehouseattribute.- Returns:
- the warehouse
-
getWarehouse
Generated method - Getter of theConsignment.warehouseattribute.- Returns:
- the warehouse
-
setWarehouse
Generated method - Setter of theConsignment.warehouseattribute.- Parameters:
value- the warehouse
-
setWarehouse
Generated method - Setter of theConsignment.warehouseattribute.- Parameters:
value- the warehouse
-