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_PRINCIPAL2SEARCHRESTRICTIONRELATIONGenerated relation code constant for relationPrincipal2SearchRestrictionRelationdefining source attributeprincipalin extensioncore.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringACTIVEGenerated constant - Attribute key ofSearchRestriction.activeattribute defined at extensioncore.static java.lang.StringCODEGenerated constant - Attribute key ofSearchRestriction.codeattribute defined at extensioncore.static java.lang.StringPRINCIPALGenerated constant - Attribute key ofSearchRestriction.principalattribute defined at extensioncore.static java.lang.StringQUERYGenerated constant - Attribute key ofSearchRestriction.queryattribute defined at extensioncore.static java.lang.StringRESTRICTEDTYPEGenerated constant - Attribute key ofSearchRestriction.restrictedTypeattribute 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.BooleangetActive()Generated method - Getter of theSearchRestriction.activeattribute defined at extensioncore.java.lang.StringgetCode()Generated method - Getter of theSearchRestriction.codeattribute defined at extensioncore.PrincipalModelgetPrincipal()Generated method - Getter of theSearchRestriction.principalattribute defined at extensioncore.java.lang.StringgetQuery()Generated method - Getter of theSearchRestriction.queryattribute defined at extensioncore.ComposedTypeModelgetRestrictedType()Generated method - Getter of theSearchRestriction.restrictedTypeattribute defined at extensioncore.voidsetActive(java.lang.Boolean value)Generated method - Setter ofSearchRestriction.activeattribute defined at extensioncore.voidsetCode(java.lang.String value)Generated method - Setter ofSearchRestriction.codeattribute defined at extensioncore.voidsetPrincipal(PrincipalModel value)Generated method - Setter ofSearchRestriction.principalattribute defined at extensioncore.voidsetQuery(java.lang.String value)Generated method - Setter ofSearchRestriction.queryattribute defined at extensioncore.voidsetRestrictedType(ComposedTypeModel value)Generated method - Setter ofSearchRestriction.restrictedTypeattribute 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 relationPrincipal2SearchRestrictionRelationdefining source attributeprincipalin extensioncore.- See Also:
- Constant Field Values
-
CODE
public static final java.lang.String CODE
Generated constant - Attribute key ofSearchRestriction.codeattribute defined at extensioncore.- See Also:
- Constant Field Values
-
ACTIVE
public static final java.lang.String ACTIVE
Generated constant - Attribute key ofSearchRestriction.activeattribute defined at extensioncore.- See Also:
- Constant Field Values
-
PRINCIPAL
public static final java.lang.String PRINCIPAL
Generated constant - Attribute key ofSearchRestriction.principalattribute defined at extensioncore.- See Also:
- Constant Field Values
-
QUERY
public static final java.lang.String QUERY
Generated constant - Attribute key ofSearchRestriction.queryattribute defined at extensioncore.- See Also:
- Constant Field Values
-
RESTRICTEDTYPE
public static final java.lang.String RESTRICTEDTYPE
Generated constant - Attribute key ofSearchRestriction.restrictedTypeattribute 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 typeSearchRestrictionat extensioncore_generate- initial attribute declared by typeTypeManagerManagedat extensioncore_principal- initial attribute declared by typeSearchRestrictionat extensioncore_query- initial attribute declared by typeSearchRestrictionat extensioncore_restrictedType- initial attribute declared by typeSearchRestrictionat 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 typeSearchRestrictionat extensioncore_generate- initial attribute declared by typeTypeManagerManagedat extensioncore_owner- initial attribute declared by typeItemat extensioncore_principal- initial attribute declared by typeSearchRestrictionat extensioncore_query- initial attribute declared by typeSearchRestrictionat extensioncore_restrictedType- initial attribute declared by typeSearchRestrictionat extensioncore
-
-
Method Detail
-
getActive
@Accessor(qualifier="active", type=GETTER) public java.lang.Boolean getActive()
Generated method - Getter of theSearchRestriction.activeattribute defined at extensioncore.- Returns:
- the active
-
getCode
@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()
Generated method - Getter of theSearchRestriction.codeattribute defined at extensioncore.- Returns:
- the code
-
getPrincipal
@Accessor(qualifier="principal", type=GETTER) public PrincipalModel getPrincipal()
Generated method - Getter of theSearchRestriction.principalattribute defined at extensioncore.- Returns:
- the principal
-
getQuery
@Accessor(qualifier="query", type=GETTER) public java.lang.String getQuery()
Generated method - Getter of theSearchRestriction.queryattribute defined at extensioncore.- Returns:
- the query
-
getRestrictedType
@Accessor(qualifier="restrictedType", type=GETTER) public ComposedTypeModel getRestrictedType()
Generated method - Getter of theSearchRestriction.restrictedTypeattribute defined at extensioncore.- Returns:
- the restrictedType
-
setActive
@Accessor(qualifier="active", type=SETTER) public void setActive(java.lang.Boolean value)
Generated method - Setter ofSearchRestriction.activeattribute defined at extensioncore.- Parameters:
value- the active
-
setCode
@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)
Generated method - Setter ofSearchRestriction.codeattribute defined at extensioncore.- Parameters:
value- the code
-
setPrincipal
@Accessor(qualifier="principal", type=SETTER) public void setPrincipal(PrincipalModel value)
Generated method - Setter ofSearchRestriction.principalattribute defined at extensioncore.- Parameters:
value- the principal
-
setQuery
@Accessor(qualifier="query", type=SETTER) public void setQuery(java.lang.String value)
Generated method - Setter ofSearchRestriction.queryattribute defined at extensioncore.- Parameters:
value- the query
-
setRestrictedType
@Accessor(qualifier="restrictedType", type=SETTER) public void setRestrictedType(ComposedTypeModel value)
Generated method - Setter ofSearchRestriction.restrictedTypeattribute defined at extensioncore.- Parameters:
value- the restrictedType
-
-