public class Publication extends GeneratedPublication implements PrintPublication
GenericItem.GenericItemImplLocalizableItem.LocalizableItemImplExtensibleItem.ExtensibleItemImplItem.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationExceptionACTIVE, CHAPTERSCONFIGURATION, CODE, COMMENT, COMPONENTS, COMPONENTSHANDLER, CONFIGURATION, DEFAULT_INITIAL_ATTRIBUTES, DEFAULTMEDIACONTEXT, DESCRIPTION, DOCUMENTTEMPLATE, FILEHANDLING, FILENAME, FILEPATH, LANGUAGEFALLBACKENABLED, LOGO, MEDIA, PAGEFORMAT, PICTURE, PLANNEDREVENUE, PREVIEWIMAGES, PREVIEWPDFS, PREVIEWS, PREVIEWSHANDLER, PRICEDATE, PRICESARENET, PRINCIPAL2READABLEPUBLICATIONRELATION_MARKMODIFIED, PRINCIPAL2READABLEPUBLICATIONRELATION_SRC_ORDERED, PRINCIPAL2READABLEPUBLICATIONRELATION_TGT_ORDERED, PRINCIPAL2WRITEABLEPUBLICATIONRELATION_MARKMODIFIED, PRINCIPAL2WRITEABLEPUBLICATIONRELATION_SRC_ORDERED, PRINCIPAL2WRITEABLEPUBLICATIONRELATION_TGT_ORDERED, PUBLICATION2MEDIA_MARKMODIFIED, PUBLICATION2MEDIA_SRC_ORDERED, PUBLICATION2MEDIA_TGT_ORDERED, REACHEDREVENUE, READPRINCIPALS, ROOTCHAPTERS, SESSIONCURRENCY, SESSIONUSER, STATUS, SUBTITLE, SUBTITLE2, TITLE, UNASSIGNEDPAGES, VISIBLEINDTP, 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 |
|---|
Publication() |
| Modifier and Type | Method and Description |
|---|---|
String |
generateUniqueComponentID() |
String |
getDocumentTemplate(SessionContext ctx)
Generated method - Getter of the
Publication.documentTemplate attribute. |
String |
getFileName(SessionContext ctx)
Generated method - Getter of the
Publication.fileName attribute. |
String |
getFilePath(SessionContext ctx)
Generated method - Getter of the
Publication.filePath attribute. |
List<Media> |
getMedia()
Generated method - Getter of the
Publication.media attribute. |
Collection<PlaceholderTemplate> |
getPlaceholderTemplatesInUse()
Returns all PlaceholderTemplates that are used within this publication.
|
Double |
getPlannedRevenue(SessionContext ctx)
Generated method - Getter of the
Publication.plannedRevenue attribute. |
Collection<CometFile> |
getPreviewImages(SessionContext ctx)
Generated method - Getter of the
Publication.previewImages attribute. |
Collection<CometFile> |
getPreviewPdfs(SessionContext ctx)
Generated method - Getter of the
Publication.previewPdfs attribute. |
Item |
getPublicationElementById(String id) |
Double |
getReachedRevenue(SessionContext ctx)
Generated method - Getter of the
Publication.reachedRevenue attribute. |
Collection<Chapter> |
getRootChapters(SessionContext ctx)
Returns all root chapters
|
Collection<Page> |
getUnassignedPages(SessionContext ctx)
Generated method - Getter of the
Publication.unassignedPages attribute. |
boolean |
isReadable(Principal principal)
Returns true if principal can read this publication
|
boolean |
isUsingNetPrices() |
boolean |
isWritable(Principal principal)
Returns true if principal can write/change/delete this publication
|
void |
setDocumentTemplate(SessionContext ctx,
String value)
Generated method - Setter of the
Publication.documentTemplate attribute. |
void |
setFileName(SessionContext ctx,
String value)
Generated method - Setter of the
Publication.fileName attribute. |
void |
setFilePath(SessionContext ctx,
String value)
Generated method - Setter of the
Publication.filePath attribute. |
boolean |
useLanguageFallback() |
addToComponents, addToComponents, addToMedia, addToMedia, addToPreviews, addToPreviews, addToReadPrincipals, addToReadPrincipals, addToWritePrincipals, addToWritePrincipals, getAllDescription, getAllDescription, getAllSubTitle, getAllSubTitle, getAllSubTitle2, getAllSubTitle2, getAllTitle, getAllTitle, getChaptersConfiguration, getChaptersConfiguration, getCode, getCode, getComment, getComment, getComponents, getComponents, getConfiguration, getConfiguration, getDefaultAttributeModes, getDefaultMediaContext, getDefaultMediaContext, getDescription, getDescription, getDocumentTemplate, getFileHandling, getFileHandling, getFileName, getFilePath, getLogo, getLogo, getMedia, getMediaCount, getMediaCount, getPageFormat, getPageFormat, getPicture, getPicture, getPlannedRevenue, getPlannedRevenueAsPrimitive, getPlannedRevenueAsPrimitive, getPreviewImages, getPreviewPdfs, getPreviews, getPreviews, getPriceDate, getPriceDate, getReachedRevenue, getReachedRevenueAsPrimitive, getReachedRevenueAsPrimitive, getReadPrincipals, getReadPrincipals, getReadPrincipalsCount, getReadPrincipalsCount, getRootChapters, getSessionCurrency, getSessionCurrency, getSessionUser, getSessionUser, getStatus, getStatus, getSubTitle, getSubTitle, getSubTitle2, getSubTitle2, getTitle, getTitle, getUnassignedPages, getWritePrincipals, getWritePrincipals, getWritePrincipalsCount, getWritePrincipalsCount, isActive, isActive, isActiveAsPrimitive, isActiveAsPrimitive, isLanguageFallbackEnabled, isLanguageFallbackEnabled, isLanguageFallbackEnabledAsPrimitive, isLanguageFallbackEnabledAsPrimitive, isPricesAreNet, isPricesAreNet, isPricesAreNetAsPrimitive, isPricesAreNetAsPrimitive, isVisibleInDTP, isVisibleInDTP, isVisibleInDTPAsPrimitive, isVisibleInDTPAsPrimitive, removeFromComponents, removeFromComponents, removeFromMedia, removeFromMedia, removeFromPreviews, removeFromPreviews, removeFromReadPrincipals, removeFromReadPrincipals, removeFromWritePrincipals, removeFromWritePrincipals, setActive, setActive, setActive, setActive, setAllDescription, setAllDescription, setAllSubTitle, setAllSubTitle, setAllSubTitle2, setAllSubTitle2, setAllTitle, setAllTitle, setChaptersConfiguration, setChaptersConfiguration, setCode, setCode, setComment, setComment, setComponents, setComponents, setConfiguration, setConfiguration, setDefaultMediaContext, setDefaultMediaContext, setDescription, setDescription, setDocumentTemplate, setFileHandling, setFileHandling, setFileName, setFilePath, setLanguageFallbackEnabled, setLanguageFallbackEnabled, setLanguageFallbackEnabled, setLanguageFallbackEnabled, setLogo, setLogo, setMedia, setMedia, setPageFormat, setPageFormat, setPicture, setPicture, setPreviews, setPreviews, setPriceDate, setPriceDate, setPricesAreNet, setPricesAreNet, setPricesAreNet, setPricesAreNet, setReadPrincipals, setReadPrincipals, setSessionCurrency, setSessionCurrency, setSessionUser, setSessionUser, setStatus, setStatus, setSubTitle, setSubTitle, setSubTitle2, setSubTitle2, setTitle, setTitle, setVisibleInDTP, setVisibleInDTP, setVisibleInDTP, setVisibleInDTP, setWritePrincipals, setWritePrincipalscreateItem, getInitialProperties, 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, setTenantclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCode, getConfiguration, getPriceDate, getSessionCurrency, getSessionUser, isVisibleInDTPAsPrimitivepublic String generateUniqueComponentID()
public Item getPublicationElementById(String id)
getPublicationElementById in interface PrintPublicationpublic Collection<Chapter> getRootChapters(SessionContext ctx)
getRootChapters in class GeneratedPublicationctx - The SessionContextpublic Collection<Page> getUnassignedPages(SessionContext ctx)
GeneratedPublicationPublication.unassignedPages attribute.getUnassignedPages in class GeneratedPublicationpublic Collection<PlaceholderTemplate> getPlaceholderTemplatesInUse()
public List<Media> getMedia()
GeneratedPublicationPublication.media attribute.getMedia in class GeneratedPublicationpublic String getDocumentTemplate(SessionContext ctx)
GeneratedPublicationPublication.documentTemplate attribute.getDocumentTemplate in class GeneratedPublicationpublic String getFileName(SessionContext ctx)
GeneratedPublicationPublication.fileName attribute.getFileName in class GeneratedPublicationpublic String getFilePath(SessionContext ctx)
GeneratedPublicationPublication.filePath attribute.getFilePath in class GeneratedPublicationpublic void setDocumentTemplate(SessionContext ctx, String value)
GeneratedPublicationPublication.documentTemplate attribute.setDocumentTemplate in class GeneratedPublicationvalue - the documentTemplate - Client side path where document templates can be foundpublic void setFileName(SessionContext ctx, String value)
GeneratedPublicationPublication.fileName attribute.setFileName in class GeneratedPublicationvalue - the fileNamepublic void setFilePath(SessionContext ctx, String value)
GeneratedPublicationPublication.filePath attribute.setFilePath in class GeneratedPublicationvalue - the filePath - Client side path where documents can be foundpublic boolean useLanguageFallback()
useLanguageFallback in interface PrintPublicationpublic boolean isUsingNetPrices()
isUsingNetPrices in interface PrintPublicationpublic Double getPlannedRevenue(SessionContext ctx)
GeneratedPublicationPublication.plannedRevenue attribute.getPlannedRevenue in class GeneratedPublicationpublic Double getReachedRevenue(SessionContext ctx)
GeneratedPublicationPublication.reachedRevenue attribute.getReachedRevenue in class GeneratedPublicationpublic Collection<CometFile> getPreviewImages(SessionContext ctx)
GeneratedPublicationPublication.previewImages attribute.getPreviewImages in class GeneratedPublicationpublic Collection<CometFile> getPreviewPdfs(SessionContext ctx)
GeneratedPublicationPublication.previewPdfs attribute.getPreviewPdfs in class GeneratedPublicationpublic boolean isReadable(Principal principal)
isReadable in interface PrintPublicationprincipal - public boolean isWritable(Principal principal)
isWritable in interface PrintPublicationprincipal - Copyright © 2017 SAP SE. All Rights Reserved.