jBPM Designer - Backend 6.0.0.CR1

org.jbpm.designer.repository.impl
Class AbstractAsset<T>

java.lang.Object
  extended by org.jbpm.designer.repository.impl.AbstractAsset<T>
All Implemented Interfaces:
Asset<T>, Item
Direct Known Subclasses:
BinaryAsset, TextAsset

public abstract class AbstractAsset<T>
extends Object
implements Asset<T>


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jbpm.designer.repository.Asset
Asset.AssetType
 
Constructor Summary
AbstractAsset()
           
 
Method Summary
abstract  boolean acceptBytes()
           
 String getAssetLocation()
          Returns location in the repository where this asset is stored
 String getAssetType()
          Returns type of the asset.
 String getCreationDate()
          Returns date when this item was created
 String getDescription()
          Returns description of the item if present
 String getFullName()
          Returns full name of the asset that usually is name and type.
 String getLastModificationDate()
          Returns date when this item was last time modified
 String getName()
          Returns name of the item if present
 String getOwner()
          Returns owner (usually user if) of this item
 String getUniqueId()
          Returns uniqueId of this asset
 String getVersion()
          Returns version of this item
abstract  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
 

Constructor Detail

AbstractAsset

public AbstractAsset()
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 interface Asset<T>
Returns:
- asset location

getAssetType

public String getAssetType()
Description copied from interface: Asset
Returns type of the asset.

Specified by:
getAssetType in interface Asset<T>
Returns:
- asset type

getUniqueId

public String getUniqueId()
Description copied from interface: Item
Returns uniqueId of this asset

Specified by:
getUniqueId in interface Item
Returns:
unique identifier of this asset

getName

public String getName()
Description copied from interface: Item
Returns name of the item if present

Specified by:
getName in interface Item
Returns:
- item name

getDescription

public String getDescription()
Description copied from interface: Item
Returns description of the item if present

Specified by:
getDescription in interface Item
Returns:
- item description

getVersion

public String getVersion()
Description copied from interface: Item
Returns version of this item

Specified by:
getVersion in interface Item
Returns:
- item version

getOwner

public String getOwner()
Description copied from interface: Item
Returns owner (usually user if) of this item

Specified by:
getOwner in interface Item
Returns:
- item owner

getCreationDate

public String getCreationDate()
Description copied from interface: Item
Returns date when this item was created

Specified by:
getCreationDate in interface Item
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 interface Item
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 interface Item
Returns:
- returns full asset name

setAssetContent

public abstract void setAssetContent(T content)

acceptBytes

public abstract boolean acceptBytes()

jBPM Designer - Backend 6.0.0.CR1

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.