|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lenya.cms.workflow.LenyaVersion
public class LenyaVersion
A version of the workflow history.
Constructor Summary | |
---|---|
LenyaVersion(java.lang.String _event,
java.lang.String _state)
Ctor. |
Method Summary | |
---|---|
java.util.Date |
getDate()
Returns the date. |
java.lang.String |
getEvent()
Returns the event. |
java.lang.String |
getIPAddress()
Returns the ip address. |
java.lang.String |
getState()
Returns the state. |
java.lang.String |
getUserId()
Returns the user ID. |
boolean |
getValue(java.lang.String variableName)
Returns the value of a variable. |
void |
setDate(java.util.Date _date)
Sets the date. |
void |
setIPAddress(java.lang.String _ipaddress)
Sets the ip address. |
void |
setUserId(java.lang.String _userId)
Sets the user ID. |
void |
setValue(java.lang.String variableName,
boolean value)
Sets a variable value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LenyaVersion(java.lang.String _event, java.lang.String _state)
_event
- The event that caused the version change._state
- The destination state.Method Detail |
---|
public java.lang.String getEvent()
Version
getEvent
in interface Version
Version.getEvent()
public java.lang.String getState()
Version
getState
in interface Version
Version.getState()
public java.util.Date getDate()
getDate
in interface Version
public void setDate(java.util.Date _date)
setDate
in interface Version
_date
- A date.public java.lang.String getUserId()
getUserId
in interface Version
public void setUserId(java.lang.String _userId)
setUserId
in interface Version
_userId
- A user ID.public java.lang.String getIPAddress()
getIPAddress
in interface Version
public void setIPAddress(java.lang.String _ipaddress)
setIPAddress
in interface Version
_ipaddress
- A ip address.public boolean getValue(java.lang.String variableName)
Version
getValue
in interface Version
variableName
- The variable name.
Version.getValue(java.lang.String)
public void setValue(java.lang.String variableName, boolean value)
Version
setValue
in interface Version
variableName
- The variable name.value
- The value.Version.setValue(java.lang.String, boolean)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |