Novell exteNd
Director 5.2 API

com.sssw.wf.api
Interface EbiDestination


public interface EbiDestination

Represents a line from a link to a process node in the Workflow Editor. The interface contains the addressee and expressions for determining if the destination is available.


Method Summary
 String getActivityName()
          Gets the printable process node name.
 Map getAddressee(com.sssw.wf.api.EbiWorkitem workitem)
          Returns a collection of addressees asociated with this destination.
 Boolean hasAddressee()
          Determines if a valid addressee is assigned.
 boolean isDefault()
          Returns true or false depending on whether the destination is marked as the default.
 void setActivityId(String activityId)
          Sets the process node id.
 void setAddressee(String addressee, String type, boolean expression)
          Sets the addressee asociated with this destination.
 

Method Detail

setActivityId

public void setActivityId(String activityId)
                   throws EboLinkException
Sets the process node id.
Parameters:
activityId - - the endpoint process node for this destination.

getActivityName

public String getActivityName()
Gets the printable process node name.
Returns:
name - the addressee to be added.

getAddressee

public Map getAddressee(com.sssw.wf.api.EbiWorkitem workitem)
Returns a collection of addressees asociated with this destination. The param provides evaluation context if the addressee is dynamically derived.
Parameters:
workitem - - the process workitem
Returns:
addressees - an enumeration of addressees.

setAddressee

public void setAddressee(String addressee,
                         String type,
                         boolean expression)
                  throws EboLinkException
Sets the addressee asociated with this destination. The param provides evaluation context if the addressee is dynamically derived.
Parameters:
addressee - - the new addressee
type - - the new addressee type (User or Role)
expression - - whether the addressee represents an addressee expression

isDefault

public boolean isDefault()
Returns true or false depending on whether the destination is marked as the default.
Returns:
boolean true if this destination is the default.

hasAddressee

public Boolean hasAddressee()
Determines if a valid addressee is assigned. Returns true if destination has an addressee, false if destination does not have an addressee.

Novell exteNd
Director 5.2 API