public class CometConfiguration extends GeneratedCometConfiguration
GenericItem.GenericItemImplLocalizableItem.LocalizableItemImplExtensibleItem.ExtensibleItemImplItem.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationExceptionACTIONS, ACTIONSHANDLER, CODE, CONFIGURATIONFILES, CONFIGURATIONFILESHANDLER, DEFAULT_INITIAL_ATTRIBUTES, DEFAULTCONFIGURATION, DEFAULTDELETEAUTOCOMETJOB, GRIDS, GRIDSHANDLER, IMAGEROOT, LAYOUTTEMPLATES, LAYOUTTEMPLATESHANDLER, NAME, PAGEPREVIEWSIZE, PDFPRESET, PLACEHOLDERS, PLACEHOLDERSHANDLER, PLACEHOLDERTEMPLATES, PLACEHOLDERTEMPLATESHANDLER, PREVIEWHISTORYCOUNT, PUBLICATIONCONTROLLER, SERVERTEMPLATEPATH, SERVERWORKINGPATH, TRANSLATORCONFIGURATIONLANGUAGE_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 |
|---|
CometConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addToOpenedFiles(String filename,
boolean override) |
void |
clearSessionInfo() |
Action |
getActionById(int id) |
CometBinary |
getBinaryFile(String fileId) |
CometFile |
getConfigurationFile(String fileId)
Returns the CometFile with the specified name that belongs to this CometConfiguration
|
Collection<CometFile> |
getConfigurationFiles(SessionContext ctx)
Returns all CometFiles that are related to this CometConfiguration
|
EnumerationValue |
getDefaultDeleteAutoCometJob(SessionContext ctx)
Generated method - Getter of the
CometConfiguration.defaultDeleteAutoCometJob attribute. |
Grid |
getGridById(int id) |
String |
getImageRootFallback(OS os) |
LayoutTemplate |
getLayoutTemplateById(int id) |
protected Date |
getOpenedFileTS(String filename) |
CometFile |
getOrCreateFile(String fileId) |
protected Map<String,Date> |
getOrCreateOpenedFilesMap() |
Placeholder |
getPlaceholderById(int id) |
void |
putBinaryFile(String fileId,
CometBinary file)
This method is called when in a crpt script a file is uploaded.
|
protected void |
putBinaryXmlFile(String fileId,
byte[] content) |
protected void |
putCommentFile(CometBinary file) |
protected void |
putPreviewFile(CometFile cometFile) |
protected void |
removeFromOpenedFiles(String filename) |
void |
setDefaultConfiguration(SessionContext ctx,
Boolean param)
Generated method - Setter of the
CometConfiguration.defaultConfiguration attribute. |
void |
syncConfigFiles() |
protected void |
updateFile(String fileId)
Updates the stored file according to existing items.
|
protected void |
updateItems(String fileId,
InputStream content) |
addToActions, addToActions, addToConfigurationFiles, addToConfigurationFiles, addToGrids, addToGrids, addToLayoutTemplates, addToLayoutTemplates, addToPlaceholders, addToPlaceholders, addToPlaceholderTemplates, addToPlaceholderTemplates, getActions, getActions, getAllName, getAllName, getCode, getCode, getConfigurationFiles, getDefaultAttributeModes, getDefaultDeleteAutoCometJob, getGrids, getGrids, getImageRoot, getImageRoot, getLayoutTemplates, getLayoutTemplates, getName, getName, getPagePreviewSize, getPagePreviewSize, getPagePreviewSizeAsPrimitive, getPagePreviewSizeAsPrimitive, getPdfPreset, getPdfPreset, getPlaceholders, getPlaceholders, getPlaceholderTemplates, getPlaceholderTemplates, getPreviewHistoryCount, getPreviewHistoryCount, getPreviewHistoryCountAsPrimitive, getPreviewHistoryCountAsPrimitive, getPublicationController, getPublicationController, getServerTemplatePath, getServerTemplatePath, getServerWorkingPath, getServerWorkingPath, getTranslatorConfiguration, getTranslatorConfiguration, isDefaultConfiguration, isDefaultConfiguration, isDefaultConfigurationAsPrimitive, isDefaultConfigurationAsPrimitive, removeFromActions, removeFromActions, removeFromConfigurationFiles, removeFromConfigurationFiles, removeFromGrids, removeFromGrids, removeFromLayoutTemplates, removeFromLayoutTemplates, removeFromPlaceholders, removeFromPlaceholders, removeFromPlaceholderTemplates, removeFromPlaceholderTemplates, setActions, setActions, setAllName, setAllName, setCode, setCode, setConfigurationFiles, setConfigurationFiles, setDefaultConfiguration, setDefaultConfiguration, setDefaultConfiguration, setDefaultDeleteAutoCometJob, setDefaultDeleteAutoCometJob, setGrids, setGrids, setImageRoot, setImageRoot, setLayoutTemplates, setLayoutTemplates, setName, setName, setPagePreviewSize, setPagePreviewSize, setPagePreviewSize, setPagePreviewSize, setPdfPreset, setPdfPreset, setPlaceholders, setPlaceholders, setPlaceholderTemplates, setPlaceholderTemplates, setPreviewHistoryCount, setPreviewHistoryCount, setPreviewHistoryCount, setPreviewHistoryCount, setPublicationController, setPublicationController, setServerTemplatePath, setServerTemplatePath, setServerWorkingPath, setServerWorkingPath, setTranslatorConfiguration, setTranslatorConfigurationcreateItem, 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, setTenantpublic CometBinary getBinaryFile(String fileId) throws CometException
CometExceptionprotected void putCommentFile(CometBinary file) throws JAXBException, CometException
JAXBExceptionCometExceptionprotected void putPreviewFile(CometFile cometFile)
public void putBinaryFile(String fileId, CometBinary file) throws CometException
fileId - the filenamefile - the fileCometExceptionprotected void updateFile(String fileId) throws JaloBusinessException, IOException
fileId - JaloBusinessExceptionIOExceptionprotected void putBinaryXmlFile(String fileId, byte[] content) throws JaloBusinessException
JaloBusinessExceptionprotected void updateItems(String fileId, InputStream content) throws JaloBusinessException
JaloBusinessExceptionpublic void syncConfigFiles()
public CometFile getConfigurationFile(String fileId)
fileId - The file name of the Comet configuration filepublic Collection<CometFile> getConfigurationFiles(SessionContext ctx)
getConfigurationFiles in class GeneratedCometConfigurationpublic CometFile getOrCreateFile(String fileId) throws JaloBusinessException
JaloBusinessExceptionpublic Grid getGridById(int id)
public Placeholder getPlaceholderById(int id)
public Action getActionById(int id)
public LayoutTemplate getLayoutTemplateById(int id)
protected void addToOpenedFiles(String filename, boolean override)
protected void removeFromOpenedFiles(String filename)
public void clearSessionInfo()
public void setDefaultConfiguration(SessionContext ctx, Boolean param)
GeneratedCometConfigurationCometConfiguration.defaultConfiguration attribute.setDefaultConfiguration in class GeneratedCometConfigurationparam - the defaultConfigurationpublic EnumerationValue getDefaultDeleteAutoCometJob(SessionContext ctx)
GeneratedCometConfigurationCometConfiguration.defaultDeleteAutoCometJob attribute.getDefaultDeleteAutoCometJob in class GeneratedCometConfigurationCopyright © 2017 SAP SE. All Rights Reserved.