public class Chapter extends GeneratedChapter
GenericItem.GenericItemImplLocalizableItem.LocalizableItemImplExtensibleItem.ExtensibleItemImplItem.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationExceptionCHAPTERCONFIGURATION, CODE, COMMENT, DEFAULT_INITIAL_ATTRIBUTES, DESCRIPTION, DOCUMENTTEMPLATE, FILENAME, FILEPATH, FOOTER, HEADER, PAGES, PAGESHANDLER, PICTURE, PLANNEDREVENUE, PREVIEWIMAGES, PREVIEWPDFS, PREVIEWS, PREVIEWSHANDLER, REACHEDREVENUE, STATUS, SUBCHAPTERS, SUBCHAPTERSHANDLER, SUBTITLE, SUBTITLE2, SUPERCHAPTER, SUPERCHAPTERHANDLER, SUPERCHAPTERPOS, TITLEID, PRINCIPAL2READABLEPUBLICATIONCOMPONENTRELATION_MARKMODIFIED, PRINCIPAL2READABLEPUBLICATIONCOMPONENTRELATION_SRC_ORDERED, PRINCIPAL2READABLEPUBLICATIONCOMPONENTRELATION_TGT_ORDERED, PRINCIPAL2WRITEABLEPUBLICATIONCOMPONENTRELATION_MARKMODIFIED, PRINCIPAL2WRITEABLEPUBLICATIONCOMPONENTRELATION_SRC_ORDERED, PRINCIPAL2WRITEABLEPUBLICATIONCOMPONENTRELATION_TGT_ORDERED, PUBLICATION, PUBLICATIONHANDLER, PUBLICATIONPOS, READPRINCIPALS, WRITEPRINCIPALSLANGUAGE_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, staticTransientObjects, TYPEimpl, tenant| Constructor and Description |
|---|
Chapter() |
| Modifier and Type | Method and Description |
|---|---|
protected ChapterConfiguration |
getChapterConfigurationByLevel(Collection<ChapterConfiguration> chapterConfigurations,
int level)
Returns the ChapterConfiguration that corresponds to the given category level
(or null, of an applicable ChapterConfiguration could not be found) |
String |
getDocumentTemplate(SessionContext ctx)
Generated method - Getter of the
Chapter.documentTemplate attribute. |
String |
getFileName(SessionContext ctx)
Generated method - Getter of the
Chapter.fileName attribute. |
String |
getFilePath(SessionContext ctx)
Generated method - Getter of the
Chapter.filePath attribute. |
EnumerationValue |
getFlowControl()
Returns the FlowControl setting for this Chapter (or null, if no FlowControl type was set)
|
int |
getFlowControlAsInt()
Returns the FlowControl setting for this ContentCategory as int
|
protected int |
getLevel()
Returns the chapter level of this chapter
|
Double |
getPlannedRevenue(SessionContext ctx)
Generated method - Getter of the
Chapter.plannedRevenue attribute. |
Collection<CometFile> |
getPreviewImages(SessionContext ctx)
Generated method - Getter of the
Chapter.previewImages attribute. |
Collection<CometFile> |
getPreviewPdfs(SessionContext ctx)
Generated method - Getter of the
Chapter.previewPdfs attribute. |
Double |
getReachedRevenue(SessionContext ctx)
Generated method - Getter of the
Chapter.reachedRevenue attribute. |
void |
setDocumentTemplate(SessionContext ctx,
String value)
Generated method - Setter of the
Chapter.documentTemplate attribute. |
void |
setFileName(SessionContext ctx,
String value)
Generated method - Setter of the
Chapter.fileName attribute. |
void |
setFilePath(SessionContext ctx,
String value)
Generated method - Setter of the
Chapter.filePath attribute. |
void |
setSuperChapter(SessionContext ctx,
Chapter chapter)
Generated method - Setter of the
Chapter.superChapter attribute. |
boolean |
showChapter()
Returns TRUE if this Chapter shall be displayed/used in a document
|
addToPages, addToPages, addToPreviews, addToPreviews, addToSubChapters, addToSubChapters, createItem, getAllDescription, getAllDescription, getAllFooter, getAllFooter, getAllHeader, getAllHeader, getAllSubTitle, getAllSubTitle, getAllSubTitle2, getAllSubTitle2, getAllTitle, getAllTitle, getChapterConfiguration, getChapterConfiguration, getCode, getCode, getComment, getComment, getDefaultAttributeModes, getDescription, getDescription, getDocumentTemplate, getFileName, getFilePath, getFooter, getFooter, getHeader, getHeader, getPages, getPages, getPicture, getPicture, getPlannedRevenue, getPlannedRevenueAsPrimitive, getPlannedRevenueAsPrimitive, getPreviewImages, getPreviewPdfs, getPreviews, getPreviews, getReachedRevenue, getReachedRevenueAsPrimitive, getReachedRevenueAsPrimitive, getStatus, getStatus, getSubChapters, getSubChapters, getSubTitle, getSubTitle, getSubTitle2, getSubTitle2, getSuperChapter, getSuperChapter, getTitle, getTitle, removeFromPages, removeFromPages, removeFromPreviews, removeFromPreviews, removeFromSubChapters, removeFromSubChapters, setAllDescription, setAllDescription, setAllFooter, setAllFooter, setAllHeader, setAllHeader, setAllSubTitle, setAllSubTitle, setAllSubTitle2, setAllSubTitle2, setAllTitle, setAllTitle, setChapterConfiguration, setChapterConfiguration, setCode, setCode, setComment, setComment, setDescription, setDescription, setDocumentTemplate, setFileName, setFilePath, setFooter, setFooter, setHeader, setHeader, setPages, setPages, setPicture, setPicture, setPreviews, setPreviews, setStatus, setStatus, setSubChapters, setSubChapters, setSubTitle, setSubTitle, setSubTitle2, setSubTitle2, setSuperChapter, setTitle, setTitleisReadable, isWritableaddToReadPrincipals, addToReadPrincipals, addToWritePrincipals, addToWritePrincipals, getId, getId, getPublication, getPublication, getReadPrincipals, getReadPrincipals, getReadPrincipalsCount, getReadPrincipalsCount, getWritePrincipals, getWritePrincipals, getWritePrincipalsCount, getWritePrincipalsCount, removeFromReadPrincipals, removeFromReadPrincipals, removeFromWritePrincipals, removeFromWritePrincipals, setId, setId, setPublication, setPublication, setReadPrincipals, setReadPrincipals, setWritePrincipals, setWritePrincipalsgetInitialProperties, 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 EnumerationValue getFlowControl() throws JaloItemNotFoundException
JaloItemNotFoundException - If a Publication could not be foundpublic int getFlowControlAsInt()
public boolean showChapter()
throws JaloItemNotFoundException
JaloItemNotFoundException - If a related Publication could not be foundprotected int getLevel()
protected ChapterConfiguration getChapterConfigurationByLevel(Collection<ChapterConfiguration> chapterConfigurations, int level)
chapterConfigurations - level - public String getDocumentTemplate(SessionContext ctx)
GeneratedChapterChapter.documentTemplate attribute.getDocumentTemplate in class GeneratedChapterpublic String getFileName(SessionContext ctx)
GeneratedChapterChapter.fileName attribute.getFileName in class GeneratedChapterpublic String getFilePath(SessionContext ctx)
GeneratedChapterChapter.filePath attribute.getFilePath in class GeneratedChapterpublic void setDocumentTemplate(SessionContext ctx, String value)
GeneratedChapterChapter.documentTemplate attribute.setDocumentTemplate in class GeneratedChaptervalue - the documentTemplatepublic void setFileName(SessionContext ctx, String value)
GeneratedChapterChapter.fileName attribute.setFileName in class GeneratedChaptervalue - the fileNamepublic void setFilePath(SessionContext ctx, String value)
GeneratedChapterChapter.filePath attribute.setFilePath in class GeneratedChaptervalue - the filePathpublic void setSuperChapter(SessionContext ctx, Chapter chapter)
GeneratedChapterChapter.superChapter attribute.setSuperChapter in class GeneratedChapterchapter - the superChapterpublic Double getPlannedRevenue(SessionContext ctx)
GeneratedChapterChapter.plannedRevenue attribute.getPlannedRevenue in class GeneratedChapterpublic Double getReachedRevenue(SessionContext ctx)
GeneratedChapterChapter.reachedRevenue attribute.getReachedRevenue in class GeneratedChapterpublic Collection<CometFile> getPreviewImages(SessionContext ctx)
GeneratedChapterChapter.previewImages attribute.getPreviewImages in class GeneratedChapterpublic Collection<CometFile> getPreviewPdfs(SessionContext ctx)
GeneratedChapterChapter.previewPdfs attribute.getPreviewPdfs in class GeneratedChapterCopyright © 2017 SAP SE. All Rights Reserved.