public class ComponentModel extends ItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_COMMENTCOMPONENTRELATION
Generated relation code constant for relation
CommentComponentRelation defining source attribute comment in extension comments. |
static String |
_DOMAINCOMPONENTRELATION
Generated relation code constant for relation
DomainComponentRelation defining source attribute domain in extension comments. |
static String |
_TYPECODE
Generated model type code constant.
|
static String |
AVAILABLECOMMENTTYPES
Generated constant - Attribute key of
Component.availableCommentTypes attribute defined at extension comments. |
static String |
CODE
Generated constant - Attribute key of
Component.code attribute defined at extension comments. |
static String |
COMMENT
Generated constant - Attribute key of
Component.comment attribute defined at extension comments. |
static String |
CREATEPERMITTED
Generated constant - Attribute key of
Component.createPermitted attribute defined at extension comments. |
static String |
DOMAIN
Generated constant - Attribute key of
Component.domain attribute defined at extension comments. |
static String |
NAME
Generated constant - Attribute key of
Component.name attribute defined at extension comments. |
static String |
READPERMITTED
Generated constant - Attribute key of
Component.readPermitted attribute defined at extension comments. |
static String |
REMOVEPERMITTED
Generated constant - Attribute key of
Component.removePermitted attribute defined at extension comments. |
static String |
WRITEPERMITTED
Generated constant - Attribute key of
Component.writePermitted attribute defined at extension comments. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
ComponentModel()
Generated constructor - Default constructor for generic creation.
|
ComponentModel(DomainModel _domain)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
ComponentModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
ComponentModel(String _code,
DomainModel _domain,
ItemModel _owner)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
Collection<CommentTypeModel> |
getAvailableCommentTypes()
Deprecated.
|
String |
getCode()
Generated method - Getter of the
Component.code attribute defined at extension comments. |
Collection<PrincipalModel> |
getCreatePermitted()
Generated method - Getter of the
Component.createPermitted attribute defined at extension comments. |
Collection<PrincipalModel> |
getCreatePermitted(Locale loc)
Generated method - Getter of the
Component.createPermitted attribute defined at extension comments. |
DomainModel |
getDomain()
Generated method - Getter of the
Component.domain attribute defined at extension comments. |
String |
getName()
Generated method - Getter of the
Component.name attribute defined at extension comments. |
Collection<PrincipalModel> |
getReadPermitted()
Generated method - Getter of the
Component.readPermitted attribute defined at extension comments. |
Collection<PrincipalModel> |
getReadPermitted(Locale loc)
Generated method - Getter of the
Component.readPermitted attribute defined at extension comments. |
Collection<PrincipalModel> |
getRemovePermitted()
Generated method - Getter of the
Component.removePermitted attribute defined at extension comments. |
Collection<PrincipalModel> |
getRemovePermitted(Locale loc)
Generated method - Getter of the
Component.removePermitted attribute defined at extension comments. |
Collection<PrincipalModel> |
getWritePermitted()
Generated method - Getter of the
Component.writePermitted attribute defined at extension comments. |
Collection<PrincipalModel> |
getWritePermitted(Locale loc)
Generated method - Getter of the
Component.writePermitted attribute defined at extension comments. |
void |
setCode(String value)
Generated method - Initial setter of
Component.code attribute defined at extension comments. |
void |
setCreatePermitted(Collection<PrincipalModel> value)
Generated method - Setter of
Component.createPermitted attribute defined at extension comments. |
void |
setCreatePermitted(Collection<PrincipalModel> value,
Locale loc)
Generated method - Setter of
Component.createPermitted attribute defined at extension comments. |
void |
setDomain(DomainModel value)
Generated method - Initial setter of
Component.domain attribute defined at extension comments. |
void |
setName(String value)
Generated method - Setter of
Component.name attribute defined at extension comments. |
void |
setReadPermitted(Collection<PrincipalModel> value)
Generated method - Setter of
Component.readPermitted attribute defined at extension comments. |
void |
setReadPermitted(Collection<PrincipalModel> value,
Locale loc)
Generated method - Setter of
Component.readPermitted attribute defined at extension comments. |
void |
setRemovePermitted(Collection<PrincipalModel> value)
Generated method - Setter of
Component.removePermitted attribute defined at extension comments. |
void |
setRemovePermitted(Collection<PrincipalModel> value,
Locale loc)
Generated method - Setter of
Component.removePermitted attribute defined at extension comments. |
void |
setWritePermitted(Collection<PrincipalModel> value)
Generated method - Setter of
Component.writePermitted attribute defined at extension comments. |
void |
setWritePermitted(Collection<PrincipalModel> value,
Locale loc)
Generated method - Setter of
Component.writePermitted attribute defined at extension comments. |
getComments, getCreationtime, getModifiedtime, getOwner, setComments, setCreationtime, setModifiedtime, setOwnerequals, 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, writeReplacepublic static final String _TYPECODE
public static final String _DOMAINCOMPONENTRELATION
DomainComponentRelation defining source attribute domain in extension comments.public static final String _COMMENTCOMPONENTRELATION
CommentComponentRelation defining source attribute comment in extension comments.public static final String CODE
Component.code attribute defined at extension comments.public static final String NAME
Component.name attribute defined at extension comments.public static final String AVAILABLECOMMENTTYPES
Component.availableCommentTypes attribute defined at extension comments.public static final String DOMAIN
Component.domain attribute defined at extension comments.public static final String COMMENT
Component.comment attribute defined at extension comments.public static final String READPERMITTED
Component.readPermitted attribute defined at extension comments.public static final String WRITEPERMITTED
Component.writePermitted attribute defined at extension comments.public static final String CREATEPERMITTED
Component.createPermitted attribute defined at extension comments.public static final String REMOVEPERMITTED
Component.removePermitted attribute defined at extension comments.public ComponentModel()
public ComponentModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public ComponentModel(DomainModel _domain)
_domain - initial attribute declared by type Component at extension comments@Deprecated public ComponentModel(String _code, DomainModel _domain, ItemModel _owner)
_code - initial attribute declared by type Component at extension comments_domain - initial attribute declared by type Component at extension comments_owner - initial attribute declared by type Item at extension core@Deprecated @Accessor(qualifier="availableCommentTypes", type=GETTER) public Collection<CommentTypeModel> getAvailableCommentTypes()
Component.availableCommentTypes attribute defined at extension comments.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="code", type=GETTER) public String getCode()
Component.code attribute defined at extension comments.@Accessor(qualifier="createPermitted", type=GETTER) public Collection<PrincipalModel> getCreatePermitted()
Component.createPermitted attribute defined at extension comments.@Accessor(qualifier="createPermitted", type=GETTER) public Collection<PrincipalModel> getCreatePermitted(Locale loc)
Component.createPermitted attribute defined at extension comments.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="domain", type=GETTER) public DomainModel getDomain()
Component.domain attribute defined at extension comments.@Accessor(qualifier="name", type=GETTER) public String getName()
Component.name attribute defined at extension comments.@Accessor(qualifier="readPermitted", type=GETTER) public Collection<PrincipalModel> getReadPermitted()
Component.readPermitted attribute defined at extension comments.@Accessor(qualifier="readPermitted", type=GETTER) public Collection<PrincipalModel> getReadPermitted(Locale loc)
Component.readPermitted attribute defined at extension comments.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="removePermitted", type=GETTER) public Collection<PrincipalModel> getRemovePermitted()
Component.removePermitted attribute defined at extension comments.@Accessor(qualifier="removePermitted", type=GETTER) public Collection<PrincipalModel> getRemovePermitted(Locale loc)
Component.removePermitted attribute defined at extension comments.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="writePermitted", type=GETTER) public Collection<PrincipalModel> getWritePermitted()
Component.writePermitted attribute defined at extension comments.@Accessor(qualifier="writePermitted", type=GETTER) public Collection<PrincipalModel> getWritePermitted(Locale loc)
Component.writePermitted attribute defined at extension comments.loc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="code", type=SETTER) public void setCode(String value)
Component.code attribute defined at extension comments. Can only be used at creation of model - before first save.value - the code - unique identifier of the component@Accessor(qualifier="createPermitted", type=SETTER) public void setCreatePermitted(Collection<PrincipalModel> value)
Component.createPermitted attribute defined at extension comments.value - the createPermitted@Accessor(qualifier="createPermitted", type=SETTER) public void setCreatePermitted(Collection<PrincipalModel> value, Locale loc)
Component.createPermitted attribute defined at extension comments.value - the createPermittedloc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="domain", type=SETTER) public void setDomain(DomainModel value)
Component.domain attribute defined at extension comments. Can only be used at creation of model - before first save.value - the domain@Accessor(qualifier="name", type=SETTER) public void setName(String value)
Component.name attribute defined at extension comments.value - the name - Name of the component@Accessor(qualifier="readPermitted", type=SETTER) public void setReadPermitted(Collection<PrincipalModel> value)
Component.readPermitted attribute defined at extension comments.value - the readPermitted@Accessor(qualifier="readPermitted", type=SETTER) public void setReadPermitted(Collection<PrincipalModel> value, Locale loc)
Component.readPermitted attribute defined at extension comments.value - the readPermittedloc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="removePermitted", type=SETTER) public void setRemovePermitted(Collection<PrincipalModel> value)
Component.removePermitted attribute defined at extension comments.value - the removePermitted@Accessor(qualifier="removePermitted", type=SETTER) public void setRemovePermitted(Collection<PrincipalModel> value, Locale loc)
Component.removePermitted attribute defined at extension comments.value - the removePermittedloc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="writePermitted", type=SETTER) public void setWritePermitted(Collection<PrincipalModel> value)
Component.writePermitted attribute defined at extension comments.value - the writePermitted@Accessor(qualifier="writePermitted", type=SETTER) public void setWritePermitted(Collection<PrincipalModel> value, Locale loc)
Component.writePermitted attribute defined at extension comments.value - the writePermittedloc - the value localization keyIllegalArgumentException - if localization key cannot be mapped to data languageCopyright © 2017 SAP SE. All Rights Reserved.