Package com.jalios.jcms.db
Class DBDataRevision
- java.lang.Object
-
- com.jalios.jcms.db.DBDataRevision
-
- All Implemented Interfaces:
JcmsConstants
,JaliosConstants
- Direct Known Subclasses:
DBFileDocumentRevision
public abstract class DBDataRevision extends java.lang.Object implements JcmsConstants
-
-
Field Summary
Fields Modifier and Type Field Description protected static Channel
channel
protected static java.lang.String
ITEM_SEPARATOR
protected Member
revAuthor
protected Data
revData
protected java.util.Date
revDate
protected Member
revDelegate
protected Publication
revisionData
protected int
revOp
protected java.lang.Long
rowId
-
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
-
Fields inherited from interface com.jalios.jcms.JcmsConstants
ADATE_SEARCH, ADMIN_NOTES_PROP, ADVANCED_TAB, AJAX_MODE_ATTR, ARCHIVES_DIR, ASCII_WIDTH, CATEGORY_TAB, CDATE_SEARCH, CLASS_PROPERTY, COMMON_ALARM, CONTENT_TAB, COOKIE_MAX_AGE, COUNTRY_SPRITE, CS_TYPOLOGY_ROOT_CAT_VID, CTRL_TOPIC_INTERNAL, CTRL_TOPIC_REF, CTRL_TOPIC_VALUE, CTRL_TOPIC_WRITE, CUSTOM_PROP, DATA_DIRECTORY, DEFAULT_PHOTO_PROP, DOCCHOOSER_HEIGHT, DOCCHOOSER_WIDTH, DOCS_DIR, EDATE_SEARCH, EMAIL_REGEXP, ERROR_MSG, FORBIDDEN_FILE_ACCESS, FORBIDDEN_REDIRECT, FORCE_REDIRECT, GLYPH_ICON_PREFIX, ICON_ARCHIVE, ICON_ICON_PREFIX, ICON_LOCK, ICON_LOCK_STRONG, ICON_PREFIX_PROP, ICON_WARN, ICON_WH_BOOK_CLOSED, ICON_WH_BOOK_OPEN, INFORMATION_MSG, IS_IN_FRONT_OFFICE, JALIOS_JUNIT_PROP, JCMS_CADDY, JCMS_MSG_LIST, JCMS_TOASTR_COLLECTION, JSYNC_DOWNLOAD_DIR, JSYNC_SYNC_ALARM, LANG_SPRITE, LOG_FILE, LOG_TOPIC_SECURITY, LOGGER_PROP, LOGGER_XMLPROP, MBR_PHOTO_DIR, MDATE_SEARCH, MONITOR_XML, OP_CREATE, OP_CREATE_STR, OP_DEEP_COPY, OP_DEEP_COPY_STR, OP_DEEP_DELETE, OP_DEEP_DELETE_STR, OP_DELETE, OP_DELETE_STR, OP_MERGE, OP_MERGE_STR, OP_UPDATE, OP_UPDATE_STR, ORGANIZATION_ROOT_GROUP_PROP, PDATE_SEARCH, PHOTO_DIR, PHOTO_ICON, PHOTO_ICON_HEIGHT, PHOTO_ICON_PROP_PREFIX, PHOTO_ICON_WIDTH, PHOTO_LARGE, PHOTO_LARGE_HEIGHT, PHOTO_LARGE_PROP_PREFIX, PHOTO_LARGE_WIDTH, PHOTO_MINI, PHOTO_MINI_HEIGHT, PHOTO_MINI_PROP_PREFIX, PHOTO_MINI_WIDTH, PHOTO_NORMAL, PHOTO_NORMAL_HEIGHT, PHOTO_NORMAL_PROP_PREFIX, PHOTO_NORMAL_WIDTH, PHOTO_SMALL, PHOTO_SMALL_HEIGHT, PHOTO_SMALL_PROP_PREFIX, PHOTO_SMALL_WIDTH, PHOTO_TINY, PHOTO_TINY_HEIGHT, PHOTO_TINY_PROP_PREFIX, PHOTO_TINY_WIDTH, PREVIOUS_TAB, PRINT_VIEW, PRIVATE_FILE_ACCESS, PUBLIC_FILE_ACCESS, RAW_CONTENT_ICON_PREFIX, READ_RIGHT_TAB, SDATE_SEARCH, SEARCHENGINE_ALARM, SECURITY_LOG_FILE, SESSION_AUTHORIZED_FILENAMES_SET, SPRITE_ICON_PREFIX, STATS_REPORT_DIR, STATUS_PROP, STORE_DIR, STORE_XML, SUCCESS_MSG, SVG_ICON_PREFIX, SVGINLINE_ICON_PREFIX, TEMPLATE_TAB, THUMBNAIL_LARGE_HEIGHT, THUMBNAIL_LARGE_WIDTH, THUMBNAIL_SMALL_HEIGHT, THUMBNAIL_SMALL_WIDTH, TTCARD_MEDIA_HEIGHT, TTCARD_MEDIA_WIDTH, TYPES_ICON_ALT_PROP, TYPES_ICON_SUFFIX_PROP, TYPES_ICON_TITLE_PROP, TYPES_PREFIX_PROP, TYPES_THUMB_SUFFIX_PROP, UDATE_SEARCH, UPDATE_RIGHT_TAB, UPLOAD_DIR, UPLOAD_PERMISSION_COUNT_PROP_PREFIX, UPLOAD_PERMISSION_SIZE_PROP_PREFIX, URL_REGEXP, VID_LOGGED_MEMBER, WARNING_MSG, WEBAPP_PROP, WFEXPRESS_ALARM, WFREMINDER_ALARM, WORKFLOW_TAB, WORKFLOW_XML
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DBDataRevision()
protected
DBDataRevision(Data data, int op)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <T extends Data>
java.util.List<T>decodeIdList(java.lang.Class<T> clazz, java.lang.String str)
protected <T extends Data>
java.util.Set<T>decodeIdSet(java.lang.Class<T> clazz, java.lang.String str)
protected <T> java.util.List<T>
decodeList(java.lang.Class<T> clazz, java.lang.String str)
protected <T> java.util.Set<T>
decodeSet(java.lang.Class<T> clazz, java.lang.String str)
void
delete()
protected <T> java.lang.String
encodeCollection(java.util.Collection<T> coll)
protected java.lang.String
encodeDateCollection(java.util.Collection<java.util.Date> coll)
protected <T extends Data>
java.lang.StringencodeIdCollection(java.util.Collection<T> coll)
protected java.util.Date
getAdate()
java.lang.String
getAuthGrpIdSetSerial()
java.lang.String
getAuthMbrIdSetSerial()
Member
getAuthor()
java.lang.String
getAuthorId()
java.lang.String
getCatIdSetSerial()
java.util.Date
getCdate()
int
getClassificationLevel()
protected java.util.Date
getEdate()
boolean
getExtendedReadRights()
Publication
getMainInstance()
java.lang.String
getMainInstanceId()
java.lang.String
getMainLanguage()
protected int
getMajorVersion()
java.util.Date
getMdate()
java.util.Date
getMergeDate()
java.lang.String
getMergeId()
protected int
getMinorVersion()
protected java.util.Date
getPdate()
protected int
getPstatus()
Member
getRevAuthor()
java.lang.String
getRevAuthorId()
Data
getRevData()
java.lang.String
getRevDataId()
java.util.Date
getRevDate()
Member
getRevDelegate()
java.lang.String
getRevDelegateId()
Data
getRevisionData()
int
getRevOp()
protected java.lang.String
getRoleMapStr()
java.lang.Long
getRowId()
protected java.lang.String
getTitle()
java.lang.String
getTitleMLE()
protected java.util.Date
getUdate()
java.lang.String
getUpdateGrpIdSetSerial()
java.lang.String
getUpdateMbrIdSetSerial()
protected java.lang.String
getWorkflowId()
Workspace
getWorkspace()
java.lang.String
getWorkspaceId()
protected boolean
isTracked()
protected void
setAdate(java.util.Date adate)
void
setAuthGrpIdSetSerial(java.lang.String authGrpIdSetSerial)
void
setAuthMbrIdSetSerial(java.lang.String authMbrIdSetSerial)
void
setAuthor(Member author)
void
setAuthorId(java.lang.String authorId)
void
setCatIdSetSerial(java.lang.String catIdSetSerial)
void
setCdate(java.util.Date cdate)
void
setClassificationLevel(java.lang.Integer level)
protected void
setEdate(java.util.Date edate)
void
setExtendedReadRights(java.lang.Boolean extendedRights)
void
setMainInstance(Publication pub)
void
setMainInstanceId(java.lang.String pubId)
void
setMainLanguage(java.lang.String mainLanguage)
protected void
setMajorVersion(int majorVersion)
void
setMdate(java.util.Date mdate)
void
setMergeDate(java.util.Date mergeDate)
void
setMergeId(java.lang.String mergeId)
protected void
setMinorVersion(int minorVersion)
protected void
setPdate(java.util.Date pdate)
protected void
setPstatus(int pstatus)
void
setRevAuthor(Member revAuthor)
void
setRevAuthorId(java.lang.String revAuthordId)
void
setRevData(Data data)
void
setRevDataId(java.lang.String dataId)
void
setRevDate(java.util.Date revDate)
void
setRevDelegate(Member revDelegate)
void
setRevDelegateId(java.lang.String revDelegateId)
void
setRevOp(int revOp)
protected void
setRoleMapStr(java.lang.String roleMapStr)
void
setRowId(java.lang.Long rowId)
protected void
setTitle(java.lang.String title)
void
setTitleMLE(java.lang.String titleMLE)
protected void
setTracked(boolean isTracked)
protected void
setUdate(java.util.Date udate)
void
setUpdateGrpIdSetSerial(java.lang.String updateGrpIdSetSerial)
void
setUpdateMbrIdSetSerial(java.lang.String updateMbrIdSetSerial)
protected void
setWorkflowId(java.lang.String workflowId)
void
setWorkspace(Workspace workspace)
void
setWorkspaceId(java.lang.String workspaceId)
-
-
-
Field Detail
-
channel
protected static Channel channel
-
ITEM_SEPARATOR
protected static java.lang.String ITEM_SEPARATOR
-
rowId
protected java.lang.Long rowId
-
revDate
protected java.util.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> java.lang.String encodeCollection(java.util.Collection<T> coll)
-
encodeDateCollection
protected java.lang.String encodeDateCollection(java.util.Collection<java.util.Date> coll)
-
decodeList
protected <T> java.util.List<T> decodeList(java.lang.Class<T> clazz, java.lang.String str)
-
decodeSet
protected <T> java.util.Set<T> decodeSet(java.lang.Class<T> clazz, java.lang.String str)
-
encodeIdCollection
protected <T extends Data> java.lang.String encodeIdCollection(java.util.Collection<T> coll)
-
decodeIdSet
protected <T extends Data> java.util.Set<T> decodeIdSet(java.lang.Class<T> clazz, java.lang.String str)
-
decodeIdList
protected <T extends Data> java.util.List<T> decodeIdList(java.lang.Class<T> clazz, java.lang.String str)
-
getRevisionData
public Data getRevisionData()
-
getRowId
public java.lang.Long getRowId()
-
setRowId
public void setRowId(java.lang.Long rowId)
-
getRevDate
public java.util.Date getRevDate()
-
setRevDate
public void setRevDate(java.util.Date revDate)
-
getRevAuthor
public Member getRevAuthor()
-
setRevAuthor
public void setRevAuthor(Member revAuthor)
-
getRevAuthorId
public java.lang.String getRevAuthorId()
-
setRevAuthorId
public void setRevAuthorId(java.lang.String revAuthordId)
-
getRevData
public Data getRevData()
-
setRevData
public void setRevData(Data data)
-
getRevDataId
public java.lang.String getRevDataId()
-
setRevDataId
public void setRevDataId(java.lang.String dataId)
-
getRevOp
public int getRevOp()
-
setRevOp
public void setRevOp(int revOp)
-
getRevDelegate
public Member getRevDelegate()
-
setRevDelegate
public void setRevDelegate(Member revDelegate)
-
getRevDelegateId
public java.lang.String getRevDelegateId()
-
setRevDelegateId
public void setRevDelegateId(java.lang.String revDelegateId)
-
getCdate
public java.util.Date getCdate()
-
setCdate
public void setCdate(java.util.Date cdate)
-
getMdate
public java.util.Date getMdate()
-
setMdate
public void setMdate(java.util.Date mdate)
-
getAuthor
public Member getAuthor()
-
setAuthor
public void setAuthor(Member author)
-
getAuthorId
public java.lang.String getAuthorId()
-
setAuthorId
public void setAuthorId(java.lang.String authorId)
-
getTitle
protected java.lang.String getTitle()
-
setTitle
protected void setTitle(java.lang.String title)
-
getPdate
protected java.util.Date getPdate()
-
setPdate
protected void setPdate(java.util.Date pdate)
-
getEdate
protected java.util.Date getEdate()
-
setEdate
protected void setEdate(java.util.Date edate)
-
getAdate
protected java.util.Date getAdate()
-
setAdate
protected void setAdate(java.util.Date adate)
-
getUdate
protected java.util.Date getUdate()
-
setUdate
protected void setUdate(java.util.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)
-
getWorkflowId
protected java.lang.String getWorkflowId()
-
setWorkflowId
protected void setWorkflowId(java.lang.String workflowId)
-
getPstatus
protected int getPstatus()
-
setPstatus
protected void setPstatus(int pstatus)
-
getWorkspace
public Workspace getWorkspace()
-
setWorkspace
public void setWorkspace(Workspace workspace)
-
getWorkspaceId
public java.lang.String getWorkspaceId()
-
setWorkspaceId
public void setWorkspaceId(java.lang.String workspaceId)
-
getMainInstance
public Publication getMainInstance()
-
setMainInstance
public void setMainInstance(Publication pub)
-
getMainInstanceId
public java.lang.String getMainInstanceId()
-
setMainInstanceId
public void setMainInstanceId(java.lang.String pubId)
-
getMergeId
public java.lang.String getMergeId()
-
setMergeId
public void setMergeId(java.lang.String mergeId)
-
getMergeDate
public java.util.Date getMergeDate()
-
setMergeDate
public void setMergeDate(java.util.Date mergeDate)
-
getCatIdSetSerial
public java.lang.String getCatIdSetSerial()
-
setCatIdSetSerial
public void setCatIdSetSerial(java.lang.String catIdSetSerial)
-
getAuthGrpIdSetSerial
public java.lang.String getAuthGrpIdSetSerial()
-
setAuthGrpIdSetSerial
public void setAuthGrpIdSetSerial(java.lang.String authGrpIdSetSerial)
-
getAuthMbrIdSetSerial
public java.lang.String getAuthMbrIdSetSerial()
-
setAuthMbrIdSetSerial
public void setAuthMbrIdSetSerial(java.lang.String authMbrIdSetSerial)
-
getUpdateGrpIdSetSerial
public java.lang.String getUpdateGrpIdSetSerial()
-
setUpdateGrpIdSetSerial
public void setUpdateGrpIdSetSerial(java.lang.String updateGrpIdSetSerial)
-
getUpdateMbrIdSetSerial
public java.lang.String getUpdateMbrIdSetSerial()
-
setUpdateMbrIdSetSerial
public void setUpdateMbrIdSetSerial(java.lang.String updateMbrIdSetSerial)
-
getRoleMapStr
protected java.lang.String getRoleMapStr()
-
setRoleMapStr
protected void setRoleMapStr(java.lang.String roleMapStr)
-
getTitleMLE
public java.lang.String getTitleMLE()
-
setTitleMLE
public void setTitleMLE(java.lang.String titleMLE)
-
getMainLanguage
public java.lang.String getMainLanguage()
-
setMainLanguage
public void setMainLanguage(java.lang.String mainLanguage)
-
getExtendedReadRights
public boolean getExtendedReadRights()
-
setExtendedReadRights
public void setExtendedReadRights(java.lang.Boolean extendedRights)
-
getClassificationLevel
public int getClassificationLevel()
-
setClassificationLevel
public void setClassificationLevel(java.lang.Integer level)
-
delete
public void delete()
-
-