com.solidstategroup.cms
Class TextAsset
java.lang.Object
com.solidstategroup.cms.Asset
com.solidstategroup.cms.TextAsset
- All Implemented Interfaces:
- com.solidstategroup.handles.Identifiable, com.solidstategroup.handles.Named, com.solidstategroup.handles.NamedIdentifiable, java.lang.Comparable
- Direct Known Subclasses:
- PollAsset, WebFormAsset
public class TextAsset
- extends Asset
|
Constructor Summary |
TextAsset()
|
TextAsset(java.lang.String newText)
|
TextAsset(java.lang.String newText,
int newAssetTypeId,
int newAssetId,
java.lang.String newDescription,
java.lang.String newAssetFormat,
int newFormatId,
int newChunkFormatId,
int newRootChunkFormatId,
int priority)
|
| Methods inherited from class com.solidstategroup.cms.Asset |
compareTo, 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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextAsset
public TextAsset()
TextAsset
public TextAsset(java.lang.String newText)
TextAsset
public TextAsset(java.lang.String newText,
int newAssetTypeId,
int newAssetId,
java.lang.String newDescription,
java.lang.String newAssetFormat,
int newFormatId,
int newChunkFormatId,
int newRootChunkFormatId,
int priority)
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)
- This is only to be called for Sneakily updating assets....
best not to call this is you are not sure what you are doin..
- Overrides:
storeUpdateAsset in class Asset
validateLinks
public boolean validateLinks(Articles articlesToCheck)
- Overrides:
validateLinks in class Asset
getRootArticleIds
public java.util.HashMap getRootArticleIds()
- Overrides:
getRootArticleIds in class Asset
getAssetData
public java.lang.String getAssetData()
- Overrides:
getAssetData in class Asset
getAssetDataUnprocessed
public java.lang.String getAssetDataUnprocessed()
- Overrides:
getAssetDataUnprocessed in class Asset
getAssetDataHtmlDecoded
public java.lang.String getAssetDataHtmlDecoded()
setAssetDataWithEncodedHTML
public void setAssetDataWithEncodedHTML(java.lang.String newData)
setAssetDataWithEncodedHTMLForPlainText
public void setAssetDataWithEncodedHTMLForPlainText(java.lang.String newData)
getAssetDataWithHTMLTagsRemoved
public java.lang.String getAssetDataWithHTMLTagsRemoved()
destroy
public boolean destroy()
- Overrides:
destroy in class Asset