com.solidstategroup.cms
Class ArticleAsset

java.lang.Object
  extended by com.solidstategroup.cms.Asset
      extended by com.solidstategroup.cms.ArticleAsset
All Implemented Interfaces:
com.solidstategroup.handles.Identifiable, com.solidstategroup.handles.Named, com.solidstategroup.handles.NamedIdentifiable, java.lang.Comparable

public class ArticleAsset
extends Asset


Field Summary
 
Fields inherited from class com.solidstategroup.cms.Asset
createdOn, dublinCoreMetaData, includeInSearch, searchScore
 
Constructor Summary
ArticleAsset()
           
ArticleAsset(java.lang.String newText, int newAssetTypeId, int newAssetId, java.lang.String newDescription, java.lang.String newAssetFormat, int newFormatId, int newChunkFormatId, int newRootChunkFormatId, int priority)
           
 
Method Summary
 Article getArticle()
           
 Article getArticle(int sessionType)
           
 boolean storeNewAsset(int chunkId, java.sql.Connection conn)
           
 boolean storeUpdateAsset(int chunkId, java.sql.Connection conn)
           
 
Methods inherited from class com.solidstategroup.cms.Asset
compareTo, destroy, getAssetData, getAssetDataUnprocessed, getAssetId, getAssetType, getChunkFormatId, getCreatedOn, getDescription, getDublinCoreMetaData, getId, getLastModified, getName, getRootArticleIds, getRootChunkFormatId, getSearchScore, isDeleted, isIncludeInSearch, setAssetData, setAssetId, setAssetType, setChunkFormatId, setCreatedOn, setDeleted, setDescription, setDublinCoreMetaData, setIncludeInSearch, setLastModified, setName, setRootChunkFormatId, storeAsset, storeBinaryAsset, storeNewAsset, storeUpdateAsset, validateLinks
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArticleAsset

public ArticleAsset()

ArticleAsset

public ArticleAsset(java.lang.String newText,
                    int newAssetTypeId,
                    int newAssetId,
                    java.lang.String newDescription,
                    java.lang.String newAssetFormat,
                    int newFormatId,
                    int newChunkFormatId,
                    int newRootChunkFormatId,
                    int priority)
Method Detail

storeNewAsset

public boolean storeNewAsset(int chunkId,
                             java.sql.Connection conn)
Overrides:
storeNewAsset in class Asset

storeUpdateAsset

public boolean storeUpdateAsset(int chunkId,
                                java.sql.Connection conn)
Overrides:
storeUpdateAsset in class Asset

getArticle

public Article getArticle()

getArticle

public Article getArticle(int sessionType)