org.eaglei.datatools.client.ui
Class WorkflowUtils

java.lang.Object
  extended by org.eaglei.datatools.client.ui.WorkflowUtils

public class WorkflowUtils
extends java.lang.Object


Constructor Summary
WorkflowUtils()
           
 
Method Summary
static boolean canUserChangeState(org.eaglei.model.EIInstance instance, org.eaglei.model.EIURI newWFState)
           
static boolean canUserChangeState(org.eaglei.model.EIURI currentWFState)
           
static boolean canUserChangeState(org.eaglei.model.EIURI currentWFState, org.eaglei.model.EIURI newWFState)
           
static boolean getUsabilityofWidgetByWorkflowRule(org.eaglei.model.EIInstance instance, org.eaglei.datatools.User currentUser)
           
static boolean getVisibiltyofWidgetByWorkflowRule(org.eaglei.model.EIInstance instance)
           
static boolean getVisibiltyofWidgetByWorkflowRuleAndState(org.eaglei.model.EIInstance instance)
           
static boolean instanceHasAnyOwner(org.eaglei.model.EIInstance instance)
           
static boolean instanceHasAnyOwner(org.eaglei.model.EIInstanceMinimal instance)
           
static boolean instanceHasCurrentOwner(org.eaglei.model.EIInstanceMinimal instance, org.eaglei.datatools.User currentUser)
           
static boolean instanceHasCurrentOwner(org.eaglei.model.EIInstance instance, org.eaglei.datatools.User currentUser)
           
static boolean instanceHasWorkflowState(org.eaglei.model.EIInstance instance)
           
static boolean instanceHasWorkflowState(org.eaglei.model.EIInstanceMinimal instance)
           
static boolean isNotNull(org.eaglei.model.EIEntity entity)
           
static boolean isPublishedOrWithdrawn(org.eaglei.model.EIInstance instance)
           
static boolean isPublishedOrWithdrawn(org.eaglei.model.EIInstanceMinimal instance)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowUtils

public WorkflowUtils()
Method Detail

instanceHasAnyOwner

public static boolean instanceHasAnyOwner(org.eaglei.model.EIInstance instance)

instanceHasCurrentOwner

public static boolean instanceHasCurrentOwner(org.eaglei.model.EIInstance instance,
                                              org.eaglei.datatools.User currentUser)

instanceHasAnyOwner

public static boolean instanceHasAnyOwner(org.eaglei.model.EIInstanceMinimal instance)

instanceHasCurrentOwner

public static boolean instanceHasCurrentOwner(org.eaglei.model.EIInstanceMinimal instance,
                                              org.eaglei.datatools.User currentUser)

instanceHasWorkflowState

public static boolean instanceHasWorkflowState(org.eaglei.model.EIInstance instance)

instanceHasWorkflowState

public static boolean instanceHasWorkflowState(org.eaglei.model.EIInstanceMinimal instance)

isNotNull

public static boolean isNotNull(org.eaglei.model.EIEntity entity)

isPublishedOrWithdrawn

public static boolean isPublishedOrWithdrawn(org.eaglei.model.EIInstance instance)

isPublishedOrWithdrawn

public static boolean isPublishedOrWithdrawn(org.eaglei.model.EIInstanceMinimal instance)

getUsabilityofWidgetByWorkflowRule

public static boolean getUsabilityofWidgetByWorkflowRule(org.eaglei.model.EIInstance instance,
                                                         org.eaglei.datatools.User currentUser)

getVisibiltyofWidgetByWorkflowRule

public static boolean getVisibiltyofWidgetByWorkflowRule(org.eaglei.model.EIInstance instance)

getVisibiltyofWidgetByWorkflowRuleAndState

public static boolean getVisibiltyofWidgetByWorkflowRuleAndState(org.eaglei.model.EIInstance instance)

canUserChangeState

public static boolean canUserChangeState(org.eaglei.model.EIURI currentWFState,
                                         org.eaglei.model.EIURI newWFState)

canUserChangeState

public static boolean canUserChangeState(org.eaglei.model.EIInstance instance,
                                         org.eaglei.model.EIURI newWFState)

canUserChangeState

public static boolean canUserChangeState(org.eaglei.model.EIURI currentWFState)


Copyright © 2009-2010 Eagle-I. All Rights Reserved.