com.jalios.jcms.db
Class DBDataRevision

java.lang.Object
  extended by com.jalios.jcms.db.DBDataRevision
All Implemented Interfaces:
JcmsConstants, JaliosConstants
Direct Known Subclasses:
DBFileDocumentRevision

public abstract class DBDataRevision
extends Object
implements JcmsConstants


Field Summary
protected static Channel channel
           
protected static String ITEM_SEPARATOR
           
protected  Member revAuthor
           
protected  Data revData
           
protected  Date revDate
           
protected  Member revDelegate
           
static String REVISION
           
protected  Publication revisionData
           
protected  int revOp
           
protected  Long rowId
           
 
Fields inherited from interface com.jalios.jcms.JcmsConstants
ADATE_SEARCH, ADMIN_NOTES_PROP, ADVANCED_TAB, ARCHIVES_DIR, ASCII_WIDTH, CATEGORY_TAB, CDATE_SEARCH, COMMON_ALARM, CONTENT_TAB, COOKIE_MAX_AGE, CTRL_TOPIC_INTERNAL, CTRL_TOPIC_REF, CTRL_TOPIC_VALUE, CTRL_TOPIC_WRITE, CUSTOM_PROP, DOCCHOOSER_HEIGHT, DOCCHOOSER_WIDTH, DOCS_DIR, EDATE_SEARCH, EMAIL_REGEXP, ERROR_MSG, FORBIDDEN_FILE_ACCESS, FORBIDDEN_REDIRECT, FORCE_REDIRECT, ICON_ARCHIVE, ICON_LOCK, ICON_LOCK_STRONG, ICON_WARN, ICON_WH_BOOK_CLOSED, ICON_WH_BOOK_OPEN, INFORMATION_MSG, JALIOS_JUNIT_PROP, JCMS_CADDY, JCMS_MSG_LIST, JSYNC_DOWNLOAD_DIR, JSYNC_SYNC_ALARM, LOG_FILE, LOG_TOPIC_SECURITY, LOGGER_PROP, LOGGER_XMLPROP, MBR_PHOTO_DIR, MDATE_SEARCH, MONITOR_XML, OP_CREATE, OP_DEEP_COPY, OP_DEEP_DELETE, OP_DELETE, OP_MERGE, OP_UPDATE, PDATE_SEARCH, PHOTO_DIR, PHOTO_ICON, PHOTO_ICON_HEIGHT, PHOTO_ICON_WIDTH, PHOTO_LARGE, PHOTO_LARGE_HEIGHT, PHOTO_LARGE_WIDTH, PHOTO_NORMAL, PHOTO_NORMAL_HEIGHT, PHOTO_NORMAL_WIDTH, PHOTO_SMALL, PHOTO_SMALL_HEIGHT, PHOTO_SMALL_WIDTH, PHOTO_TINY, PHOTO_TINY_HEIGHT, PHOTO_TINY_WIDTH, PREVIOUS_TAB, PRINT_VIEW, PRIVATE_FILE_ACCESS, PUBLIC_FILE_ACCESS, READ_RIGHT_TAB, SDATE_SEARCH, SEARCHENGINE_ALARM, SESSION_AUTHORIZED_FILENAMES_SET, STATS_REPORT_DIR, STATUS_PROP, STORE_XML, TEMPLATE_TAB, THUMBNAIL_LARGE_HEIGHT, THUMBNAIL_LARGE_WIDTH, THUMBNAIL_SMALL_HEIGHT, THUMBNAIL_SMALL_WIDTH, UDATE_SEARCH, UPDATE_RIGHT_TAB, UPLOAD_DIR, URL_REGEXP, WARNING_MSG, WEBAPP_PROP, WFEXPRESS_ALARM, WFREMINDER_ALARM, WORKFLOW_TAB, WORKFLOW_XML
 
