public abstract class GeneratedAbstractPage extends CMSItem
AbstractPage.GenericItem.GenericItemImplLocalizableItem.LocalizableItemImplExtensibleItem.ExtensibleItemImplItem.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException| Modifier and Type | Field and Description |
|---|---|
static String |
APPROVALSTATUS
Qualifier of the
AbstractPage.approvalStatus attribute |
static String |
AVAILABLECONTENTSLOTS
Qualifier of the
AbstractPage.availableContentSlots attribute |
static String |
CONTENTSLOTS
Qualifier of the
AbstractPage.contentSlots attribute |
protected static Map<String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static String |
DEFAULTPAGE
Qualifier of the
AbstractPage.defaultPage attribute |
static String |
LOCKEDBY
Qualifier of the
AbstractPage.lockedBy attribute |
protected static BidirectionalOneToManyHandler<GeneratedAbstractPage> |
LOCKEDBYHANDLER
BidirectionalOneToManyHandler for handling 1:n LOCKEDBY's relation attributes from 'one' side. |
static String |
MASTERTEMPLATE
Qualifier of the
AbstractPage.masterTemplate attribute |
static String |
MISSINGCONTENTSLOTS
Qualifier of the
AbstractPage.missingContentSlots attribute |
static String |
ONLYONERESTRICTIONMUSTAPPLY
Qualifier of the
AbstractPage.onlyOneRestrictionMustApply attribute |
static String |
PREVIEWIMAGE
Qualifier of the
AbstractPage.previewImage attribute |
static String |
RESTRICTIONS
Qualifier of the
AbstractPage.restrictions attribute |
protected static String |
RESTRICTIONSFORPAGES_MARKMODIFIED
Relation disable markmodifed parameter constants for RestrictionsForPages from ((cms2))
|
protected static String |
RESTRICTIONSFORPAGES_SRC_ORDERED
Relation ordering override parameter constants for RestrictionsForPages from ((cms2))
|
protected static String |
RESTRICTIONSFORPAGES_TGT_ORDERED |
static String |
TITLE
Qualifier of the
AbstractPage.title attribute |
static String |
TYPE
Qualifier of the
AbstractPage.type attribute |
static String |
TYPECODE
Qualifier of the
AbstractPage.typeCode attribute |
static String |
VIEW
Qualifier of the
AbstractPage.view attribute |
CATALOGVERSION, NAME, UIDLANGUAGE_FALLBACK_ENABLED_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjectsimpl, tenant| Constructor and Description |
|---|
GeneratedAbstractPage() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToRestrictions(AbstractRestriction value)
Generated method - Adds
value to restrictions. |
void |
addToRestrictions(SessionContext ctx,
AbstractRestriction value)
Generated method - Adds
value to restrictions. |
protected Item |
createItem(SessionContext ctx,
ComposedType type,
Item.ItemAttributeMap allAttributes)
Has to be implemented for each concrete subtype of item.
|
Map<Language,String> |
getAllTitle()
Generated method - Getter of the
AbstractPage.title attribute. |
Map<Language,String> |
getAllTitle(SessionContext ctx)
Generated method - Getter of the
AbstractPage.title attribute. |
Map<Language,String> |
getAllType()
Generated method - Getter of the
AbstractPage.type attribute. |
abstract Map<Language,String> |
getAllType(SessionContext ctx)
Generated method - Getter of the
AbstractPage.type attribute. |
EnumerationValue |
getApprovalStatus()
Generated method - Getter of the
AbstractPage.approvalStatus attribute. |
EnumerationValue |
getApprovalStatus(SessionContext ctx)
Generated method - Getter of the
AbstractPage.approvalStatus attribute. |
String |
getAvailableContentSlots()
Generated method - Getter of the
AbstractPage.availableContentSlots attribute. |
abstract String |
getAvailableContentSlots(SessionContext ctx)
Generated method - Getter of the
AbstractPage.availableContentSlots attribute. |
List<ContentSlotForPage> |
getContentSlots()
Generated method - Getter of the
AbstractPage.contentSlots attribute. |
abstract List<ContentSlotForPage> |
getContentSlots(SessionContext ctx)
Generated method - Getter of the
AbstractPage.contentSlots attribute. |
protected Map<String,Item.AttributeMode> |
getDefaultAttributeModes() |
User |
getLockedBy()
Generated method - Getter of the
AbstractPage.lockedBy attribute. |
User |
getLockedBy(SessionContext ctx)
Generated method - Getter of the
AbstractPage.lockedBy attribute. |
PageTemplate |
getMasterTemplate()
Generated method - Getter of the
AbstractPage.masterTemplate attribute. |
PageTemplate |
getMasterTemplate(SessionContext ctx)
Generated method - Getter of the
AbstractPage.masterTemplate attribute. |
String |
getMissingContentSlots()
Generated method - Getter of the
AbstractPage.missingContentSlots attribute. |
abstract String |
getMissingContentSlots(SessionContext ctx)
Generated method - Getter of the
AbstractPage.missingContentSlots attribute. |
Media |
getPreviewImage()
Generated method - Getter of the
AbstractPage.previewImage attribute. |
Media |
getPreviewImage(SessionContext ctx)
Generated method - Getter of the
AbstractPage.previewImage attribute. |
List<AbstractRestriction> |
getRestrictions()
Generated method - Getter of the
AbstractPage.restrictions attribute. |
List<AbstractRestriction> |
getRestrictions(SessionContext ctx)
Generated method - Getter of the
AbstractPage.restrictions attribute. |
long |
getRestrictionsCount() |
long |
getRestrictionsCount(SessionContext ctx) |
String |
getTitle()
Generated method - Getter of the
AbstractPage.title attribute. |
String |
getTitle(SessionContext ctx)
Generated method - Getter of the
AbstractPage.title attribute. |
String |
getType()
Generated method - Getter of the
AbstractPage.type attribute. |
abstract String |
getType(SessionContext ctx)
Generated method - Getter of the
AbstractPage.type attribute. |
String |
getTypeCode()
Generated method - Getter of the
AbstractPage.typeCode attribute. |
abstract String |
getTypeCode(SessionContext ctx)
Generated method - Getter of the
AbstractPage.typeCode attribute. |
String |
getView()
Generated method - Getter of the
AbstractPage.view attribute. |
abstract String |
getView(SessionContext ctx)
Generated method - Getter of the
AbstractPage.view attribute. |
Boolean |
isDefaultPage()
Generated method - Getter of the
AbstractPage.defaultPage attribute. |
Boolean |
isDefaultPage(SessionContext ctx)
Generated method - Getter of the
AbstractPage.defaultPage attribute. |
boolean |
isDefaultPageAsPrimitive()
Generated method - Getter of the
AbstractPage.defaultPage attribute. |
boolean |
isDefaultPageAsPrimitive(SessionContext ctx)
Generated method - Getter of the
AbstractPage.defaultPage attribute. |
Boolean |
isOnlyOneRestrictionMustApply()
Generated method - Getter of the
AbstractPage.onlyOneRestrictionMustApply attribute. |
Boolean |
isOnlyOneRestrictionMustApply(SessionContext ctx)
Generated method - Getter of the
AbstractPage.onlyOneRestrictionMustApply attribute. |
boolean |
isOnlyOneRestrictionMustApplyAsPrimitive()
Generated method - Getter of the
AbstractPage.onlyOneRestrictionMustApply attribute. |
boolean |
isOnlyOneRestrictionMustApplyAsPrimitive(SessionContext ctx)
Generated method - Getter of the
AbstractPage.onlyOneRestrictionMustApply attribute. |
void |
removeFromRestrictions(AbstractRestriction value)
Generated method - Removes
value from restrictions. |
void |
removeFromRestrictions(SessionContext ctx,
AbstractRestriction value)
Generated method - Removes
value from restrictions. |
void |
setAllTitle(Map<Language,String> value)
Generated method - Setter of the
AbstractPage.title attribute. |
void |
setAllTitle(SessionContext ctx,
Map<Language,String> value)
Generated method - Setter of the
AbstractPage.title attribute. |
void |
setApprovalStatus(EnumerationValue value)
Generated method - Setter of the
AbstractPage.approvalStatus attribute. |
void |
setApprovalStatus(SessionContext ctx,
EnumerationValue value)
Generated method - Setter of the
AbstractPage.approvalStatus attribute. |
void |
setDefaultPage(boolean value)
Generated method - Setter of the
AbstractPage.defaultPage attribute. |
void |
setDefaultPage(Boolean value)
Generated method - Setter of the
AbstractPage.defaultPage attribute. |
void |
setDefaultPage(SessionContext ctx,
boolean value)
Generated method - Setter of the
AbstractPage.defaultPage attribute. |
void |
setDefaultPage(SessionContext ctx,
Boolean value)
Generated method - Setter of the
AbstractPage.defaultPage attribute. |
void |
setLockedBy(SessionContext ctx,
User value)
Generated method - Setter of the
AbstractPage.lockedBy attribute. |
void |
setLockedBy(User value)
Generated method - Setter of the
AbstractPage.lockedBy attribute. |
void |
setMasterTemplate(PageTemplate value)
Generated method - Setter of the
AbstractPage.masterTemplate attribute. |
void |
setMasterTemplate(SessionContext ctx,
PageTemplate value)
Generated method - Setter of the
AbstractPage.masterTemplate attribute. |
void |
setOnlyOneRestrictionMustApply(boolean value)
Generated method - Setter of the
AbstractPage.onlyOneRestrictionMustApply attribute. |
void |
setOnlyOneRestrictionMustApply(Boolean value)
Generated method - Setter of the
AbstractPage.onlyOneRestrictionMustApply attribute. |
void |
setOnlyOneRestrictionMustApply(SessionContext ctx,
boolean value)
Generated method - Setter of the
AbstractPage.onlyOneRestrictionMustApply attribute. |
void |
setOnlyOneRestrictionMustApply(SessionContext ctx,
Boolean value)
Generated method - Setter of the
AbstractPage.onlyOneRestrictionMustApply attribute. |
void |
setPreviewImage(Media value)
Generated method - Setter of the
AbstractPage.previewImage attribute. |
void |
setPreviewImage(SessionContext ctx,
Media value)
Generated method - Setter of the
AbstractPage.previewImage attribute. |
void |
setRestrictions(List<AbstractRestriction> value)
Generated method - Setter of the
AbstractPage.restrictions attribute. |
void |
setRestrictions(SessionContext ctx,
List<AbstractRestriction> value)
Generated method - Setter of the
AbstractPage.restrictions attribute. |
void |
setTitle(SessionContext ctx,
String value)
Generated method - Setter of the
AbstractPage.title attribute. |
void |
setTitle(String value)
Generated method - Setter of the
AbstractPage.title attribute. |
getCatalogVersion, getCatalogVersion, getName, getUid, getUid, setCatalogVersion, setCatalogVersion, setName, setName, setUid, setUidgetInitialProperties, getNonInitialAttributesgetAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedPropertycreateNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setPropertyaddLinkedItems, 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, readResolve, refreshRemote, 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, writeReplacegetImplementation, setTenantpublic static final String APPROVALSTATUS
AbstractPage.approvalStatus attributepublic static final String TITLE
AbstractPage.title attributepublic static final String MASTERTEMPLATE
AbstractPage.masterTemplate attributepublic static final String DEFAULTPAGE
AbstractPage.defaultPage attributepublic static final String ONLYONERESTRICTIONMUSTAPPLY
AbstractPage.onlyOneRestrictionMustApply attributepublic static final String PREVIEWIMAGE
AbstractPage.previewImage attributepublic static final String CONTENTSLOTS
AbstractPage.contentSlots attributepublic static final String TYPE
AbstractPage.type attributepublic static final String TYPECODE
AbstractPage.typeCode attributepublic static final String MISSINGCONTENTSLOTS
AbstractPage.missingContentSlots attributepublic static final String AVAILABLECONTENTSLOTS
AbstractPage.availableContentSlots attributepublic static final String VIEW
AbstractPage.view attributepublic static final String RESTRICTIONS
AbstractPage.restrictions attributeprotected static String RESTRICTIONSFORPAGES_SRC_ORDERED
protected static String RESTRICTIONSFORPAGES_TGT_ORDERED
protected static String RESTRICTIONSFORPAGES_MARKMODIFIED
public static final String LOCKEDBY
AbstractPage.lockedBy attributeprotected static final BidirectionalOneToManyHandler<GeneratedAbstractPage> LOCKEDBYHANDLER
BidirectionalOneToManyHandler for handling 1:n LOCKEDBY's relation attributes from 'one' side.protected static final Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
getDefaultAttributeModes in class GeneratedCMSItempublic EnumerationValue getApprovalStatus(SessionContext ctx)
AbstractPage.approvalStatus attribute.public EnumerationValue getApprovalStatus()
AbstractPage.approvalStatus attribute.public void setApprovalStatus(SessionContext ctx, EnumerationValue value)
AbstractPage.approvalStatus attribute.value - the approvalStatuspublic void setApprovalStatus(EnumerationValue value)
AbstractPage.approvalStatus attribute.value - the approvalStatuspublic abstract String getAvailableContentSlots(SessionContext ctx)
AbstractPage.availableContentSlots attribute.public String getAvailableContentSlots()
AbstractPage.availableContentSlots attribute.public abstract List<ContentSlotForPage> getContentSlots(SessionContext ctx)
AbstractPage.contentSlots attribute.public List<ContentSlotForPage> getContentSlots()
AbstractPage.contentSlots attribute.protected Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException
ItemComposedType.newInstance(Map).
In case this method uses any of the attribute values during creation it is required to override
Item.getNonInitialAttributes(SessionContext, ItemAttributeMap) too.
Sn example:
public static final String MY_ATTRIBUTE = "someAttribute"; ... protected Item createItem(SessionContext
ctx, ComposedType type, Map allAttributes ) throws JaloBusinessException { MyManager man = ... return
man.createMyItem( (String)allAttributes.get(MY_ATTRIBUTE) );
// here MY_ATTRIBUTE is used for creation, so it must not be set again } protected Map getNonInitialAttributes(
SessionContext ctx, Map allAttributes ) { // let superclass remove its own initial attributes Map ret =
super.getNonInitialAttributes( ctx, allAttributes );
// remove MY_ATTRIBUTE from all attributes since if has already been set ret.remove(MY_ATTRIBUTE); return ret; }
createItem in class CMSItemctx - the current session context which this item is created withintype - the actual item type ( since subtypes may not provide a own jalo class this may be different from the
type which this method was implemented for )JaloBusinessException - indicates an error during creation - any changes will be rollbackedpublic Boolean isDefaultPage(SessionContext ctx)
AbstractPage.defaultPage attribute.public Boolean isDefaultPage()
AbstractPage.defaultPage attribute.public boolean isDefaultPageAsPrimitive(SessionContext ctx)
AbstractPage.defaultPage attribute.public boolean isDefaultPageAsPrimitive()
AbstractPage.defaultPage attribute.public void setDefaultPage(SessionContext ctx, Boolean value)
AbstractPage.defaultPage attribute.value - the defaultPagepublic void setDefaultPage(Boolean value)
AbstractPage.defaultPage attribute.value - the defaultPagepublic void setDefaultPage(SessionContext ctx, boolean value)
AbstractPage.defaultPage attribute.value - the defaultPagepublic void setDefaultPage(boolean value)
AbstractPage.defaultPage attribute.value - the defaultPagepublic User getLockedBy(SessionContext ctx)
AbstractPage.lockedBy attribute.public User getLockedBy()
AbstractPage.lockedBy attribute.public void setLockedBy(SessionContext ctx, User value)
AbstractPage.lockedBy attribute.value - the lockedBypublic void setLockedBy(User value)
AbstractPage.lockedBy attribute.value - the lockedBypublic PageTemplate getMasterTemplate(SessionContext ctx)
AbstractPage.masterTemplate attribute.public PageTemplate getMasterTemplate()
AbstractPage.masterTemplate attribute.public void setMasterTemplate(SessionContext ctx, PageTemplate value)
AbstractPage.masterTemplate attribute.value - the masterTemplatepublic void setMasterTemplate(PageTemplate value)
AbstractPage.masterTemplate attribute.value - the masterTemplatepublic abstract String getMissingContentSlots(SessionContext ctx)
AbstractPage.missingContentSlots attribute.public String getMissingContentSlots()
AbstractPage.missingContentSlots attribute.public Boolean isOnlyOneRestrictionMustApply(SessionContext ctx)
AbstractPage.onlyOneRestrictionMustApply attribute.public Boolean isOnlyOneRestrictionMustApply()
AbstractPage.onlyOneRestrictionMustApply attribute.public boolean isOnlyOneRestrictionMustApplyAsPrimitive(SessionContext ctx)
AbstractPage.onlyOneRestrictionMustApply attribute.public boolean isOnlyOneRestrictionMustApplyAsPrimitive()
AbstractPage.onlyOneRestrictionMustApply attribute.public void setOnlyOneRestrictionMustApply(SessionContext ctx, Boolean value)
AbstractPage.onlyOneRestrictionMustApply attribute.value - the onlyOneRestrictionMustApplypublic void setOnlyOneRestrictionMustApply(Boolean value)
AbstractPage.onlyOneRestrictionMustApply attribute.value - the onlyOneRestrictionMustApplypublic void setOnlyOneRestrictionMustApply(SessionContext ctx, boolean value)
AbstractPage.onlyOneRestrictionMustApply attribute.value - the onlyOneRestrictionMustApplypublic void setOnlyOneRestrictionMustApply(boolean value)
AbstractPage.onlyOneRestrictionMustApply attribute.value - the onlyOneRestrictionMustApplypublic Media getPreviewImage(SessionContext ctx)
AbstractPage.previewImage attribute.public Media getPreviewImage()
AbstractPage.previewImage attribute.public void setPreviewImage(SessionContext ctx, Media value)
AbstractPage.previewImage attribute.value - the previewImagepublic void setPreviewImage(Media value)
AbstractPage.previewImage attribute.value - the previewImagepublic List<AbstractRestriction> getRestrictions(SessionContext ctx)
AbstractPage.restrictions attribute.public List<AbstractRestriction> getRestrictions()
AbstractPage.restrictions attribute.public long getRestrictionsCount(SessionContext ctx)
public long getRestrictionsCount()
public void setRestrictions(SessionContext ctx, List<AbstractRestriction> value)
AbstractPage.restrictions attribute.value - the restrictionspublic void setRestrictions(List<AbstractRestriction> value)
AbstractPage.restrictions attribute.value - the restrictionspublic void addToRestrictions(SessionContext ctx, AbstractRestriction value)
value to restrictions.value - the item to add to restrictionspublic void addToRestrictions(AbstractRestriction value)
value to restrictions.value - the item to add to restrictionspublic void removeFromRestrictions(SessionContext ctx, AbstractRestriction value)
value from restrictions.value - the item to remove from restrictionspublic void removeFromRestrictions(AbstractRestriction value)
value from restrictions.value - the item to remove from restrictionspublic String getTitle(SessionContext ctx)
AbstractPage.title attribute.public String getTitle()
AbstractPage.title attribute.public Map<Language,String> getAllTitle(SessionContext ctx)
AbstractPage.title attribute.public Map<Language,String> getAllTitle()
AbstractPage.title attribute.public void setTitle(SessionContext ctx, String value)
AbstractPage.title attribute.value - the titlepublic void setTitle(String value)
AbstractPage.title attribute.value - the titlepublic void setAllTitle(SessionContext ctx, Map<Language,String> value)
AbstractPage.title attribute.value - the titlepublic void setAllTitle(Map<Language,String> value)
AbstractPage.title attribute.value - the titlepublic abstract String getType(SessionContext ctx)
AbstractPage.type attribute.public String getType()
AbstractPage.type attribute.public abstract Map<Language,String> getAllType(SessionContext ctx)
AbstractPage.type attribute.public Map<Language,String> getAllType()
AbstractPage.type attribute.public abstract String getTypeCode(SessionContext ctx)
AbstractPage.typeCode attribute.public String getTypeCode()
AbstractPage.typeCode attribute.public abstract String getView(SessionContext ctx)
AbstractPage.view attribute.public String getView()
AbstractPage.view attribute.Copyright © 2017 SAP SE. All Rights Reserved.