public abstract class GeneratedBarcodeMedia extends Media
BarcodeMedia.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 |
BARCODETEXT
Qualifier of the
BarcodeMedia.barcodeText attribute |
static String |
BARCODETYPE
Qualifier of the
BarcodeMedia.barcodeType attribute |
static String |
CONTEXTITEM
Qualifier of the
BarcodeMedia.contextItem attribute |
static String |
DEEPLINKURL
Qualifier of the
BarcodeMedia.deeplinkUrl attribute |
protected static BidirectionalOneToManyHandler<GeneratedBarcodeMedia> |
DEEPLINKURLHANDLER
BidirectionalOneToManyHandler for handling 1:n DEEPLINKURL's relation attributes from 'one' side. |
protected static Map<String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
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 |
|---|
GeneratedBarcodeMedia() |
| 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.
|
String |
getBarcodeText()
Generated method - Getter of the
BarcodeMedia.barcodeText attribute. |
String |
getBarcodeText(SessionContext ctx)
Generated method - Getter of the
BarcodeMedia.barcodeText attribute. |
EnumerationValue |
getBarcodeType()
Generated method - Getter of the
BarcodeMedia.barcodeType attribute. |
EnumerationValue |
getBarcodeType(SessionContext ctx)
Generated method - Getter of the
BarcodeMedia.barcodeType attribute. |
Item |
getContextItem()
Generated method - Getter of the
BarcodeMedia.contextItem attribute. |
Item |
getContextItem(SessionContext ctx)
Generated method - Getter of the
BarcodeMedia.contextItem attribute. |
DeeplinkUrl |
getDeeplinkUrl()
Generated method - Getter of the
BarcodeMedia.deeplinkUrl attribute. |
DeeplinkUrl |
getDeeplinkUrl(SessionContext ctx)
Generated method - Getter of the
BarcodeMedia.deeplinkUrl attribute. |
protected Map<String,Item.AttributeMode> |
getDefaultAttributeModes() |
void |
setBarcodeText(SessionContext ctx,
String value)
Generated method - Setter of the
BarcodeMedia.barcodeText attribute. |
void |
setBarcodeText(String value)
Generated method - Setter of the
BarcodeMedia.barcodeText attribute. |
void |
setBarcodeType(EnumerationValue value)
Generated method - Setter of the
BarcodeMedia.barcodeType attribute. |
void |
setBarcodeType(SessionContext ctx,
EnumerationValue value)
Generated method - Setter of the
BarcodeMedia.barcodeType attribute. |
void |
setContextItem(Item value)
Generated method - Setter of the
BarcodeMedia.contextItem attribute. |
void |
setContextItem(SessionContext ctx,
Item value)
Generated method - Setter of the
BarcodeMedia.contextItem attribute. |
void |
setDeeplinkUrl(DeeplinkUrl value)
Generated method - Setter of the
BarcodeMedia.deeplinkUrl attribute. |
void |
setDeeplinkUrl(SessionContext ctx,
DeeplinkUrl value)
Generated method - Setter of the
BarcodeMedia.deeplinkUrl 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 BARCODETEXT
BarcodeMedia.barcodeText attributepublic static final String BARCODETYPE
BarcodeMedia.barcodeType attributepublic static final String CONTEXTITEM
BarcodeMedia.contextItem attributepublic static final String DEEPLINKURL
BarcodeMedia.deeplinkUrl attributeprotected static final BidirectionalOneToManyHandler<GeneratedBarcodeMedia> DEEPLINKURLHANDLER
BidirectionalOneToManyHandler for handling 1:n DEEPLINKURL'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 String getBarcodeText(SessionContext ctx)
BarcodeMedia.barcodeText attribute.public String getBarcodeText()
BarcodeMedia.barcodeText attribute.public void setBarcodeText(SessionContext ctx, String value)
BarcodeMedia.barcodeText attribute.value - the barcodeTextpublic void setBarcodeText(String value)
BarcodeMedia.barcodeText attribute.value - the barcodeTextpublic EnumerationValue getBarcodeType(SessionContext ctx)
BarcodeMedia.barcodeType attribute.public EnumerationValue getBarcodeType()
BarcodeMedia.barcodeType attribute.public void setBarcodeType(SessionContext ctx, EnumerationValue value)
BarcodeMedia.barcodeType attribute.value - the barcodeTypepublic void setBarcodeType(EnumerationValue value)
BarcodeMedia.barcodeType attribute.value - the barcodeTypepublic Item getContextItem(SessionContext ctx)
BarcodeMedia.contextItem attribute.public Item getContextItem()
BarcodeMedia.contextItem attribute.public void setContextItem(SessionContext ctx, Item value)
BarcodeMedia.contextItem attribute.value - the contextItempublic void setContextItem(Item value)
BarcodeMedia.contextItem attribute.value - the contextItemprotected 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 DeeplinkUrl getDeeplinkUrl(SessionContext ctx)
BarcodeMedia.deeplinkUrl attribute.public DeeplinkUrl getDeeplinkUrl()
BarcodeMedia.deeplinkUrl attribute.public void setDeeplinkUrl(SessionContext ctx, DeeplinkUrl value)
BarcodeMedia.deeplinkUrl attribute.value - the deeplinkUrlpublic void setDeeplinkUrl(DeeplinkUrl value)
BarcodeMedia.deeplinkUrl attribute.value - the deeplinkUrlCopyright © 2017 SAP SE. All Rights Reserved.