Fields inherited from interface com.jalios.util.JaliosConstants
CRLF, MILLIS_IN_ONE_DAY, MILLIS_IN_ONE_HOUR, MILLIS_IN_ONE_MINUTE, MILLIS_IN_ONE_MONTH, MILLIS_IN_ONE_SECOND, MILLIS_IN_ONE_WEEK, MILLIS_IN_ONE_YEAR
 
Constructor Summary
protected DBDataRevision()
           
protected DBDataRevision(Data data, int op)
           
 
Method Summary
protected
<T extends Data>
List<T>
decodeIdList(Class<T> clazz, String str)
           
protected
<T extends Data>
Set<T>
decodeIdSet(Class<T> clazz, String str)
           
protected
<T> List<T>
decodeList(Class<T> clazz, String str)
           
protected
<T> Set<T>
decodeSet(Class<T> clazz, String str)
           
protected
<T> String
encodeCollection(Collection<T> coll)
           
protected  String encodeDateCollection(Collection<Date> coll)
           
protected
<T extends Data>
String
encodeIdCollection(Collection<T> coll)
           
protected  Date getAdate()
           
 String getAuthGrpIdSetSerial()
           
 String getAuthMbrIdSetSerial()
           
 Member getAuthor()
           
 String getAuthorId()
           
 String getCatIdSetSerial()
           
 Date getCdate()
           
protected  Date getEdate()
           
protected  int getMajorVersion()
           
 Date getMdate()
           
protected  int getMinorVersion()
           
protected  Date getPdate()
           
protected  int getPstatus()
           
 Member getRevAuthor()
           
 String getRevAuthorId()
           
 Data getRevData()
           
 String getRevDataId()
           
 Date getRevDate()
           
 Member getRevDelegate()
           
 String getRevDelegateId()
           
 Data getRevisionData()
           
 int getRevOp()
           
protected  String getRoleMapStr()
           
 Long getRowId()
           
protected  String getTitle()
           
protected  Date getUdate()
           
 Workspace getWorkspace()
           
 String getWorkspaceId()
           
protected  boolean isTracked()
           
protected  void setAdate(Date adate)
           
 void setAuthGrpIdSetSerial(String authGrpIdSetSerial)
           
 void setAuthMbrIdSetSerial(String authMbrIdSetSerial)
           
 void setAuthor(Member author)
           
 void setAuthorId(String authorId)
           
 void setCatIdSetSerial(String catIdSetSerial)
           
 void setCdate(Date cdate)
           
protected  void setEdate(Date edate)
           
protected  void setMajorVersion(int majorVersion)
           
 void setMdate(Date mdate)
           
protected  void setMinorVersion(int minorVersion)
           
protected  void setPdate(Date pdate)
           
protected  void setPstatus(int pstatus)
           
 void setRevAuthor(Member revAuthor)
           
 void setRevAuthorId(String revAuthordId)
           
 void setRevData(Data data)
           
 void setRevDataId(String dataId)
           
 void setRevDate(Date revDate)
           
 void setRevDelegate(Member revDelegate)
           
 void setRevDelegateId(String revDelegateId)
           
 void setRevOp(int revOp)
           
protected  void setRoleMapStr(String roleMapStr)
           
 void setRowId(Long rowId)
           
protected  void setTitle(String title)
           
protected  void setTracked(boolean isTracked)
           
