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:
java.io.Serializable
- Direct Known Subclasses:
CockpitObjectCollectionModel
,CockpitObjectSpecialCollectionModel
public class CockpitObjectAbstractCollectionModel extends ItemModel
Generated model class for type CockpitObjectAbstractCollection first defined at extension cockpit.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
_READPRINCIPAL2COCKPITOBJECTABSTRACTCOLLECTIONRELATION
Generated relation code constant for relationReadPrincipal2CockpitObjectAbstractCollectionRelation
defining source attributereadPrincipals
in extensioncockpit
.static java.lang.String
_TYPECODE
Generated model type code constant.static java.lang.String
_USER2COCKPITOBJECTABSTRACTCOLLECTIONRELATION
Generated relation code constant for relationUser2CockpitObjectAbstractCollectionRelation
defining source attributeuser
in extensioncockpit
.static java.lang.String
_WRITEPRINCIPAL2COCKPITOBJECTABSTRACTCOLLECTIONRELATION
Generated relation code constant for relationWritePrincipal2CockpitObjectAbstractCollectionRelation
defining source attributewritePrincipals
in extensioncockpit
.static java.lang.String
DESCRIPTION
Generated constant - Attribute key ofCockpitObjectAbstractCollection.description
attribute defined at extensioncockpit
.static java.lang.String
ELEMENTS
Generated constant - Attribute key ofCockpitObjectAbstractCollection.elements
attribute defined at extensioncockpit
.static java.lang.String
LABEL
Generated constant - Attribute key ofCockpitObjectAbstractCollection.label
attribute defined at extensioncockpit
.static java.lang.String
QUALIFIER
Generated constant - Attribute key ofCockpitObjectAbstractCollection.qualifier
attribute defined at extensioncockpit
.static java.lang.String
READPRINCIPALS
Generated constant - Attribute key ofCockpitObjectAbstractCollection.readPrincipals
attribute defined at extensioncockpit
.static java.lang.String
USER
Generated constant - Attribute key ofCockpitObjectAbstractCollection.user
attribute defined at extensioncockpit
.static java.lang.String
WRITEPRINCIPALS
Generated constant - Attribute key ofCockpitObjectAbstractCollection.writePrincipals
attribute defined at extensioncockpit
.-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description CockpitObjectAbstractCollectionModel()
Generated constructor - Default constructor for generic creation.CockpitObjectAbstractCollectionModel(ItemModel _owner, java.lang.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 parametersCockpitObjectAbstractCollectionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing contextCockpitObjectAbstractCollectionModel(java.lang.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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
Generated method - Getter of theCockpitObjectAbstractCollection.description
attribute defined at extensioncockpit
.java.lang.String
getDescription(java.util.Locale loc)
Generated method - Getter of theCockpitObjectAbstractCollection.description
attribute defined at extensioncockpit
.java.util.List<ObjectCollectionElementModel>
getElements()
Generated method - Getter of theCockpitObjectAbstractCollection.elements
attribute defined at extensioncockpit
.java.lang.String
getLabel()
Generated method - Getter of theCockpitObjectAbstractCollection.label
attribute defined at extensioncockpit
.java.lang.String
getLabel(java.util.Locale loc)
Generated method - Getter of theCockpitObjectAbstractCollection.label
attribute defined at extensioncockpit
.java.lang.String
getQualifier()
Generated method - Getter of theCockpitObjectAbstractCollection.qualifier
attribute defined at extensioncockpit
.java.util.Collection<PrincipalModel>
getReadPrincipals()
Generated method - Getter of theCockpitObjectAbstractCollection.readPrincipals
attribute defined at extensioncockpit
.UserModel
getUser()
Generated method - Getter of theCockpitObjectAbstractCollection.user
attribute defined at extensioncockpit
.java.util.Collection<PrincipalModel>
getWritePrincipals()
Generated method - Getter of theCockpitObjectAbstractCollection.writePrincipals
attribute defined at extensioncockpit
.void
setDescription(java.lang.String value)
Generated method - Setter ofCockpitObjectAbstractCollection.description
attribute defined at extensioncockpit
.void
setDescription(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofCockpitObjectAbstractCollection.description
attribute defined at extensioncockpit
.void
setElements(java.util.List<ObjectCollectionElementModel> value)
Generated method - Setter ofCockpitObjectAbstractCollection.elements
attribute defined at extensioncockpit
.void
setLabel(java.lang.String value)
Generated method - Setter ofCockpitObjectAbstractCollection.label
attribute defined at extensioncockpit
.void
setLabel(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofCockpitObjectAbstractCollection.label
attribute defined at extensioncockpit
.void
setQualifier(java.lang.String value)
Generated method - Setter ofCockpitObjectAbstractCollection.qualifier
attribute defined at extensioncockpit
.void
setReadPrincipals(java.util.Collection<PrincipalModel> value)
Generated method - Setter ofCockpitObjectAbstractCollection.readPrincipals
attribute defined at extensioncockpit
.void
setUser(UserModel value)
Generated method - Setter ofCockpitObjectAbstractCollection.user
attribute defined at extensioncockpit
.void
setWritePrincipals(java.util.Collection<PrincipalModel> value)
Generated method - Setter ofCockpitObjectAbstractCollection.writePrincipals
attribute defined at extensioncockpit
.-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods 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 Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
_USER2COCKPITOBJECTABSTRACTCOLLECTIONRELATION
public static final java.lang.String _USER2COCKPITOBJECTABSTRACTCOLLECTIONRELATION
Generated relation code constant for relationUser2CockpitObjectAbstractCollectionRelation
defining source attributeuser
in extensioncockpit
.- See Also:
- Constant Field Values
-
_READPRINCIPAL2COCKPITOBJECTABSTRACTCOLLECTIONRELATION
public static final java.lang.String _READPRINCIPAL2COCKPITOBJECTABSTRACTCOLLECTIONRELATION
Generated relation code constant for relationReadPrincipal2CockpitObjectAbstractCollectionRelation
defining source attributereadPrincipals
in extensioncockpit
.- See Also:
- Constant Field Values
-
_WRITEPRINCIPAL2COCKPITOBJECTABSTRACTCOLLECTIONRELATION
public static final java.lang.String _WRITEPRINCIPAL2COCKPITOBJECTABSTRACTCOLLECTIONRELATION
Generated relation code constant for relationWritePrincipal2CockpitObjectAbstractCollectionRelation
defining source attributewritePrincipals
in extensioncockpit
.- See Also:
- Constant Field Values
-
QUALIFIER
public static final java.lang.String QUALIFIER
Generated constant - Attribute key ofCockpitObjectAbstractCollection.qualifier
attribute defined at extensioncockpit
.- See Also:
- Constant Field Values
-
LABEL
public static final java.lang.String LABEL
Generated constant - Attribute key ofCockpitObjectAbstractCollection.label
attribute defined at extensioncockpit
.- See Also:
- Constant Field Values
-
DESCRIPTION
public static final java.lang.String DESCRIPTION
Generated constant - Attribute key ofCockpitObjectAbstractCollection.description
attribute defined at extensioncockpit
.- See Also:
- Constant Field Values
-
USER
public static final java.lang.String USER
Generated constant - Attribute key ofCockpitObjectAbstractCollection.user
attribute defined at extensioncockpit
.- See Also:
- Constant Field Values
-
READPRINCIPALS
public static final java.lang.String READPRINCIPALS
Generated constant - Attribute key ofCockpitObjectAbstractCollection.readPrincipals
attribute defined at extensioncockpit
.- See Also:
- Constant Field Values
-
WRITEPRINCIPALS
public static final java.lang.String WRITEPRINCIPALS
Generated constant - Attribute key ofCockpitObjectAbstractCollection.writePrincipals
attribute defined at extensioncockpit
.- See Also:
- Constant Field Values
-
ELEMENTS
public static final java.lang.String ELEMENTS
Generated constant - Attribute key ofCockpitObjectAbstractCollection.elements
attribute defined at extensioncockpit
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CockpitObjectAbstractCollectionModel
public CockpitObjectAbstractCollectionModel()
Generated constructor - Default constructor for generic creation.
-
CockpitObjectAbstractCollectionModel
public CockpitObjectAbstractCollectionModel(ItemModelContext ctx)
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(java.lang.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 typeCockpitObjectAbstractCollection
at extensioncockpit
-
CockpitObjectAbstractCollectionModel
@Deprecated(since="4.1.1", forRemoval=true) public CockpitObjectAbstractCollectionModel(ItemModel _owner, java.lang.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 typeItem
at extensioncore
_qualifier
- initial attribute declared by typeCockpitObjectAbstractCollection
at extensioncockpit
-
-
Method Detail
-
getDescription
@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription()
Generated method - Getter of theCockpitObjectAbstractCollection.description
attribute defined at extensioncockpit
.- Returns:
- the description
-
getDescription
@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription(java.util.Locale loc)
Generated method - Getter of theCockpitObjectAbstractCollection.description
attribute defined at extensioncockpit
.- Parameters:
loc
- the value localization key- Returns:
- the description
- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
getElements
@Accessor(qualifier="elements", type=GETTER) public java.util.List<ObjectCollectionElementModel> getElements()
Generated method - Getter of theCockpitObjectAbstractCollection.elements
attribute defined at extensioncockpit
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the elements
-
getLabel
@Accessor(qualifier="label", type=GETTER) public java.lang.String getLabel()
Generated method - Getter of theCockpitObjectAbstractCollection.label
attribute defined at extensioncockpit
.- Returns:
- the label
-
getLabel
@Accessor(qualifier="label", type=GETTER) public java.lang.String getLabel(java.util.Locale loc)
Generated method - Getter of theCockpitObjectAbstractCollection.label
attribute defined at extensioncockpit
.- Parameters:
loc
- the value localization key- Returns:
- the label
- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
getQualifier
@Accessor(qualifier="qualifier", type=GETTER) public java.lang.String getQualifier()
Generated method - Getter of theCockpitObjectAbstractCollection.qualifier
attribute defined at extensioncockpit
.- Returns:
- the qualifier
-
getReadPrincipals
@Accessor(qualifier="readPrincipals", type=GETTER) public java.util.Collection<PrincipalModel> getReadPrincipals()
Generated method - Getter of theCockpitObjectAbstractCollection.readPrincipals
attribute defined at extensioncockpit
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the readPrincipals
-
getUser
@Accessor(qualifier="user", type=GETTER) public UserModel getUser()
Generated method - Getter of theCockpitObjectAbstractCollection.user
attribute defined at extensioncockpit
.- Returns:
- the user
-
getWritePrincipals
@Accessor(qualifier="writePrincipals", type=GETTER) public java.util.Collection<PrincipalModel> getWritePrincipals()
Generated method - Getter of theCockpitObjectAbstractCollection.writePrincipals
attribute defined at extensioncockpit
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the writePrincipals
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value)
Generated method - Setter ofCockpitObjectAbstractCollection.description
attribute defined at extensioncockpit
.- Parameters:
value
- the description
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofCockpitObjectAbstractCollection.description
attribute defined at extensioncockpit
.- Parameters:
value
- the descriptionloc
- the value localization key- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
setElements
@Accessor(qualifier="elements", type=SETTER) public void setElements(java.util.List<ObjectCollectionElementModel> value)
Generated method - Setter ofCockpitObjectAbstractCollection.elements
attribute defined at extensioncockpit
.- Parameters:
value
- the elements
-
setLabel
@Accessor(qualifier="label", type=SETTER) public void setLabel(java.lang.String value)
Generated method - Setter ofCockpitObjectAbstractCollection.label
attribute defined at extensioncockpit
.- Parameters:
value
- the label
-
setLabel
@Accessor(qualifier="label", type=SETTER) public void setLabel(java.lang.String value, java.util.Locale loc)
Generated method - Setter ofCockpitObjectAbstractCollection.label
attribute defined at extensioncockpit
.- Parameters:
value
- the labelloc
- the value localization key- Throws:
java.lang.IllegalArgumentException
- if localization key cannot be mapped to data language
-
setQualifier
@Accessor(qualifier="qualifier", type=SETTER) public void setQualifier(java.lang.String value)
Generated method - Setter ofCockpitObjectAbstractCollection.qualifier
attribute defined at extensioncockpit
.- Parameters:
value
- the qualifier
-
setReadPrincipals
@Accessor(qualifier="readPrincipals", type=SETTER) public void setReadPrincipals(java.util.Collection<PrincipalModel> value)
Generated method - Setter ofCockpitObjectAbstractCollection.readPrincipals
attribute defined at extensioncockpit
.- Parameters:
value
- the readPrincipals
-
setUser
@Accessor(qualifier="user", type=SETTER) public void setUser(UserModel value)
Generated method - Setter ofCockpitObjectAbstractCollection.user
attribute defined at extensioncockpit
.- Parameters:
value
- the user
-
setWritePrincipals
@Accessor(qualifier="writePrincipals", type=SETTER) public void setWritePrincipals(java.util.Collection<PrincipalModel> value)
Generated method - Setter ofCockpitObjectAbstractCollection.writePrincipals
attribute defined at extensioncockpit
.- Parameters:
value
- the writePrincipals
-
-