com.solidstategroup.cms
Class URLAsset

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

public class URLAsset
extends Asset


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

Constructor Detail

URLAsset

public URLAsset()

URLAsset

public URLAsset(java.lang.String newURL)

URLAsset

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

validateLinks

public boolean validateLinks(Articles articlesToCheck)
Overrides:
validateLinks in class Asset

getRootArticleIds

public java.util.HashMap getRootArticleIds()
Overrides:
getRootArticleIds in class Asset

storeNewAsset

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

destroy

public boolean destroy()
Overrides:
destroy in class Asset