protected  void setUdate(Date udate)
           
 void setWorkspace(Workspace workspace)
           
 void setWorkspaceId(String workspaceId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REVISION

public static final String REVISION
See Also:
Constant Field Values

channel

protected static Channel channel

ITEM_SEPARATOR

protected static String ITEM_SEPARATOR

rowId

protected Long rowId

revDate

protected Date revDate

revAuthor

protected Member revAuthor

revData

protected Data revData

revOp

protected int revOp

revDelegate

protected Member revDelegate

revisionData

protected Publication revisionData
Constructor Detail

DBDataRevision

protected DBDataRevision()

DBDataRevision

protected DBDataRevision(Data data,
                         int op)
Method Detail

encodeCollection

protected <T> String encodeCollection(Collection<T> coll)

encodeDateCollection

protected String encodeDateCollection(Collection<Date> coll)

decodeList

protected <T> List<T> decodeList(Class<T> clazz,
                                 String str)

decodeSet

protected <T> Set<T> decodeSet(Class<T> clazz,
                               String str)

encodeIdCollection

protected <T extends Data> String encodeIdCollection(Collection<T> coll)

decodeIdSet

protected <T extends Data> Set<T> decodeIdSet(Class<T> clazz,
                                              String str)

decodeIdList

protected <T extends Data> List<T> decodeIdList(Class<T> clazz,
                                                String str)

getRevisionData

public Data getRevisionData()

getRowId

public Long getRowId()

setRowId

public void setRowId(Long rowId)

getRevDate

public Date getRevDate()

setRevDate

public void setRevDate(Date revDate)

getRevAuthor

public Member getRevAuthor()

setRevAuthor

public void setRevAuthor(Member revAuthor)

getRevAuthorId

public String getRevAuthorId()

setRevAuthorId

public void setRevAuthorId(String revAuthordId)

getRevData

public Data getRevData()

setRevData

public void setRevData(Data data)

getRevDataId

public String getRevDataId()

setRevDataId

public void setRevDataId(String dataId)

getRevOp

public int getRevOp()

setRevOp

public void setRevOp(int revOp)

getRevDelegate

public Member getRevDelegate()

setRevDelegate

public void setRevDelegate(Member revDelegate)

getRevDelegateId

public String getRevDelegateId()

setRevDelegateId

public void setRevDelegateId(String revDelegateId)

getCdate

public Date getCdate()

setCdate

public void setCdate(Date cdate)

getMdate

public Date getMdate()

setMdate

public void setMdate(Date mdate)

getAuthor

public Member getAuthor()

setAuthor

public void setAuthor(Member author)

getAuthorId

public String getAuthorId()

setAuthorId

public void setAuthorId(String authorId)

getTitle

protected String getTitle()

setTitle

protected void setTitle(String title)

getPdate

protected Date getPdate()

setPdate

protected void setPdate(Date pdate)

getEdate

protected Date getEdate()

setEdate

protected void setEdate(Date edate)

getAdate

protected Date getAdate()

setAdate

protected void setAdate(Date adate)

getUdate

protected Date getUdate()

setUdate

protected void setUdate(Date udate)

getMajorVersion

protected int getMajorVersion()

setMajorVersion

protected void setMajorVersion(int majorVersion)

getMinorVersion

protected int getMinorVersion()

setMinorVersion

protected void setMinorVersion(int minorVersion)

isTracked

protected boolean isTracked()

setTracked

protected void setTracked(boolean isTracked)

getPstatus

protected int getPstatus()

setPstatus

protected void setPstatus(int pstatus)

getWorkspace

public Workspace getWorkspace()

setWorkspace

public void setWorkspace(Workspace workspace)

getWorkspaceId

public String getWorkspaceId()

setWorkspaceId

public void setWorkspaceId(String workspaceId)

getCatIdSetSerial

public String getCatIdSetSerial()

setCatIdSetSerial

public void setCatIdSetSerial(String catIdSetSerial)

getAuthGrpIdSetSerial

public String getAuthGrpIdSetSerial()

setAuthGrpIdSetSerial

public void setAuthGrpIdSetSerial(String authGrpIdSetSerial)

getAuthMbrIdSetSerial

public String getAuthMbrIdSetSerial()

setAuthMbrIdSetSerial

public void setAuthMbrIdSetSerial(String authMbrIdSetSerial)

getRoleMapStr

protected String getRoleMapStr()

setRoleMapStr

protected void setRoleMapStr(String roleMapStr)


Copyright © 2001-2010 Jalios SA. All Rights Reserved.