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:
Serializable
Generated model class for type SearchRestriction first defined at extension core.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationPrincipal2SearchRestrictionRelationdefining source attributeprincipalin extensioncore.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofSearchRestriction.activeattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofSearchRestriction.codeattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofSearchRestriction.principalattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofSearchRestriction.queryattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofSearchRestriction.restrictedTypeattribute defined at extensioncore.Fields inherited from class de.hybris.platform.core.model.type.TypeManagerManagedModel
AUTOCREATE, DEPRECATED, EXTENSIONNAME, GENERATE, NAMEFields 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.SearchRestrictionModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextSearchRestrictionModel(String _code, Boolean _generate, ItemModel _owner, PrincipalModel _principal, 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(String _code, Boolean _generate, PrincipalModel _principal, 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
Modifier and TypeMethodDescriptionGenerated method - Getter of theSearchRestriction.activeattribute defined at extensioncore.getCode()Generated method - Getter of theSearchRestriction.codeattribute defined at extensioncore.Generated method - Getter of theSearchRestriction.principalattribute defined at extensioncore.getQuery()Generated method - Getter of theSearchRestriction.queryattribute defined at extensioncore.Generated method - Getter of theSearchRestriction.restrictedTypeattribute defined at extensioncore.voidGenerated method - Setter ofSearchRestriction.activeattribute defined at extensioncore.voidGenerated method - Setter ofSearchRestriction.codeattribute defined at extensioncore.voidsetPrincipal(PrincipalModel value) Generated method - Setter ofSearchRestriction.principalattribute defined at extensioncore.voidGenerated method - Setter ofSearchRestriction.queryattribute defined at extensioncore.voidGenerated 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, setNameMethods 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:
-
_PRINCIPAL2SEARCHRESTRICTIONRELATION
Generated relation code constant for relationPrincipal2SearchRestrictionRelationdefining source attributeprincipalin extensioncore.- See Also:
-
CODE
Generated constant - Attribute key ofSearchRestriction.codeattribute defined at extensioncore.- See Also:
-
ACTIVE
Generated constant - Attribute key ofSearchRestriction.activeattribute defined at extensioncore.- See Also:
-
PRINCIPAL
Generated constant - Attribute key ofSearchRestriction.principalattribute defined at extensioncore.- See Also:
-
QUERY
Generated constant - Attribute key ofSearchRestriction.queryattribute defined at extensioncore.- See Also:
-
RESTRICTEDTYPE
Generated constant - Attribute key ofSearchRestriction.restrictedTypeattribute defined at extensioncore.- See Also:
-
-
Constructor Details
-
SearchRestrictionModel
public SearchRestrictionModel()Generated constructor - Default constructor for generic creation. -
SearchRestrictionModel
public SearchRestrictionModel(de.hybris.platform.servicelayer.model.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(String _code, Boolean _generate, PrincipalModel _principal, 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(String _code, Boolean _generate, ItemModel _owner, PrincipalModel _principal, 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 Details
-
getActive
Generated method - Getter of theSearchRestriction.activeattribute defined at extensioncore.- Returns:
- the active
-
getCode
Generated method - Getter of theSearchRestriction.codeattribute defined at extensioncore.- Returns:
- the code
-
getPrincipal
Generated method - Getter of theSearchRestriction.principalattribute defined at extensioncore.- Returns:
- the principal
-
getQuery
Generated method - Getter of theSearchRestriction.queryattribute defined at extensioncore.- Returns:
- the query
-
getRestrictedType
Generated method - Getter of theSearchRestriction.restrictedTypeattribute defined at extensioncore.- Returns:
- the restrictedType
-
setActive
Generated method - Setter ofSearchRestriction.activeattribute defined at extensioncore.- Parameters:
value- the active
-
setCode
Generated method - Setter ofSearchRestriction.codeattribute defined at extensioncore.- Parameters:
value- the code
-
setPrincipal
Generated method - Setter ofSearchRestriction.principalattribute defined at extensioncore.- Parameters:
value- the principal
-
setQuery
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
-