Class SearchRestrictionModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.core.model.type.TypeManagerManagedModel
-
- de.hybris.platform.core.model.type.SearchRestrictionModel
-
- All Implemented Interfaces:
java.io.Serializable
public class SearchRestrictionModel extends TypeManagerManagedModel
Generated model class for type SearchRestriction first defined at extension core.- 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
_PRINCIPAL2SEARCHRESTRICTIONRELATION
Generated relation code constant for relationPrincipal2SearchRestrictionRelation
defining source attributeprincipal
in extensioncore
.static java.lang.String
_TYPECODE
Generated model type code constant.static java.lang.String
ACTIVE
Generated constant - Attribute key ofSearchRestriction.active
attribute defined at extensioncore
.static java.lang.String
CODE
Generated constant - Attribute key ofSearchRestriction.code
attribute defined at extensioncore
.static java.lang.String
PRINCIPAL
Generated constant - Attribute key ofSearchRestriction.principal
attribute defined at extensioncore
.static java.lang.String
QUERY
Generated constant - Attribute key ofSearchRestriction.query
attribute defined at extensioncore
.static java.lang.String
RESTRICTEDTYPE
Generated constant - Attribute key ofSearchRestriction.restrictedType
attribute defined at extensioncore
.-
Fields inherited from class de.hybris.platform.core.model.type.TypeManagerManagedModel
AUTOCREATE, DEPRECATED, EXTENSIONNAME, GENERATE, NAME
-
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 SearchRestrictionModel()
Generated constructor - Default constructor for generic creation.SearchRestrictionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing contextSearchRestrictionModel(java.lang.String _code, java.lang.Boolean _generate, ItemModel _owner, PrincipalModel _principal, java.lang.String _query, ComposedTypeModel _restrictedType)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersSearchRestrictionModel(java.lang.String _code, java.lang.Boolean _generate, PrincipalModel _principal, java.lang.String _query, ComposedTypeModel _restrictedType)
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.Boolean
getActive()
Generated method - Getter of theSearchRestriction.active
attribute defined at extensioncore
.java.lang.String
getCode()
Generated method - Getter of theSearchRestriction.code
attribute defined at extensioncore
.PrincipalModel
getPrincipal()
Generated method - Getter of theSearchRestriction.principal
attribute defined at extensioncore
.java.lang.String
getQuery()
Generated method - Getter of theSearchRestriction.query
attribute defined at extensioncore
.ComposedTypeModel
getRestrictedType()
Generated method - Getter of theSearchRestriction.restrictedType
attribute defined at extensioncore
.void
setActive(java.lang.Boolean value)
Generated method - Setter ofSearchRestriction.active
attribute defined at extensioncore
.void
setCode(java.lang.String value)
Generated method - Setter ofSearchRestriction.code
attribute defined at extensioncore
.void
setPrincipal(PrincipalModel value)
Generated method - Setter ofSearchRestriction.principal
attribute defined at extensioncore
.void
setQuery(java.lang.String value)
Generated method - Setter ofSearchRestriction.query
attribute defined at extensioncore
.void
setRestrictedType(ComposedTypeModel value)
Generated method - Setter ofSearchRestriction.restrictedType
attribute defined at extensioncore
.-
Methods inherited from class de.hybris.platform.core.model.type.TypeManagerManagedModel
getAutocreate, getDeprecated, getExtensionName, getGenerate, getName, getName, setAutocreate, setExtensionName, setGenerate, setName, setName
-
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
-
_PRINCIPAL2SEARCHRESTRICTIONRELATION
public static final java.lang.String _PRINCIPAL2SEARCHRESTRICTIONRELATION
Generated relation code constant for relationPrincipal2SearchRestrictionRelation
defining source attributeprincipal
in extensioncore
.- See Also:
- Constant Field Values
-
CODE
public static final java.lang.String CODE
Generated constant - Attribute key ofSearchRestriction.code
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
ACTIVE
public static final java.lang.String ACTIVE
Generated constant - Attribute key ofSearchRestriction.active
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
PRINCIPAL
public static final java.lang.String PRINCIPAL
Generated constant - Attribute key ofSearchRestriction.principal
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
QUERY
public static final java.lang.String QUERY
Generated constant - Attribute key ofSearchRestriction.query
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
RESTRICTEDTYPE
public static final java.lang.String RESTRICTEDTYPE
Generated constant - Attribute key ofSearchRestriction.restrictedType
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SearchRestrictionModel
public SearchRestrictionModel()
Generated constructor - Default constructor for generic creation.
-
SearchRestrictionModel
public SearchRestrictionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx
- the model context to be injected, must not be null
-
SearchRestrictionModel
@Deprecated(since="4.1.1", forRemoval=true) public SearchRestrictionModel(java.lang.String _code, java.lang.Boolean _generate, PrincipalModel _principal, java.lang.String _query, ComposedTypeModel _restrictedType)
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:
_code
- initial attribute declared by typeSearchRestriction
at extensioncore
_generate
- initial attribute declared by typeTypeManagerManaged
at extensioncore
_principal
- initial attribute declared by typeSearchRestriction
at extensioncore
_query
- initial attribute declared by typeSearchRestriction
at extensioncore
_restrictedType
- initial attribute declared by typeSearchRestriction
at extensioncore
-
SearchRestrictionModel
@Deprecated(since="4.1.1", forRemoval=true) public SearchRestrictionModel(java.lang.String _code, java.lang.Boolean _generate, ItemModel _owner, PrincipalModel _principal, java.lang.String _query, ComposedTypeModel _restrictedType)
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:
_code
- initial attribute declared by typeSearchRestriction
at extensioncore
_generate
- initial attribute declared by typeTypeManagerManaged
at extensioncore
_owner
- initial attribute declared by typeItem
at extensioncore
_principal
- initial attribute declared by typeSearchRestriction
at extensioncore
_query
- initial attribute declared by typeSearchRestriction
at extensioncore
_restrictedType
- initial attribute declared by typeSearchRestriction
at extensioncore
-
-
Method Detail
-
getActive
@Accessor(qualifier="active", type=GETTER) public java.lang.Boolean getActive()
Generated method - Getter of theSearchRestriction.active
attribute defined at extensioncore
.- Returns:
- the active
-
getCode
@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()
Generated method - Getter of theSearchRestriction.code
attribute defined at extensioncore
.- Returns:
- the code
-
getPrincipal
@Accessor(qualifier="principal", type=GETTER) public PrincipalModel getPrincipal()
Generated method - Getter of theSearchRestriction.principal
attribute defined at extensioncore
.- Returns:
- the principal
-
getQuery
@Accessor(qualifier="query", type=GETTER) public java.lang.String getQuery()
Generated method - Getter of theSearchRestriction.query
attribute defined at extensioncore
.- Returns:
- the query
-
getRestrictedType
@Accessor(qualifier="restrictedType", type=GETTER) public ComposedTypeModel getRestrictedType()
Generated method - Getter of theSearchRestriction.restrictedType
attribute defined at extensioncore
.- Returns:
- the restrictedType
-
setActive
@Accessor(qualifier="active", type=SETTER) public void setActive(java.lang.Boolean value)
Generated method - Setter ofSearchRestriction.active
attribute defined at extensioncore
.- Parameters:
value
- the active
-
setCode
@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)
Generated method - Setter ofSearchRestriction.code
attribute defined at extensioncore
.- Parameters:
value
- the code
-
setPrincipal
@Accessor(qualifier="principal", type=SETTER) public void setPrincipal(PrincipalModel value)
Generated method - Setter ofSearchRestriction.principal
attribute defined at extensioncore
.- Parameters:
value
- the principal
-
setQuery
@Accessor(qualifier="query", type=SETTER) public void setQuery(java.lang.String value)
Generated method - Setter ofSearchRestriction.query
attribute defined at extensioncore
.- Parameters:
value
- the query
-
setRestrictedType
@Accessor(qualifier="restrictedType", type=SETTER) public void setRestrictedType(ComposedTypeModel value)
Generated method - Setter ofSearchRestriction.restrictedType
attribute defined at extensioncore
.- Parameters:
value
- the restrictedType
-
-