Class AbstractAsset<T>
- java.lang.Object
-
- org.jbpm.designer.repository.impl.AbstractAsset<T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jbpm.designer.repository.Asset
Asset.AssetType
-
-
Constructor Summary
Constructors Constructor Description AbstractAsset()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract booleanacceptBytes()StringgetAssetLocation()Returns location in the repository where this asset is storedStringgetAssetType()Returns type of the asset.StringgetCreationDate()Returns date when this item was createdStringgetDescription()Returns description of the item if presentStringgetFullName()Returns full name of the asset that usually is name and type.StringgetLastModificationDate()Returns date when this item was last time modifiedStringgetName()Returns name of the item if presentStringgetOwner()Returns owner (usually user if) of this itemStringgetUniqueId()Returns uniqueId of this assetStringgetVersion()Returns version of this itemabstract voidsetAssetContent(T content)voidsetAssetLocation(String assetLocation)voidsetAssetTpe(String assetTpe)voidsetCreationDate(String creationDate)voidsetDescription(String description)voidsetLastModificationDate(String lastModificationDate)voidsetName(String name)voidsetOwner(String owner)voidsetUniqueId(String uniqueId)voidsetVersion(String version)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jbpm.designer.repository.Asset
getAssetContent
-
-
-
-
Method Detail
-
getAssetLocation
public String getAssetLocation()
Description copied from interface:AssetReturns location in the repository where this asset is stored- Specified by:
getAssetLocationin interfaceAsset<T>- Returns:
- - asset location
-
getAssetType
public String getAssetType()
Description copied from interface:AssetReturns type of the asset.- Specified by:
getAssetTypein interfaceAsset<T>- Returns:
- - asset type
-
getUniqueId
public String getUniqueId()
Description copied from interface:ItemReturns uniqueId of this asset- Specified by:
getUniqueIdin interfaceItem- Returns:
- unique identifier of this asset
-
getName
public String getName()
Description copied from interface:ItemReturns name of the item if present
-
getDescription
public String getDescription()
Description copied from interface:ItemReturns description of the item if present- Specified by:
getDescriptionin interfaceItem- Returns:
- - item description
-
getVersion
public String getVersion()
Description copied from interface:ItemReturns version of this item- Specified by:
getVersionin interfaceItem- Returns:
- - item version
-
getOwner
public String getOwner()
Description copied from interface:ItemReturns owner (usually user if) of this item
-
getCreationDate
public String getCreationDate()
Description copied from interface:ItemReturns date when this item was created- Specified by:
getCreationDatein interfaceItem- Returns:
- - item creation date
-
getLastModificationDate
public String getLastModificationDate()
Description copied from interface:ItemReturns date when this item was last time modified- Specified by:
getLastModificationDatein interfaceItem- Returns:
- - item last modification date
-
setUniqueId
public void setUniqueId(String uniqueId)
-
setName
public void setName(String name)
-
setDescription
public void setDescription(String description)
-
setVersion
public void setVersion(String version)
-
setOwner
public void setOwner(String owner)
-
setAssetTpe
public void setAssetTpe(String assetTpe)
-
setAssetLocation
public void setAssetLocation(String assetLocation)
-
setCreationDate
public void setCreationDate(String creationDate)
-
setLastModificationDate
public void setLastModificationDate(String lastModificationDate)
-
getFullName
public String getFullName()
Description copied from interface:ItemReturns full name of the asset that usually is name and type. e.g. in case of files it's file name and extension.- Specified by:
getFullNamein interfaceItem- Returns:
- - returns full asset name
-
setAssetContent
public abstract void setAssetContent(T content)
-
acceptBytes
public abstract boolean acceptBytes()
-
-