|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jalios.jstore.BasicStorable
com.jalios.jcms.Data
com.jalios.jcms.WFNote
public class WFNote
This class represents a small note about a state change in the workflow.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.jalios.jcms.Data |
---|
Data.AuthorComparator<T extends Data>, Data.AuthorSelector, Data.CdateSelector, Data.DataNameComparator<T extends Data>, Data.DeletableSelector, Data.ImportSelector, Data.MdateSelector, Data.OpAuthorComparator<T extends Data>, Data.RowIdComparator<T extends Data>, Data.StrongLockSelector |
Nested classes/interfaces inherited from class com.jalios.jstore.BasicStorable |
---|
BasicStorable.CdateComparator<T extends Storable>, BasicStorable.IdComparator<T extends Storable>, BasicStorable.MdateComparator<T extends Storable> |
Field Summary | |
---|---|
protected boolean |
finalVote
|
protected int |
newPstatus
|
protected String |
note
|
protected int |
prevPstatus
|
protected Publication |
publication
|
protected String |
publicationId
|
static String |
REVISION
|
Fields inherited from class com.jalios.jcms.Data |
---|
author, authorDBID, channel, DISPLAY_URL_EXTRA_INFO, extension, extraDataMap, extraDBDataMapToSaveOnOp, importMap, opAuthor, opDelegate |
Fields inherited from class com.jalios.jstore.BasicStorable |
---|
cdate, ddate, id, mdate, store |
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.mashup.ImportConstants |
---|
IMPORT_ALARM_MGR, IMPORT_AUTHOR_PROP, IMPORT_CATEGORY_DEFAULT, IMPORT_DC_ATTR, IMPORT_DC_STEP, IMPORT_DIR, IMPORT_ENABLED, IMPORT_JDOM_ELEMENT, IMPORT_LOG_FILE, IMPORT_LOG_MAX, IMPORT_OPTIONS, IMPORT_OPTIONS_DC_CONTEXT, IMPORT_ROOT_PROP, IMPORT_SOURCE_FILE, IMPORT_SOURCE_PREFIX_PROP, IMPORT_SOURCES_DIR, IMPORT_STEP_CLEAN, IMPORT_STEP_IMPORT, IMPORT_STEP_UPDATE_REF, IMPORT_WS_PROP |
Fields inherited from interface com.jalios.jcms.mashup.MashupConstants |
---|
DATA_TAG, DATASET_TAG, FIELD_CLASS, FIELD_ENTRY, FIELD_ITEM, FIELD_KEY, FIELD_NAME, FIELD_TAG, FIELD_VALUE, FILE_FIELD, FILE_ID, FILE_MTIME, FILE_SIZE, FILE_TAG, FILE_TICKET, FILESET_TAG, RELATED_TAG |
Constructor Summary | |
---|---|
WFNote()
|
|
WFNote(Publication publication,
int prevPstatus,
int newPstatus,
String comment,
Member author,
DataExtension extension)
|
|
WFNote(WFNote other)
|
Method Summary | |
---|---|
boolean |
getFinalVote()
Returns true if the WFNote is the final in a vote. |
int |
getNewPstatus()
Retrieve the pstatus in which the Publication is after the update associated with this WFNote. |
String |
getNewStateLabel(String userLang)
Returns the label of the previous state. |
String |
getNote()
Retrieve the note text of this WFNote. |
int |
getPrevPstatus()
Retrieve the pstatus in which the Publication was prior to the change associated to this WFNote. |
String |
getPrevStateLabel(String userLang)
Returns the label of the previous state. |
Publication |
getPublication()
Retrieve the publication associated to this WFNote. |
String |
getPublicationId()
Returns the JStore ID of the publication. |
void |
setFinalVote(boolean finalVote)
Sets this WFNote as final vote. |
void |
setNewPstatus(int pstatus)
Set the pstatus in which the Publication is after the update associated with this WFNote. |
void |
setNote(String note)
Set the note text of this WFNote. |
void |
setPrevPstatus(int pstatus)
Set the pstatus in which the Publication was prior to the update associated with this WFNote. |
void |
setPublication(Publication pub)
Set the publication associated to this WFNote. |
void |
setPublicationId(String v)
Sets the JStore ID of the publication. |
String |
toString()
|
Methods inherited from class com.jalios.jstore.BasicStorable |
---|
clearId, compareTo, equals, getAttribute, getAttributes, getCdate, getCdateComparator, getDdate, getId, getIdComparator, getMdate, getMdateComparator, getStore, getUrid, hasBeenUpdated, isStored, resolveAtt, resolveVal, setAttributes, setCdate, setDdate, setId, setStore, toXml |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.jalios.jcms.db.DBData |
---|
getRowId, setRowId |
Field Detail |
---|
public static final String REVISION
protected Publication publication
protected String publicationId
protected int prevPstatus
protected int newPstatus
protected String note
protected boolean finalVote
Constructor Detail |
---|
public WFNote()
public WFNote(Publication publication, int prevPstatus, int newPstatus, String comment, Member author, DataExtension extension)
public WFNote(WFNote other)
Method Detail |
---|
public String toString()
toString
in class Data
public String getPrevStateLabel(String userLang)
userLang
- the user language.
public String getNewStateLabel(String userLang)
userLang
- the user language.
public boolean getFinalVote()
public void setFinalVote(boolean finalVote)
finalVote
- the boolean value.public Publication getPublication()
public void setPublication(Publication pub)
pub
- a Publication.public String getPublicationId()
public void setPublicationId(String v)
v
- the JStore publication idpublic int getPrevPstatus()
public void setPrevPstatus(int pstatus)
pstatus
- the previous pstatus.public int getNewPstatus()
public void setNewPstatus(int pstatus)
pstatus
- the new pstatus.public String getNote()
public void setNote(String note)
note
- the text of this WFNote.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |