Class GeneratedPageTemplate
- java.lang.Object
-
- de.hybris.platform.util.BridgeAbstraction
-
- de.hybris.platform.jalo.Item
-
- de.hybris.platform.jalo.ExtensibleItem
-
- de.hybris.platform.jalo.c2l.LocalizableItem
-
- de.hybris.platform.jalo.GenericItem
-
- de.hybris.platform.cms2.jalo.contents.GeneratedCMSItem
-
- de.hybris.platform.cms2.jalo.contents.CMSItem
-
- de.hybris.platform.cms2.jalo.pages.GeneratedPageTemplate
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable
- Direct Known Subclasses:
PageTemplate
public abstract class GeneratedPageTemplate extends CMSItem
Generated class for typePageTemplate
.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.GenericItem
GenericItem.GenericItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LocalizableItem.LocalizableItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.ExtensibleItem
ExtensibleItem.ExtensibleItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.Item
Item.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ACTIVE
Qualifier of thePageTemplate.active
attributestatic java.lang.String
AVAILABLECONTENTSLOTS
Qualifier of thePageTemplate.availableContentSlots
attributeprotected static OneToManyHandler<ContentSlotName>
AVAILABLECONTENTSLOTSHANDLER
OneToManyHandler
for handling 1:n AVAILABLECONTENTSLOTS's relation attributes from 'many' side.static java.lang.String
CONTENTSLOTS
Qualifier of thePageTemplate.contentSlots
attributeprotected static java.util.Map<java.lang.String,Item.AttributeMode>
DEFAULT_INITIAL_ATTRIBUTES
static java.lang.String
FRONTENDTEMPLATENAME
Qualifier of thePageTemplate.frontendTemplateName
attributestatic java.lang.String
PREVIEWICON
Qualifier of thePageTemplate.previewIcon
attributestatic java.lang.String
RESTRICTEDPAGETYPES
Qualifier of thePageTemplate.restrictedPageTypes
attributeprotected static java.lang.String
VALIDPAGETYPESFORTEMPLATES_MARKMODIFIED
Relation disable markmodifed parameter constants for ValidPageTypesForTemplates from ((cms2))protected static java.lang.String
VALIDPAGETYPESFORTEMPLATES_SRC_ORDERED
Relation ordering override parameter constants for ValidPageTypesForTemplates from ((cms2))protected static java.lang.String
VALIDPAGETYPESFORTEMPLATES_TGT_ORDERED
static java.lang.String
VELOCITYTEMPLATE
Qualifier of thePageTemplate.velocityTemplate
attribute-
Fields inherited from class de.hybris.platform.cms2.jalo.contents.GeneratedCMSItem
CATALOGVERSION, NAME, UID
-
Fields inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LANGUAGE_FALLBACK_ENABLED
-
Fields inherited from class de.hybris.platform.jalo.Item
_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, HJMPTS, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjects, TYPE
-
Fields inherited from class de.hybris.platform.util.BridgeAbstraction
impl, tenant
-
-
Constructor Summary
Constructors Constructor Description GeneratedPageTemplate()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
addToAvailableContentSlots(ContentSlotName value)
Generated method - Addsvalue
to availableContentSlots.void
addToAvailableContentSlots(SessionContext ctx, ContentSlotName value)
Generated method - Addsvalue
to availableContentSlots.void
addToRestrictedPageTypes(CMSPageType value)
Generated method - Addsvalue
to restrictedPageTypes.void
addToRestrictedPageTypes(SessionContext ctx, CMSPageType value)
Generated method - Addsvalue
to restrictedPageTypes.java.util.List<ContentSlotName>
getAvailableContentSlots()
Generated method - Getter of thePageTemplate.availableContentSlots
attribute.java.util.List<ContentSlotName>
getAvailableContentSlots(SessionContext ctx)
Generated method - Getter of thePageTemplate.availableContentSlots
attribute.java.util.List<ContentSlotForTemplate>
getContentSlots()
Generated method - Getter of thePageTemplate.contentSlots
attribute.abstract java.util.List<ContentSlotForTemplate>
getContentSlots(SessionContext ctx)
Generated method - Getter of thePageTemplate.contentSlots
attribute.protected java.util.Map<java.lang.String,Item.AttributeMode>
getDefaultAttributeModes()
java.lang.String
getFrontendTemplateName()
Generated method - Getter of thePageTemplate.frontendTemplateName
attribute.java.lang.String
getFrontendTemplateName(SessionContext ctx)
Generated method - Getter of thePageTemplate.frontendTemplateName
attribute.Media
getPreviewIcon()
Generated method - Getter of thePageTemplate.previewIcon
attribute.Media
getPreviewIcon(SessionContext ctx)
Generated method - Getter of thePageTemplate.previewIcon
attribute.java.util.Set<CMSPageType>
getRestrictedPageTypes()
Generated method - Getter of thePageTemplate.restrictedPageTypes
attribute.java.util.Set<CMSPageType>
getRestrictedPageTypes(SessionContext ctx)
Generated method - Getter of thePageTemplate.restrictedPageTypes
attribute.long
getRestrictedPageTypesCount()
long
getRestrictedPageTypesCount(SessionContext ctx)
java.lang.String
getVelocityTemplate()
Generated method - Getter of thePageTemplate.velocityTemplate
attribute.java.lang.String
getVelocityTemplate(SessionContext ctx)
Generated method - Getter of thePageTemplate.velocityTemplate
attribute.java.lang.Boolean
isActive()
Generated method - Getter of thePageTemplate.active
attribute.java.lang.Boolean
isActive(SessionContext ctx)
Generated method - Getter of thePageTemplate.active
attribute.boolean
isActiveAsPrimitive()
Generated method - Getter of thePageTemplate.active
attribute.boolean
isActiveAsPrimitive(SessionContext ctx)
Generated method - Getter of thePageTemplate.active
attribute.boolean
isMarkModifiedDisabled(Item referencedItem)
void
removeFromAvailableContentSlots(ContentSlotName value)
Generated method - Removesvalue
from availableContentSlots.void
removeFromAvailableContentSlots(SessionContext ctx, ContentSlotName value)
Generated method - Removesvalue
from availableContentSlots.void
removeFromRestrictedPageTypes(CMSPageType value)
Generated method - Removesvalue
from restrictedPageTypes.void
removeFromRestrictedPageTypes(SessionContext ctx, CMSPageType value)
Generated method - Removesvalue
from restrictedPageTypes.void
setActive(boolean value)
Generated method - Setter of thePageTemplate.active
attribute.void
setActive(SessionContext ctx, boolean value)
Generated method - Setter of thePageTemplate.active
attribute.void
setActive(SessionContext ctx, java.lang.Boolean value)
Generated method - Setter of thePageTemplate.active
attribute.void
setActive(java.lang.Boolean value)
Generated method - Setter of thePageTemplate.active
attribute.void
setAvailableContentSlots(SessionContext ctx, java.util.List<ContentSlotName> value)
Generated method - Setter of thePageTemplate.availableContentSlots
attribute.void
setAvailableContentSlots(java.util.List<ContentSlotName> value)
Generated method - Setter of thePageTemplate.availableContentSlots
attribute.void
setFrontendTemplateName(SessionContext ctx, java.lang.String value)
Generated method - Setter of thePageTemplate.frontendTemplateName
attribute.void
setFrontendTemplateName(java.lang.String value)
Generated method - Setter of thePageTemplate.frontendTemplateName
attribute.void
setPreviewIcon(Media value)
Generated method - Setter of thePageTemplate.previewIcon
attribute.void
setPreviewIcon(SessionContext ctx, Media value)
Generated method - Setter of thePageTemplate.previewIcon
attribute.void
setRestrictedPageTypes(SessionContext ctx, java.util.Set<CMSPageType> value)
Generated method - Setter of thePageTemplate.restrictedPageTypes
attribute.void
setRestrictedPageTypes(java.util.Set<CMSPageType> value)
Generated method - Setter of thePageTemplate.restrictedPageTypes
attribute.void
setVelocityTemplate(SessionContext ctx, java.lang.String value)
Generated method - Setter of thePageTemplate.velocityTemplate
attribute.void
setVelocityTemplate(java.lang.String value)
Generated method - Setter of thePageTemplate.velocityTemplate
attribute.-
Methods inherited from class de.hybris.platform.cms2.jalo.contents.CMSItem
createItem, getName
-
Methods inherited from class de.hybris.platform.cms2.jalo.contents.GeneratedCMSItem
getCatalogVersion, getCatalogVersion, getName, getUid, getUid, setCatalogVersion, setCatalogVersion, setName, setName, setUid, setUid
-
Methods inherited from class de.hybris.platform.jalo.GenericItem
getImplementation, getInitialProperties, getNonInitialAttributes, getRelatedItems, setRelatedItems
-
Methods inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedProperty
-
Methods inherited from class de.hybris.platform.jalo.ExtensibleItem
createNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setProperty
-
Methods inherited from class de.hybris.platform.jalo.Item
addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addNegativePermission, addPermission, addPositivePermission, assureExtensionsLoaded, changeTypeAfterCreation, checkConstraint, checkItemPermission, checkMandatoryAttribute, checkMandatoryAttribute, checkPermission, checkPermission, checkRemovable, clearPermission, compareTo, ctx, doAfterRemove, doBeforeRemove, equals, getAccessorFor, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributesInternal, getAllLinkedItems, getAndCheckCacheBoundItem, getAttribute, getAttribute, getCacheBoundItem, getComposedType, getComposedTypePK, getCreationTime, getCurrentlyRemovingCount, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItemsCount, getLinkedItemsCount, getLinkedItemsCount, getModificationTime, getNegativePermissions, getOwner, getPermissionMap, getPermissions, getPersistenceVersion, getPK, getPositivePermissions, getRestrictedPrincipals, getSession, getSyncObject, getTenant, getTransientObject, getTransientObjectMap, hashCode, hasRegisteredClassAccessorFor, internal_registerClassAccessorFor, internal_registerNonClassAccessorFor, invalidateLocalCaches, isAlive, isCacheBound, isCurrentlyRemoving, isCurrentlyRemoving, isEmptyRelationValue, isInCreate, isInstanceOf, isItemCheckBeforeRemoveableDisabled, isRelationLocalizationFallbackEnabled, newInstance, notifyExtensionsAfterItemCreation, notifyExtensionsBeforeItemCreation, notifyItemRemoval, notifyManagerAboutItemRemoval, readResolve, registerAccessFor, registerAccessFor, registerJaloInvalidationListeners, remove, remove, removeItemCollection, removeItemCollection, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinks, removePartOfItems, removePartOfItems, setAllAttributes, setAllAttributes, setAllAttributesInternal, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAttribute, setAttribute, setAttributeFromString, setAttributeFromString, setCacheBound, setComposedType, setCreationTime, setImplementation, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setModificationTime, setNonInitialAttributes, setOwner, setPermissionsByMap, setTransientObject, setUseTA, toString, useTA, writeReplace
-
Methods inherited from class de.hybris.platform.util.BridgeAbstraction
setTenant
-
-
-
-
Field Detail
-
ACTIVE
public static final java.lang.String ACTIVE
Qualifier of thePageTemplate.active
attribute- See Also:
- Constant Field Values
-
VELOCITYTEMPLATE
public static final java.lang.String VELOCITYTEMPLATE
Qualifier of thePageTemplate.velocityTemplate
attribute- See Also:
- Constant Field Values
-
FRONTENDTEMPLATENAME
public static final java.lang.String FRONTENDTEMPLATENAME
Qualifier of thePageTemplate.frontendTemplateName
attribute- See Also:
- Constant Field Values
-
CONTENTSLOTS
public static final java.lang.String CONTENTSLOTS
Qualifier of thePageTemplate.contentSlots
attribute- See Also:
- Constant Field Values
-
PREVIEWICON
public static final java.lang.String PREVIEWICON
Qualifier of thePageTemplate.previewIcon
attribute- See Also:
- Constant Field Values
-
AVAILABLECONTENTSLOTS
public static final java.lang.String AVAILABLECONTENTSLOTS
Qualifier of thePageTemplate.availableContentSlots
attribute- See Also:
- Constant Field Values
-
RESTRICTEDPAGETYPES
public static final java.lang.String RESTRICTEDPAGETYPES
Qualifier of thePageTemplate.restrictedPageTypes
attribute- See Also:
- Constant Field Values
-
VALIDPAGETYPESFORTEMPLATES_SRC_ORDERED
protected static java.lang.String VALIDPAGETYPESFORTEMPLATES_SRC_ORDERED
Relation ordering override parameter constants for ValidPageTypesForTemplates from ((cms2))
-
VALIDPAGETYPESFORTEMPLATES_TGT_ORDERED
protected static java.lang.String VALIDPAGETYPESFORTEMPLATES_TGT_ORDERED
-
VALIDPAGETYPESFORTEMPLATES_MARKMODIFIED
protected static java.lang.String VALIDPAGETYPESFORTEMPLATES_MARKMODIFIED
Relation disable markmodifed parameter constants for ValidPageTypesForTemplates from ((cms2))
-
AVAILABLECONTENTSLOTSHANDLER
protected static final OneToManyHandler<ContentSlotName> AVAILABLECONTENTSLOTSHANDLER
OneToManyHandler
for handling 1:n AVAILABLECONTENTSLOTS's relation attributes from 'many' side.
-
DEFAULT_INITIAL_ATTRIBUTES
protected static final java.util.Map<java.lang.String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
-
-
Method Detail
-
getDefaultAttributeModes
protected java.util.Map<java.lang.String,Item.AttributeMode> getDefaultAttributeModes()
- Overrides:
getDefaultAttributeModes
in classGeneratedCMSItem
-
isActive
public java.lang.Boolean isActive(SessionContext ctx)
Generated method - Getter of thePageTemplate.active
attribute.- Returns:
- the active
-
isActive
public java.lang.Boolean isActive()
Generated method - Getter of thePageTemplate.active
attribute.- Returns:
- the active
-
isActiveAsPrimitive
public boolean isActiveAsPrimitive(SessionContext ctx)
Generated method - Getter of thePageTemplate.active
attribute.- Returns:
- the active
-
isActiveAsPrimitive
public boolean isActiveAsPrimitive()
Generated method - Getter of thePageTemplate.active
attribute.- Returns:
- the active
-
setActive
public void setActive(SessionContext ctx, java.lang.Boolean value)
Generated method - Setter of thePageTemplate.active
attribute.- Parameters:
value
- the active
-
setActive
public void setActive(java.lang.Boolean value)
Generated method - Setter of thePageTemplate.active
attribute.- Parameters:
value
- the active
-
setActive
public void setActive(SessionContext ctx, boolean value)
Generated method - Setter of thePageTemplate.active
attribute.- Parameters:
value
- the active
-
setActive
public void setActive(boolean value)
Generated method - Setter of thePageTemplate.active
attribute.- Parameters:
value
- the active
-
getAvailableContentSlots
public java.util.List<ContentSlotName> getAvailableContentSlots(SessionContext ctx)
Generated method - Getter of thePageTemplate.availableContentSlots
attribute.- Returns:
- the availableContentSlots
-
getAvailableContentSlots
public java.util.List<ContentSlotName> getAvailableContentSlots()
Generated method - Getter of thePageTemplate.availableContentSlots
attribute.- Returns:
- the availableContentSlots
-
setAvailableContentSlots
public void setAvailableContentSlots(SessionContext ctx, java.util.List<ContentSlotName> value)
Generated method - Setter of thePageTemplate.availableContentSlots
attribute.- Parameters:
value
- the availableContentSlots
-
setAvailableContentSlots
public void setAvailableContentSlots(java.util.List<ContentSlotName> value)
Generated method - Setter of thePageTemplate.availableContentSlots
attribute.- Parameters:
value
- the availableContentSlots
-
addToAvailableContentSlots
public void addToAvailableContentSlots(SessionContext ctx, ContentSlotName value)
Generated method - Addsvalue
to availableContentSlots.- Parameters:
value
- the item to add to availableContentSlots
-
addToAvailableContentSlots
public void addToAvailableContentSlots(ContentSlotName value)
Generated method - Addsvalue
to availableContentSlots.- Parameters:
value
- the item to add to availableContentSlots
-
removeFromAvailableContentSlots
public void removeFromAvailableContentSlots(SessionContext ctx, ContentSlotName value)
Generated method - Removesvalue
from availableContentSlots.- Parameters:
value
- the item to remove from availableContentSlots
-
removeFromAvailableContentSlots
public void removeFromAvailableContentSlots(ContentSlotName value)
Generated method - Removesvalue
from availableContentSlots.- Parameters:
value
- the item to remove from availableContentSlots
-
getContentSlots
public abstract java.util.List<ContentSlotForTemplate> getContentSlots(SessionContext ctx)
Generated method - Getter of thePageTemplate.contentSlots
attribute.- Returns:
- the contentSlots
-
getContentSlots
public java.util.List<ContentSlotForTemplate> getContentSlots()
Generated method - Getter of thePageTemplate.contentSlots
attribute.- Returns:
- the contentSlots
-
getFrontendTemplateName
public java.lang.String getFrontendTemplateName(SessionContext ctx)
Generated method - Getter of thePageTemplate.frontendTemplateName
attribute.- Returns:
- the frontendTemplateName
-
getFrontendTemplateName
public java.lang.String getFrontendTemplateName()
Generated method - Getter of thePageTemplate.frontendTemplateName
attribute.- Returns:
- the frontendTemplateName
-
setFrontendTemplateName
public void setFrontendTemplateName(SessionContext ctx, java.lang.String value)
Generated method - Setter of thePageTemplate.frontendTemplateName
attribute.- Parameters:
value
- the frontendTemplateName
-
setFrontendTemplateName
public void setFrontendTemplateName(java.lang.String value)
Generated method - Setter of thePageTemplate.frontendTemplateName
attribute.- Parameters:
value
- the frontendTemplateName
-
isMarkModifiedDisabled
public boolean isMarkModifiedDisabled(Item referencedItem)
- Overrides:
isMarkModifiedDisabled
in classItem
-
getPreviewIcon
public Media getPreviewIcon(SessionContext ctx)
Generated method - Getter of thePageTemplate.previewIcon
attribute.- Returns:
- the previewIcon
-
getPreviewIcon
public Media getPreviewIcon()
Generated method - Getter of thePageTemplate.previewIcon
attribute.- Returns:
- the previewIcon
-
setPreviewIcon
public void setPreviewIcon(SessionContext ctx, Media value)
Generated method - Setter of thePageTemplate.previewIcon
attribute.- Parameters:
value
- the previewIcon
-
setPreviewIcon
public void setPreviewIcon(Media value)
Generated method - Setter of thePageTemplate.previewIcon
attribute.- Parameters:
value
- the previewIcon
-
getRestrictedPageTypes
public java.util.Set<CMSPageType> getRestrictedPageTypes(SessionContext ctx)
Generated method - Getter of thePageTemplate.restrictedPageTypes
attribute.- Returns:
- the restrictedPageTypes
-
getRestrictedPageTypes
public java.util.Set<CMSPageType> getRestrictedPageTypes()
Generated method - Getter of thePageTemplate.restrictedPageTypes
attribute.- Returns:
- the restrictedPageTypes
-
getRestrictedPageTypesCount
public long getRestrictedPageTypesCount(SessionContext ctx)
-
getRestrictedPageTypesCount
public long getRestrictedPageTypesCount()
-
setRestrictedPageTypes
public void setRestrictedPageTypes(SessionContext ctx, java.util.Set<CMSPageType> value)
Generated method - Setter of thePageTemplate.restrictedPageTypes
attribute.- Parameters:
value
- the restrictedPageTypes
-
setRestrictedPageTypes
public void setRestrictedPageTypes(java.util.Set<CMSPageType> value)
Generated method - Setter of thePageTemplate.restrictedPageTypes
attribute.- Parameters:
value
- the restrictedPageTypes
-
addToRestrictedPageTypes
public void addToRestrictedPageTypes(SessionContext ctx, CMSPageType value)
Generated method - Addsvalue
to restrictedPageTypes.- Parameters:
value
- the item to add to restrictedPageTypes
-
addToRestrictedPageTypes
public void addToRestrictedPageTypes(CMSPageType value)
Generated method - Addsvalue
to restrictedPageTypes.- Parameters:
value
- the item to add to restrictedPageTypes
-
removeFromRestrictedPageTypes
public void removeFromRestrictedPageTypes(SessionContext ctx, CMSPageType value)
Generated method - Removesvalue
from restrictedPageTypes.- Parameters:
value
- the item to remove from restrictedPageTypes
-
removeFromRestrictedPageTypes
public void removeFromRestrictedPageTypes(CMSPageType value)
Generated method - Removesvalue
from restrictedPageTypes.- Parameters:
value
- the item to remove from restrictedPageTypes
-
getVelocityTemplate
public java.lang.String getVelocityTemplate(SessionContext ctx)
Generated method - Getter of thePageTemplate.velocityTemplate
attribute.- Returns:
- the velocityTemplate
-
getVelocityTemplate
public java.lang.String getVelocityTemplate()
Generated method - Getter of thePageTemplate.velocityTemplate
attribute.- Returns:
- the velocityTemplate
-
setVelocityTemplate
public void setVelocityTemplate(SessionContext ctx, java.lang.String value)
Generated method - Setter of thePageTemplate.velocityTemplate
attribute.- Parameters:
value
- the velocityTemplate
-
setVelocityTemplate
public void setVelocityTemplate(java.lang.String value)
Generated method - Setter of thePageTemplate.velocityTemplate
attribute.- Parameters:
value
- the velocityTemplate
-
-