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 boolean
acceptBytes()
String
getAssetLocation()
Returns location in the repository where this asset is storedString
getAssetType()
Returns type of the asset.String
getCreationDate()
Returns date when this item was createdString
getDescription()
Returns description of the item if presentString
getFullName()
Returns full name of the asset that usually is name and type.String
getLastModificationDate()
Returns date when this item was last time modifiedString
getName()
Returns name of the item if presentString
getOwner()
Returns owner (usually user if) of this itemString
getUniqueId()
Returns uniqueId of this assetString
getVersion()
Returns version of this itemabstract void
setAssetContent(T content)
void
setAssetLocation(String assetLocation)
void
setAssetTpe(String assetTpe)
void
setCreationDate(String creationDate)
void
setDescription(String description)
void
setLastModificationDate(String lastModificationDate)
void
setName(String name)
void
setOwner(String owner)
void
setUniqueId(String uniqueId)
void
setVersion(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:Asset
Returns location in the repository where this asset is stored- Specified by:
getAssetLocation
in interfaceAsset<T>
- Returns:
- - asset location
-
getAssetType
public String getAssetType()
Description copied from interface:Asset
Returns type of the asset.- Specified by:
getAssetType
in interfaceAsset<T>
- Returns:
- - asset type
-
getUniqueId
public String getUniqueId()
Description copied from interface:Item
Returns uniqueId of this asset- Specified by:
getUniqueId
in interfaceItem
- Returns:
- unique identifier of this asset
-
getName
public String getName()
Description copied from interface:Item
Returns name of the item if present
-
getDescription
public String getDescription()
Description copied from interface:Item
Returns description of the item if present- Specified by:
getDescription
in interfaceItem
- Returns:
- - item description
-
getVersion
public String getVersion()
Description copied from interface:Item
Returns version of this item- Specified by:
getVersion
in interfaceItem
- Returns:
- - item version
-
getOwner
public String getOwner()
Description copied from interface:Item
Returns owner (usually user if) of this item
-
getCreationDate
public String getCreationDate()
Description copied from interface:Item
Returns date when this item was created- Specified by:
getCreationDate
in interfaceItem
- Returns:
- - item creation date
-
getLastModificationDate
public String getLastModificationDate()
Description copied from interface:Item
Returns date when this item was last time modified- Specified by:
getLastModificationDate
in 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:Item
Returns 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:
getFullName
in interfaceItem
- Returns:
- - returns full asset name
-
setAssetContent
public abstract void setAssetContent(T content)
-
acceptBytes
public abstract boolean acceptBytes()
-
-