org.exoplatform.services.wcm.publication.lifecycle.stageversion
Class StageAndVersionPublicationState

java.lang.Object
  extended by org.exoplatform.services.wcm.publication.lifecycle.stageversion.StageAndVersionPublicationState

public class StageAndVersionPublicationState
extends java.lang.Object

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


Field Summary
static java.lang.String AWAITING
          The Constant AWAITING.
static java.lang.String DRAFT
          The Constant DRAFT.
static java.lang.String ENROLLED
          The Constant ENROLLED.
static java.lang.String OBSOLETE
          The Constant OBSOLETE.
static java.lang.String PUBLISHED
          The Constant LIVE.
 
Constructor Summary
StageAndVersionPublicationState()
           
 
Method Summary
static java.lang.String getRevisionState(javax.jcr.Node currentNode)
          Gets the revision state.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ENROLLED

public static final java.lang.String ENROLLED
The Constant ENROLLED.


DRAFT

public static final java.lang.String DRAFT
The Constant DRAFT.


AWAITING

public static final java.lang.String AWAITING
The Constant AWAITING.


PUBLISHED

public static final java.lang.String PUBLISHED
The Constant LIVE.


OBSOLETE

public static final java.lang.String OBSOLETE
The Constant OBSOLETE.

Constructor Detail

StageAndVersionPublicationState

public StageAndVersionPublicationState()
Method Detail

getRevisionState

public static java.lang.String getRevisionState(javax.jcr.Node currentNode)
Gets the revision state.

Parameters:
currentNode - the current node
Returns:
the revision state


Copyright © 2010 eXo Platform SAS. All Rights Reserved.