public abstract class GeneratedCometFile extends Media
CometFile.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 |
CHAPTERPREVIEW
Qualifier of the
CometFile.chapterPreview attribute |
protected static BidirectionalOneToManyHandler<GeneratedCometFile> |
CHAPTERPREVIEWHANDLER
BidirectionalOneToManyHandler for handling 1:n CHAPTERPREVIEW's relation attributes from 'one' side. |
static String |
CHAPTERPREVIEWPOS
Qualifier of the
CometFile.chapterPreviewPOS attribute |
static String |
CONFIGURATION
Qualifier of the
CometFile.configuration attribute |
protected static BidirectionalOneToManyHandler<GeneratedCometFile> |
CONFIGURATIONHANDLER
BidirectionalOneToManyHandler for handling 1:n CONFIGURATION's relation attributes from 'one' side. |
protected static Map<String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static String |
PAGEPREVIEW
Qualifier of the
CometFile.pagePreview attribute |
protected static BidirectionalOneToManyHandler<GeneratedCometFile> |
PAGEPREVIEWHANDLER
BidirectionalOneToManyHandler for handling 1:n PAGEPREVIEW's relation attributes from 'one' side. |
static String |
PAGEPREVIEWPOS
Qualifier of the
CometFile.pagePreviewPOS attribute |
static String |
PUBLICATIONPREVIEW
Qualifier of the
CometFile.publicationPreview attribute |
protected static BidirectionalOneToManyHandler<GeneratedCometFile> |
PUBLICATIONPREVIEWHANDLER
BidirectionalOneToManyHandler for handling 1:n PUBLICATIONPREVIEW's relation attributes from 'one' side. |
static String |
PUBLICATIONPREVIEWPOS
Qualifier of the
CometFile.publicationPreviewPOS attribute |
FROM_JAR, HASDATA, ISONSERVER, PICTURE, THUMBNAIL, URL, URL2ALTTEXT, CODE, DERIVEDMEDIAS, DERIVEDMEDIASHANDLER, DESCRIPTION, FOLDER, INTERNALURL, MEDIACONTAINER, MEDIACONTAINERHANDLER, MEDIAFORMAT, REMOVABLE, SUBFOLDERPATHDATAPK, LOCATION, LOCATIONHASH, MIME, REALFILENAME, SIZELANGUAGE_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 |
|---|
GeneratedCometFile() |
| Modifier and Type | Method and Description |
|---|---|
protected Item |
createItem(SessionContext ctx,
ComposedType type,
Item.ItemAttributeMap allAttributes)
Has to be implemented for each concrete subtype of item.
|
Chapter |
getChapterPreview()
Generated method - Getter of the
CometFile.chapterPreview attribute. |
Chapter |
getChapterPreview(SessionContext ctx)
Generated method - Getter of the
CometFile.chapterPreview attribute. |
CometConfiguration |
getConfiguration()
Generated method - Getter of the
CometFile.configuration attribute. |
CometConfiguration |
getConfiguration(SessionContext ctx)
Generated method - Getter of the
CometFile.configuration attribute. |
protected Map<String,Item.AttributeMode> |
getDefaultAttributeModes() |
Page |
getPagePreview()
Generated method - Getter of the
CometFile.pagePreview attribute. |
Page |
getPagePreview(SessionContext ctx)
Generated method - Getter of the
CometFile.pagePreview attribute. |
Publication |
getPublicationPreview()
Generated method - Getter of the
CometFile.publicationPreview attribute. |
Publication |
getPublicationPreview(SessionContext ctx)
Generated method - Getter of the
CometFile.publicationPreview attribute. |
void |
setChapterPreview(Chapter value)
Generated method - Setter of the
CometFile.chapterPreview attribute. |
void |
setChapterPreview(SessionContext ctx,
Chapter value)
Generated method - Setter of the
CometFile.chapterPreview attribute. |
void |
setConfiguration(CometConfiguration value)
Generated method - Setter of the
CometFile.configuration attribute. |
void |
setConfiguration(SessionContext ctx,
CometConfiguration value)
Generated method - Setter of the
CometFile.configuration attribute. |
void |
setPagePreview(Page value)
Generated method - Setter of the
CometFile.pagePreview attribute. |
void |
setPagePreview(SessionContext ctx,
Page value)
Generated method - Setter of the
CometFile.pagePreview attribute. |
void |
setPublicationPreview(Publication value)
Generated method - Setter of the
CometFile.publicationPreview attribute. |
void |
setPublicationPreview(SessionContext ctx,
Publication value)
Generated method - Setter of the
CometFile.publicationPreview attribute. |
checkRemovable, copyToTempFile, getData, getDataFromInputStream, getDataFromInputStreamSure, getDataFromStream, getDataFromStreamSure, getDeniedPrincipals, getDeniedPrincipals, getDownloadURL, getDownloadURL, getFile, getFileExtensionFromMime, getFileName, getFileNameForFileBasedSoftware, getFiles, getFolder, getForContext, getForeignDataOwners, getForeignDataOwners, getInFormat, getLocation, getPermittedPrincipals, getPermittedPrincipals, getURL, getURL, getURL2, getURL2, getZipEntries, getZipEntryNames, hasData, hasForeignDataOwners, isOnServer, isRemovableAsPrimitive, moveData, moveDataTo, moveMedia, moveMedia, relocateData, remove, removeData, setData, setData, setData, setData, setData, setData, setData, setData, setDataByURL, setDataFromStream, setDataFromStream, setDataPK, setDeniedPrincipals, setDeniedPrincipals, setFile, setFile, setPermittedPrincipals, setPermittedPrincipals, setSize, setURL, setURL, setURL2, setURL2, toStringaddToDerivedMedias, addToDerivedMedias, getAltText, getAltText, getCode, getCode, getDerivedMedias, getDerivedMedias, getDescription, getDescription, getFolder, getInternalURL, getInternalURL, getMediaContainer, getMediaContainer, getMediaFormat, getMediaFormat, getSubFolderPath, getSubFolderPath, isRemovable, isRemovable, isRemovableAsPrimitive, removeFromDerivedMedias, removeFromDerivedMedias, setAltText, setAltText, setCode, setCode, setDerivedMedias, setDerivedMedias, setDescription, setDescription, setFolder, setFolder, setInternalURL, setInternalURL, setMediaContainer, setMediaContainer, setMediaFormat, setMediaFormat, setRemovable, setRemovable, setRemovable, setRemovable, setSubFolderPath, setSubFolderPathgetDataPK, getDataPK, getDataPKAsPrimitive, getDataPKAsPrimitive, getLocation, getLocationHash, getLocationHash, getMime, getMime, getRealFileName, getRealFileName, getSize, getSize, getSizeAsPrimitive, getSizeAsPrimitive, setDataPK, setDataPK, setDataPK, setLocation, setLocation, setLocationHash, setLocationHash, setMime, setMime, setRealFileName, setRealFileName, setSize, setSize, setSizegetInitialProperties, 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, 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, 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, useTA, writeReplacegetImplementation, setTenantpublic static final String CONFIGURATION
CometFile.configuration attributepublic static final String PUBLICATIONPREVIEWPOS
CometFile.publicationPreviewPOS attributepublic static final String PUBLICATIONPREVIEW
CometFile.publicationPreview attributepublic static final String CHAPTERPREVIEWPOS
CometFile.chapterPreviewPOS attributepublic static final String CHAPTERPREVIEW
CometFile.chapterPreview attributepublic static final String PAGEPREVIEWPOS
CometFile.pagePreviewPOS attributepublic static final String PAGEPREVIEW
CometFile.pagePreview attributeprotected static final BidirectionalOneToManyHandler<GeneratedCometFile> CONFIGURATIONHANDLER
BidirectionalOneToManyHandler for handling 1:n CONFIGURATION's relation attributes from 'one' side.protected static final BidirectionalOneToManyHandler<GeneratedCometFile> PUBLICATIONPREVIEWHANDLER
BidirectionalOneToManyHandler for handling 1:n PUBLICATIONPREVIEW's relation attributes from 'one' side.protected static final BidirectionalOneToManyHandler<GeneratedCometFile> CHAPTERPREVIEWHANDLER
BidirectionalOneToManyHandler for handling 1:n CHAPTERPREVIEW's relation attributes from 'one' side.protected static final BidirectionalOneToManyHandler<GeneratedCometFile> PAGEPREVIEWHANDLER
BidirectionalOneToManyHandler for handling 1:n PAGEPREVIEW'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 GeneratedMediapublic Chapter getChapterPreview(SessionContext ctx)
CometFile.chapterPreview attribute.public Chapter getChapterPreview()
CometFile.chapterPreview attribute.public void setChapterPreview(SessionContext ctx, Chapter value)
CometFile.chapterPreview attribute.value - the chapterPreviewpublic void setChapterPreview(Chapter value)
CometFile.chapterPreview attribute.value - the chapterPreviewpublic CometConfiguration getConfiguration(SessionContext ctx)
CometFile.configuration attribute.public CometConfiguration getConfiguration()
CometFile.configuration attribute.public void setConfiguration(SessionContext ctx, CometConfiguration value)
CometFile.configuration attribute.value - the configurationpublic void setConfiguration(CometConfiguration value)
CometFile.configuration attribute.value - the configurationprotected 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 Mediactx - 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 Page getPagePreview(SessionContext ctx)
CometFile.pagePreview attribute.public Page getPagePreview()
CometFile.pagePreview attribute.public void setPagePreview(SessionContext ctx, Page value)
CometFile.pagePreview attribute.value - the pagePreviewpublic void setPagePreview(Page value)
CometFile.pagePreview attribute.value - the pagePreviewpublic Publication getPublicationPreview(SessionContext ctx)
CometFile.publicationPreview attribute.public Publication getPublicationPreview()
CometFile.publicationPreview attribute.public void setPublicationPreview(SessionContext ctx, Publication value)
CometFile.publicationPreview attribute.value - the publicationPreviewpublic void setPublicationPreview(Publication value)
CometFile.publicationPreview attribute.value - the publicationPreviewCopyright © 2017 SAP SE. All Rights Reserved.