Package de.hybris.platform.cockpit.jalo
Class GeneratedCockpitObjectAbstractCollection
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.cockpit.jalo.GeneratedCockpitObjectAbstractCollection
- All Implemented Interfaces:
Serializable,Comparable
- Direct Known Subclasses:
CockpitObjectAbstractCollection
Generated class for type
CockpitObjectAbstractCollection.- 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 TypeFieldDescriptionprotected static final Map<String,Item.AttributeMode> static final StringQualifier of theCockpitObjectAbstractCollection.descriptionattributestatic final StringQualifier of theCockpitObjectAbstractCollection.elementsattributeprotected static final OneToManyHandler<ObjectCollectionElement>OneToManyHandlerfor handling 1:n ELEMENTS's relation attributes from 'many' side.static final StringQualifier of theCockpitObjectAbstractCollection.labelattributestatic final StringQualifier of theCockpitObjectAbstractCollection.qualifierattributeprotected static StringRelation disable markmodifed parameter constants for ReadPrincipal2CockpitObjectAbstractCollectionRelation from ((cockpit))protected static StringRelation ordering override parameter constants for ReadPrincipal2CockpitObjectAbstractCollectionRelation from ((cockpit))protected static Stringstatic final StringQualifier of theCockpitObjectAbstractCollection.readPrincipalsattributestatic final StringQualifier of theCockpitObjectAbstractCollection.userattributeprotected static final BidirectionalOneToManyHandler<GeneratedCockpitObjectAbstractCollection>BidirectionalOneToManyHandlerfor handling 1:n USER's relation attributes from 'one' side.protected static StringRelation disable markmodifed parameter constants for WritePrincipal2CockpitObjectAbstractCollectionRelation from ((cockpit))protected static StringRelation ordering override parameter constants for WritePrincipal2CockpitObjectAbstractCollectionRelation from ((cockpit))protected static Stringstatic final StringQualifier of theCockpitObjectAbstractCollection.writePrincipalsattributeFields 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 TypeMethodDescriptionvoidGenerated method - Addsvalueto elements.voidaddToElements(SessionContext ctx, ObjectCollectionElement value) Generated method - Addsvalueto elements.voidaddToReadPrincipals(Principal value) Generated method - Addsvalueto readPrincipals.voidaddToReadPrincipals(SessionContext ctx, Principal value) Generated method - Addsvalueto readPrincipals.voidaddToWritePrincipals(Principal value) Generated method - Addsvalueto writePrincipals.voidaddToWritePrincipals(SessionContext ctx, Principal value) Generated method - Addsvalueto writePrincipals.protected ItemcreateItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) Has to be implemented for each concrete subtype of item.Generated method - Getter of theCockpitObjectAbstractCollection.descriptionattribute.Generated method - Getter of theCockpitObjectAbstractCollection.descriptionattribute.Generated method - Getter of theCockpitObjectAbstractCollection.labelattribute.Generated method - Getter of theCockpitObjectAbstractCollection.labelattribute.protected Map<String,Item.AttributeMode> Generated method - Getter of theCockpitObjectAbstractCollection.descriptionattribute.Generated method - Getter of theCockpitObjectAbstractCollection.descriptionattribute.Generated method - Getter of theCockpitObjectAbstractCollection.elementsattribute.Generated method - Getter of theCockpitObjectAbstractCollection.elementsattribute.getLabel()Generated method - Getter of theCockpitObjectAbstractCollection.labelattribute.getLabel(SessionContext ctx) Generated method - Getter of theCockpitObjectAbstractCollection.labelattribute.Generated method - Getter of theCockpitObjectAbstractCollection.qualifierattribute.Generated method - Getter of theCockpitObjectAbstractCollection.qualifierattribute.Generated method - Getter of theCockpitObjectAbstractCollection.readPrincipalsattribute.Generated method - Getter of theCockpitObjectAbstractCollection.readPrincipalsattribute.longlonggetUser()Generated method - Getter of theCockpitObjectAbstractCollection.userattribute.getUser(SessionContext ctx) Generated method - Getter of theCockpitObjectAbstractCollection.userattribute.Generated method - Getter of theCockpitObjectAbstractCollection.writePrincipalsattribute.Generated method - Getter of theCockpitObjectAbstractCollection.writePrincipalsattribute.longlongbooleanisMarkModifiedDisabled(Item referencedItem) Deprecated, for removal: This API element is subject to removal in a future version.voidGenerated method - Removesvaluefrom elements.voidremoveFromElements(SessionContext ctx, ObjectCollectionElement value) Generated method - Removesvaluefrom elements.voidGenerated method - Removesvaluefrom readPrincipals.voidremoveFromReadPrincipals(SessionContext ctx, Principal value) Generated method - Removesvaluefrom readPrincipals.voidGenerated method - Removesvaluefrom writePrincipals.voidremoveFromWritePrincipals(SessionContext ctx, Principal value) Generated method - Removesvaluefrom writePrincipals.voidsetAllDescription(SessionContext ctx, Map<Language, String> value) Generated method - Setter of theCockpitObjectAbstractCollection.descriptionattribute.voidsetAllDescription(Map<Language, String> value) Generated method - Setter of theCockpitObjectAbstractCollection.descriptionattribute.voidsetAllLabel(SessionContext ctx, Map<Language, String> value) Generated method - Setter of theCockpitObjectAbstractCollection.labelattribute.voidsetAllLabel(Map<Language, String> value) Generated method - Setter of theCockpitObjectAbstractCollection.labelattribute.voidsetDescription(SessionContext ctx, String value) Generated method - Setter of theCockpitObjectAbstractCollection.descriptionattribute.voidsetDescription(String value) Generated method - Setter of theCockpitObjectAbstractCollection.descriptionattribute.voidsetElements(SessionContext ctx, List<ObjectCollectionElement> value) Generated method - Setter of theCockpitObjectAbstractCollection.elementsattribute.voidsetElements(List<ObjectCollectionElement> value) Generated method - Setter of theCockpitObjectAbstractCollection.elementsattribute.voidsetLabel(SessionContext ctx, String value) Generated method - Setter of theCockpitObjectAbstractCollection.labelattribute.voidGenerated method - Setter of theCockpitObjectAbstractCollection.labelattribute.voidsetQualifier(SessionContext ctx, String value) Generated method - Setter of theCockpitObjectAbstractCollection.qualifierattribute.voidsetQualifier(String value) Generated method - Setter of theCockpitObjectAbstractCollection.qualifierattribute.voidsetReadPrincipals(SessionContext ctx, Collection<Principal> value) Generated method - Setter of theCockpitObjectAbstractCollection.readPrincipalsattribute.voidsetReadPrincipals(Collection<Principal> value) Generated method - Setter of theCockpitObjectAbstractCollection.readPrincipalsattribute.voidsetUser(SessionContext ctx, User value) Generated method - Setter of theCockpitObjectAbstractCollection.userattribute.voidGenerated method - Setter of theCockpitObjectAbstractCollection.userattribute.voidsetWritePrincipals(SessionContext ctx, Collection<Principal> value) Generated method - Setter of theCockpitObjectAbstractCollection.writePrincipalsattribute.voidsetWritePrincipals(Collection<Principal> value) Generated method - Setter of theCockpitObjectAbstractCollection.writePrincipalsattribute.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, 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
-
QUALIFIER
Qualifier of theCockpitObjectAbstractCollection.qualifierattribute- See Also:
-
LABEL
Qualifier of theCockpitObjectAbstractCollection.labelattribute- See Also:
-
DESCRIPTION
Qualifier of theCockpitObjectAbstractCollection.descriptionattribute- See Also:
-
USER
Qualifier of theCockpitObjectAbstractCollection.userattribute- See Also:
-
READPRINCIPALS
Qualifier of theCockpitObjectAbstractCollection.readPrincipalsattribute- See Also:
-
READPRINCIPAL2COCKPITOBJECTABSTRACTCOLLECTIONRELATION_SRC_ORDERED
Relation ordering override parameter constants for ReadPrincipal2CockpitObjectAbstractCollectionRelation from ((cockpit)) -
READPRINCIPAL2COCKPITOBJECTABSTRACTCOLLECTIONRELATION_TGT_ORDERED
-
READPRINCIPAL2COCKPITOBJECTABSTRACTCOLLECTIONRELATION_MARKMODIFIED
Relation disable markmodifed parameter constants for ReadPrincipal2CockpitObjectAbstractCollectionRelation from ((cockpit)) -
WRITEPRINCIPALS
Qualifier of theCockpitObjectAbstractCollection.writePrincipalsattribute- See Also:
-
WRITEPRINCIPAL2COCKPITOBJECTABSTRACTCOLLECTIONRELATION_SRC_ORDERED
Relation ordering override parameter constants for WritePrincipal2CockpitObjectAbstractCollectionRelation from ((cockpit)) -
WRITEPRINCIPAL2COCKPITOBJECTABSTRACTCOLLECTIONRELATION_TGT_ORDERED
-
WRITEPRINCIPAL2COCKPITOBJECTABSTRACTCOLLECTIONRELATION_MARKMODIFIED
Relation disable markmodifed parameter constants for WritePrincipal2CockpitObjectAbstractCollectionRelation from ((cockpit)) -
ELEMENTS
Qualifier of theCockpitObjectAbstractCollection.elementsattribute- See Also:
-
USERHANDLER
protected static final BidirectionalOneToManyHandler<GeneratedCockpitObjectAbstractCollection> USERHANDLERBidirectionalOneToManyHandlerfor handling 1:n USER's relation attributes from 'one' side. -
ELEMENTSHANDLER
OneToManyHandlerfor handling 1:n ELEMENTS's relation attributes from 'many' side. -
DEFAULT_INITIAL_ATTRIBUTES
-
-
Constructor Details
-
GeneratedCockpitObjectAbstractCollection
public GeneratedCockpitObjectAbstractCollection()
-
-
Method Details
-
getDefaultAttributeModes
- Overrides:
getDefaultAttributeModesin classItem
-
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
-
getDescription
Generated method - Getter of theCockpitObjectAbstractCollection.descriptionattribute.- Returns:
- the description
-
getDescription
Generated method - Getter of theCockpitObjectAbstractCollection.descriptionattribute.- Returns:
- the description
-
getAllDescription
Generated method - Getter of theCockpitObjectAbstractCollection.descriptionattribute.- Returns:
- the localized description
-
getAllDescription
Generated method - Getter of theCockpitObjectAbstractCollection.descriptionattribute.- Returns:
- the localized description
-
setDescription
Generated method - Setter of theCockpitObjectAbstractCollection.descriptionattribute.- Parameters:
value- the description
-
setDescription
Generated method - Setter of theCockpitObjectAbstractCollection.descriptionattribute.- Parameters:
value- the description
-
setAllDescription
Generated method - Setter of theCockpitObjectAbstractCollection.descriptionattribute.- Parameters:
value- the description
-
setAllDescription
Generated method - Setter of theCockpitObjectAbstractCollection.descriptionattribute.- Parameters:
value- the description
-
getElements
Generated method - Getter of theCockpitObjectAbstractCollection.elementsattribute.- Returns:
- the elements
-
getElements
Generated method - Getter of theCockpitObjectAbstractCollection.elementsattribute.- Returns:
- the elements
-
setElements
Generated method - Setter of theCockpitObjectAbstractCollection.elementsattribute.- Parameters:
value- the elements
-
setElements
Generated method - Setter of theCockpitObjectAbstractCollection.elementsattribute.- Parameters:
value- the elements
-
addToElements
Generated method - Addsvalueto elements.- Parameters:
value- the item to add to elements
-
addToElements
Generated method - Addsvalueto elements.- Parameters:
value- the item to add to elements
-
removeFromElements
Generated method - Removesvaluefrom elements.- Parameters:
value- the item to remove from elements
-
removeFromElements
Generated method - Removesvaluefrom elements.- Parameters:
value- the item to remove from elements
-
isMarkModifiedDisabled
@Deprecated(since="2105", forRemoval=true) public boolean isMarkModifiedDisabled(Item referencedItem) Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
isMarkModifiedDisabledin classItem
-
getLabel
Generated method - Getter of theCockpitObjectAbstractCollection.labelattribute.- Returns:
- the label
-
getLabel
Generated method - Getter of theCockpitObjectAbstractCollection.labelattribute.- Returns:
- the label
-
getAllLabel
Generated method - Getter of theCockpitObjectAbstractCollection.labelattribute.- Returns:
- the localized label
-
getAllLabel
Generated method - Getter of theCockpitObjectAbstractCollection.labelattribute.- Returns:
- the localized label
-
setLabel
Generated method - Setter of theCockpitObjectAbstractCollection.labelattribute.- Parameters:
value- the label
-
setLabel
Generated method - Setter of theCockpitObjectAbstractCollection.labelattribute.- Parameters:
value- the label
-
setAllLabel
Generated method - Setter of theCockpitObjectAbstractCollection.labelattribute.- Parameters:
value- the label
-
setAllLabel
Generated method - Setter of theCockpitObjectAbstractCollection.labelattribute.- Parameters:
value- the label
-
getQualifier
Generated method - Getter of theCockpitObjectAbstractCollection.qualifierattribute.- Returns:
- the qualifier
-
getQualifier
Generated method - Getter of theCockpitObjectAbstractCollection.qualifierattribute.- Returns:
- the qualifier
-
setQualifier
Generated method - Setter of theCockpitObjectAbstractCollection.qualifierattribute.- Parameters:
value- the qualifier
-
setQualifier
Generated method - Setter of theCockpitObjectAbstractCollection.qualifierattribute.- Parameters:
value- the qualifier
-
getReadPrincipals
Generated method - Getter of theCockpitObjectAbstractCollection.readPrincipalsattribute.- Returns:
- the readPrincipals
-
getReadPrincipals
Generated method - Getter of theCockpitObjectAbstractCollection.readPrincipalsattribute.- Returns:
- the readPrincipals
-
getReadPrincipalsCount
-
getReadPrincipalsCount
public long getReadPrincipalsCount() -
setReadPrincipals
Generated method - Setter of theCockpitObjectAbstractCollection.readPrincipalsattribute.- Parameters:
value- the readPrincipals
-
setReadPrincipals
Generated method - Setter of theCockpitObjectAbstractCollection.readPrincipalsattribute.- Parameters:
value- the readPrincipals
-
addToReadPrincipals
Generated method - Addsvalueto readPrincipals.- Parameters:
value- the item to add to readPrincipals
-
addToReadPrincipals
Generated method - Addsvalueto readPrincipals.- Parameters:
value- the item to add to readPrincipals
-
removeFromReadPrincipals
Generated method - Removesvaluefrom readPrincipals.- Parameters:
value- the item to remove from readPrincipals
-
removeFromReadPrincipals
Generated method - Removesvaluefrom readPrincipals.- Parameters:
value- the item to remove from readPrincipals
-
getUser
Generated method - Getter of theCockpitObjectAbstractCollection.userattribute.- Returns:
- the user
-
getUser
Generated method - Getter of theCockpitObjectAbstractCollection.userattribute.- Returns:
- the user
-
setUser
Generated method - Setter of theCockpitObjectAbstractCollection.userattribute.- Parameters:
value- the user
-
setUser
Generated method - Setter of theCockpitObjectAbstractCollection.userattribute.- Parameters:
value- the user
-
getWritePrincipals
Generated method - Getter of theCockpitObjectAbstractCollection.writePrincipalsattribute.- Returns:
- the writePrincipals
-
getWritePrincipals
Generated method - Getter of theCockpitObjectAbstractCollection.writePrincipalsattribute.- Returns:
- the writePrincipals
-
getWritePrincipalsCount
-
getWritePrincipalsCount
public long getWritePrincipalsCount() -
setWritePrincipals
Generated method - Setter of theCockpitObjectAbstractCollection.writePrincipalsattribute.- Parameters:
value- the writePrincipals
-
setWritePrincipals
Generated method - Setter of theCockpitObjectAbstractCollection.writePrincipalsattribute.- Parameters:
value- the writePrincipals
-
addToWritePrincipals
Generated method - Addsvalueto writePrincipals.- Parameters:
value- the item to add to writePrincipals
-
addToWritePrincipals
Generated method - Addsvalueto writePrincipals.- Parameters:
value- the item to add to writePrincipals
-
removeFromWritePrincipals
Generated method - Removesvaluefrom writePrincipals.- Parameters:
value- the item to remove from writePrincipals
-
removeFromWritePrincipals
Generated method - Removesvaluefrom writePrincipals.- Parameters:
value- the item to remove from writePrincipals
-
Utilities.getMarkModifiedOverride(de.hybris.platform.jalo.type.RelationType)