com.solidstategroup.cms
Class Chunks

java.lang.Object
  extended by com.solidstategroup.cms.query.ResultsQuery
      extended by com.solidstategroup.cms.Chunks
All Implemented Interfaces:
Query

public class Chunks
extends ResultsQuery


Nested Class Summary
 class Chunks.SortByAssetTypePriority
           
 
Field Summary
 
Fields inherited from class com.solidstategroup.cms.query.ResultsQuery
INVALID_UNIQUE_ID
 
Constructor Summary
Chunks()
           
 
Method Summary
 void addChunk(Chunk newChunk)
           
 boolean delete(int uniqueId)
           
 void execute()
           
 void execute(boolean isPreviewVersionm)
           
 void execute(boolean isPreviewVersion, java.sql.Connection conn)
           
 int getArticleId()
           
 java.lang.String getArticleQuery()
           
 int getArticleTypeId()
           
 Chunk getChunk(int thisChunkId)
           
 Chunk getChunkFromTitle(java.lang.String chunkTitle)
           
 java.util.Vector getChunks()
           
 int getCountry_ID()
           
 java.lang.String getQuery()
           
 java.util.Collection getResults()
           
 int getSize()
           
 boolean isCheckNewChunkAssets()
           
 void setArticleId(int articleId)
           
 void setArticleTypeId(int articleTypeId)
           
 void setCheckNewChunkAssets(boolean checkNewChunkAssets)
           
 void setChunks(java.util.Vector chunks)
           
 void setCountry_ID(int countryId)
           
 boolean shallowStore(java.lang.Object chunkObj, java.sql.Connection conn)
           
 boolean store(java.lang.Object articleObj)
           
 boolean store(java.lang.Object articleObj, java.sql.Connection conn)
           
 boolean storeNewChunk(Chunk chunk, java.sql.Connection conn)
           
 boolean storeUpdateChunk(Chunk articleObj, java.sql.Connection conn)
           
 
Methods inherited from class com.solidstategroup.cms.query.ResultsQuery
getSingularResult, getUniqueID, setUniqueID, validUniqueID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Chunks

public Chunks()
Method Detail

getSize

public int getSize()

getResults

public java.util.Collection getResults()
Specified by:
getResults in class ResultsQuery

execute

public void execute()

execute

public void execute(boolean isPreviewVersionm)

execute

public void execute(boolean isPreviewVersion,
                    java.sql.Connection conn)

getArticleQuery

public java.lang.String getArticleQuery()

getQuery

public java.lang.String getQuery()

shallowStore

public boolean shallowStore(java.lang.Object chunkObj,
                            java.sql.Connection conn)

store

public boolean store(java.lang.Object articleObj)
Specified by:
store in class ResultsQuery

store

public boolean store(java.lang.Object articleObj,
                     java.sql.Connection conn)

storeNewChunk

public boolean storeNewChunk(Chunk chunk,
                             java.sql.Connection conn)

storeUpdateChunk

public boolean storeUpdateChunk(Chunk articleObj,
                                java.sql.Connection conn)

delete

public boolean delete(int uniqueId)
Specified by:
delete in class ResultsQuery

getChunk

public Chunk getChunk(int thisChunkId)

getChunkFromTitle

public Chunk getChunkFromTitle(java.lang.String chunkTitle)

addChunk

public void addChunk(Chunk newChunk)

getChunks

public java.util.Vector getChunks()

setChunks

public void setChunks(java.util.Vector chunks)

setCountry_ID

public void setCountry_ID(int countryId)

getCountry_ID

public int getCountry_ID()

getArticleId

public int getArticleId()

setArticleId

public void setArticleId(int articleId)

getArticleTypeId

public int getArticleTypeId()

setArticleTypeId

public void setArticleTypeId(int articleTypeId)

isCheckNewChunkAssets

public boolean isCheckNewChunkAssets()

setCheckNewChunkAssets

public void setCheckNewChunkAssets(boolean checkNewChunkAssets)