Package de.hybris.platform.cockpit.model
Class CockpitObjectAbstractCollectionModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.cockpit.model.CockpitObjectAbstractCollectionModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CockpitObjectCollectionModel,CockpitObjectSpecialCollectionModel
Generated model class for type CockpitObjectAbstractCollection first defined at extension cockpit.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationReadPrincipal2CockpitObjectAbstractCollectionRelationdefining source attributereadPrincipalsin extensioncockpit.static final StringGenerated model type code constant.static final StringGenerated relation code constant for relationUser2CockpitObjectAbstractCollectionRelationdefining source attributeuserin extensioncockpit.static final StringGenerated relation code constant for relationWritePrincipal2CockpitObjectAbstractCollectionRelationdefining source attributewritePrincipalsin extensioncockpit.static final StringGenerated constant - Attribute key ofCockpitObjectAbstractCollection.descriptionattribute defined at extensioncockpit.static final StringGenerated constant - Attribute key ofCockpitObjectAbstractCollection.elementsattribute defined at extensioncockpit.static final StringGenerated constant - Attribute key ofCockpitObjectAbstractCollection.labelattribute defined at extensioncockpit.static final StringGenerated constant - Attribute key ofCockpitObjectAbstractCollection.qualifierattribute defined at extensioncockpit.static final StringGenerated constant - Attribute key ofCockpitObjectAbstractCollection.readPrincipalsattribute defined at extensioncockpit.static final StringGenerated constant - Attribute key ofCockpitObjectAbstractCollection.userattribute defined at extensioncockpit.static final StringGenerated constant - Attribute key ofCockpitObjectAbstractCollection.writePrincipalsattribute defined at extensioncockpit.Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.CockpitObjectAbstractCollectionModel(ItemModel _owner, String _qualifier) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Default constructor for creation with existing contextCockpitObjectAbstractCollectionModel(String _qualifier) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parameters -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theCockpitObjectAbstractCollection.descriptionattribute defined at extensioncockpit.getDescription(Locale loc) Generated method - Getter of theCockpitObjectAbstractCollection.descriptionattribute defined at extensioncockpit.Generated method - Getter of theCockpitObjectAbstractCollection.elementsattribute defined at extensioncockpit.getLabel()Generated method - Getter of theCockpitObjectAbstractCollection.labelattribute defined at extensioncockpit.Generated method - Getter of theCockpitObjectAbstractCollection.labelattribute defined at extensioncockpit.Generated method - Getter of theCockpitObjectAbstractCollection.qualifierattribute defined at extensioncockpit.Generated method - Getter of theCockpitObjectAbstractCollection.readPrincipalsattribute defined at extensioncockpit.getUser()Generated method - Getter of theCockpitObjectAbstractCollection.userattribute defined at extensioncockpit.Generated method - Getter of theCockpitObjectAbstractCollection.writePrincipalsattribute defined at extensioncockpit.voidsetDescription(String value) Generated method - Setter ofCockpitObjectAbstractCollection.descriptionattribute defined at extensioncockpit.voidsetDescription(String value, Locale loc) Generated method - Setter ofCockpitObjectAbstractCollection.descriptionattribute defined at extensioncockpit.voidGenerated method - Setter ofCockpitObjectAbstractCollection.elementsattribute defined at extensioncockpit.voidGenerated method - Setter ofCockpitObjectAbstractCollection.labelattribute defined at extensioncockpit.voidGenerated method - Setter ofCockpitObjectAbstractCollection.labelattribute defined at extensioncockpit.voidsetQualifier(String value) Generated method - Setter ofCockpitObjectAbstractCollection.qualifierattribute defined at extensioncockpit.voidGenerated method - Setter ofCockpitObjectAbstractCollection.readPrincipalsattribute defined at extensioncockpit.voidGenerated method - Setter ofCockpitObjectAbstractCollection.userattribute defined at extensioncockpit.voidGenerated method - Setter ofCockpitObjectAbstractCollection.writePrincipalsattribute defined at extensioncockpit.Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
Field Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
_USER2COCKPITOBJECTABSTRACTCOLLECTIONRELATION
Generated relation code constant for relationUser2CockpitObjectAbstractCollectionRelationdefining source attributeuserin extensioncockpit.- See Also:
-
_READPRINCIPAL2COCKPITOBJECTABSTRACTCOLLECTIONRELATION
Generated relation code constant for relationReadPrincipal2CockpitObjectAbstractCollectionRelationdefining source attributereadPrincipalsin extensioncockpit.- See Also:
-
_WRITEPRINCIPAL2COCKPITOBJECTABSTRACTCOLLECTIONRELATION
Generated relation code constant for relationWritePrincipal2CockpitObjectAbstractCollectionRelationdefining source attributewritePrincipalsin extensioncockpit.- See Also:
-
QUALIFIER
Generated constant - Attribute key ofCockpitObjectAbstractCollection.qualifierattribute defined at extensioncockpit.- See Also:
-
LABEL
Generated constant - Attribute key ofCockpitObjectAbstractCollection.labelattribute defined at extensioncockpit.- See Also:
-
DESCRIPTION
Generated constant - Attribute key ofCockpitObjectAbstractCollection.descriptionattribute defined at extensioncockpit.- See Also:
-
USER
Generated constant - Attribute key ofCockpitObjectAbstractCollection.userattribute defined at extensioncockpit.- See Also:
-
READPRINCIPALS
Generated constant - Attribute key ofCockpitObjectAbstractCollection.readPrincipalsattribute defined at extensioncockpit.- See Also:
-
WRITEPRINCIPALS
Generated constant - Attribute key ofCockpitObjectAbstractCollection.writePrincipalsattribute defined at extensioncockpit.- See Also:
-
ELEMENTS
Generated constant - Attribute key ofCockpitObjectAbstractCollection.elementsattribute defined at extensioncockpit.- See Also:
-
-
Constructor Details
-
CockpitObjectAbstractCollectionModel
public CockpitObjectAbstractCollectionModel()Generated constructor - Default constructor for generic creation. -
CockpitObjectAbstractCollectionModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
CockpitObjectAbstractCollectionModel
@Deprecated(since="4.1.1", forRemoval=true) public CockpitObjectAbstractCollectionModel(String _qualifier) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_qualifier- initial attribute declared by typeCockpitObjectAbstractCollectionat extensioncockpit
-
CockpitObjectAbstractCollectionModel
@Deprecated(since="4.1.1", forRemoval=true) public CockpitObjectAbstractCollectionModel(ItemModel _owner, String _qualifier) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_owner- initial attribute declared by typeItemat extensioncore_qualifier- initial attribute declared by typeCockpitObjectAbstractCollectionat extensioncockpit
-
-
Method Details
-
getDescription
Generated method - Getter of theCockpitObjectAbstractCollection.descriptionattribute defined at extensioncockpit.- Returns:
- the description
-
getDescription
Generated method - Getter of theCockpitObjectAbstractCollection.descriptionattribute defined at extensioncockpit.- Parameters:
loc- the value localization key- Returns:
- the description
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getElements
@Accessor(qualifier="elements", type=GETTER) public List<ObjectCollectionElementModel> getElements()Generated method - Getter of theCockpitObjectAbstractCollection.elementsattribute defined at extensioncockpit. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the elements
-
getLabel
Generated method - Getter of theCockpitObjectAbstractCollection.labelattribute defined at extensioncockpit.- Returns:
- the label
-
getLabel
Generated method - Getter of theCockpitObjectAbstractCollection.labelattribute defined at extensioncockpit.- Parameters:
loc- the value localization key- Returns:
- the label
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getQualifier
Generated method - Getter of theCockpitObjectAbstractCollection.qualifierattribute defined at extensioncockpit.- Returns:
- the qualifier
-
getReadPrincipals
@Accessor(qualifier="readPrincipals", type=GETTER) public Collection<PrincipalModel> getReadPrincipals()Generated method - Getter of theCockpitObjectAbstractCollection.readPrincipalsattribute defined at extensioncockpit. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the readPrincipals
-
getUser
Generated method - Getter of theCockpitObjectAbstractCollection.userattribute defined at extensioncockpit.- Returns:
- the user
-
getWritePrincipals
@Accessor(qualifier="writePrincipals", type=GETTER) public Collection<PrincipalModel> getWritePrincipals()Generated method - Getter of theCockpitObjectAbstractCollection.writePrincipalsattribute defined at extensioncockpit. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the writePrincipals
-
setDescription
Generated method - Setter ofCockpitObjectAbstractCollection.descriptionattribute defined at extensioncockpit.- Parameters:
value- the description
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(String value, Locale loc) Generated method - Setter ofCockpitObjectAbstractCollection.descriptionattribute defined at extensioncockpit.- Parameters:
value- the descriptionloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setElements
@Accessor(qualifier="elements", type=SETTER) public void setElements(List<ObjectCollectionElementModel> value) Generated method - Setter ofCockpitObjectAbstractCollection.elementsattribute defined at extensioncockpit.- Parameters:
value- the elements
-
setLabel
Generated method - Setter ofCockpitObjectAbstractCollection.labelattribute defined at extensioncockpit.- Parameters:
value- the label
-
setLabel
Generated method - Setter ofCockpitObjectAbstractCollection.labelattribute defined at extensioncockpit.- Parameters:
value- the labelloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setQualifier
Generated method - Setter ofCockpitObjectAbstractCollection.qualifierattribute defined at extensioncockpit.- Parameters:
value- the qualifier
-
setReadPrincipals
@Accessor(qualifier="readPrincipals", type=SETTER) public void setReadPrincipals(Collection<PrincipalModel> value) Generated method - Setter ofCockpitObjectAbstractCollection.readPrincipalsattribute defined at extensioncockpit.- Parameters:
value- the readPrincipals
-
setUser
Generated method - Setter ofCockpitObjectAbstractCollection.userattribute defined at extensioncockpit.- Parameters:
value- the user
-
setWritePrincipals
@Accessor(qualifier="writePrincipals", type=SETTER) public void setWritePrincipals(Collection<PrincipalModel> value) Generated method - Setter ofCockpitObjectAbstractCollection.writePrincipalsattribute defined at extensioncockpit.- Parameters:
value- the writePrincipals
-