com.solidstategroup.cms
Class Assets

java.lang.Object
  extended by com.solidstategroup.cms.Assets
Direct Known Subclasses:
DocumentAssets, ImageAssets

public class Assets
extends java.lang.Object


Field Summary
protected  boolean andTags
           
 
Constructor Summary
Assets()
           
 
Method Summary
 void addAsset(Asset newAsset)
           
protected  void clear()
           
 boolean delete(int uniqueId)
           
 void execute()
           
 void execute(boolean isPreviewVersion)
           
 Asset getAsset(int thisAssetId)
           
 Asset getAsset(java.lang.String thisAssetDescription)
           
 Asset getAsset(java.lang.String thisAssetType, int thisChunkAssetId)
           
 java.lang.String getAssetData(java.lang.String thisAssetDescription)
           
 java.util.Vector getAssets()
           
 int getChunkId()
           
 java.lang.String getQuery(boolean isPreviewVersion)
           
 int getRootChunkTypeId()
           
 java.util.Vector getTags()
           
 boolean isAndTags()
           
 void setAndTags(boolean andTags)
           
 void setAssets(java.util.Vector assets)
           
 void setChunkId(int chunkId)
           
 void setRootChunkTypeId(int rootChunkTypeId)
           
 void setTags(java.util.Vector tags)
           
 boolean store(java.sql.Connection conn)
           
 boolean store(java.lang.Object assetToStore)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

andTags

protected boolean andTags
Constructor Detail

Assets

public Assets()
Method Detail

clear

protected void clear()

getAsset

public Asset getAsset(java.lang.String thisAssetType,
                      int thisChunkAssetId)

getAsset

public Asset getAsset(int thisAssetId)

addAsset

public void addAsset(Asset newAsset)

getAsset

public Asset getAsset(java.lang.String thisAssetDescription)

getAssetData

public java.lang.String getAssetData(java.lang.String thisAssetDescription)

execute

public void execute()

execute

public void execute(boolean isPreviewVersion)

getQuery

public java.lang.String getQuery(boolean isPreviewVersion)

store

public boolean store(java.lang.Object assetToStore)

store

public boolean store(java.sql.Connection conn)

delete

public boolean delete(int uniqueId)

getAssets

public java.util.Vector getAssets()

setAssets

public void setAssets(java.util.Vector assets)

setChunkId

public void setChunkId(int chunkId)

getChunkId

public int getChunkId()

getRootChunkTypeId

public int getRootChunkTypeId()

setRootChunkTypeId

public void setRootChunkTypeId(int rootChunkTypeId)

getTags

public java.util.Vector getTags()

setTags

public void setTags(java.util.Vector tags)

isAndTags

public boolean isAndTags()

setAndTags

public void setAndTags(boolean andTags)