org.exoplatform.services.wcm.publication.lifecycle.stageversion.config
Class VersionLog

java.lang.Object
  extended by org.exoplatform.services.wcm.publication.lifecycle.stageversion.config.VersionData
      extended by org.exoplatform.services.wcm.publication.lifecycle.stageversion.config.VersionLog

public class VersionLog
extends VersionData

Created by The eXo Platform SAS Author : Hoa Pham hoa.phamvu@exoplatform.com Mar 5, 2009


Field Summary
 
Fields inherited from class org.exoplatform.services.wcm.publication.lifecycle.stageversion.config.VersionData
author, endPublicationDate, startPublicationDate, state, UUID, versionName
 
Constructor Summary
VersionLog(java.lang.String versionName, java.lang.String state, java.lang.String author, java.util.Calendar logDate, java.lang.String description)
          Instantiates a new version log.
 
Method Summary
 java.lang.String getDescription()
          Gets the description.
 java.util.Calendar getLogDate()
          Gets the log date.
 void setDescription(java.lang.String description)
          Sets the description.
 void setLogDate(java.util.Calendar logDate)
          Sets the log date.
 java.lang.String toString()
           
static VersionLog toVersionLog(java.lang.String log)
          To version log.
 
Methods inherited from class org.exoplatform.services.wcm.publication.lifecycle.stageversion.config.VersionData
getAuthor, getEndPublicationDate, getStartPublicationDate, getState, getUUID, getVersionName, setAuthor, setEndPublicationDate, setStartPublicationDate, setState, setUUID, setVersionName, toStringValue, toStringValues, toVersionData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VersionLog

public VersionLog(java.lang.String versionName,
                  java.lang.String state,
                  java.lang.String author,
                  java.util.Calendar logDate,
                  java.lang.String description)
Instantiates a new version log.

Parameters:
versionName - the version name
state - the state
author - the author
logDate - the log date
description - the description
Method Detail

getLogDate

public java.util.Calendar getLogDate()
Gets the log date.

Returns:
the log date

setLogDate

public void setLogDate(java.util.Calendar logDate)
Sets the log date.

Parameters:
logDate - the new log date

getDescription

public java.lang.String getDescription()
Gets the description.

Returns:
the description

setDescription

public void setDescription(java.lang.String description)
Sets the description.

Parameters:
description - the new description

toString

public java.lang.String toString()
Overrides:
toString in class VersionData

toVersionLog

public static VersionLog toVersionLog(java.lang.String log)
To version log.

Parameters:
log - the log
Returns:
the version log


Copyright © 2011 eXo Platform SAS. All Rights Reserved.