org.dspace.xmlworkflow
Class Role

java.lang.Object
  extended by org.dspace.xmlworkflow.Role

public class Role
extends Object

The role that is responsible for a certain step Can either be on a group in the repo, or a collection group or an item role will check for workflowItemRoles

Author:
Bram De Schouwer (bram.deschouwer at dot com), Kevin Van de Velde (kevin at atmire dot com), Ben Bosman (ben at atmire dot com), Mark Diggory (markd at atmire dot com)

Nested Class Summary
static class Role.Scope
           
 
Constructor Summary
Role(String id, String name, String description, boolean isInternal, Role.Scope scope)
           
 
Method Summary
 String getDescription()
           
 String getId()
           
 RoleMembers getMembers(Context context, XmlWorkflowItem wfi)
           
 String getName()
           
 Role.Scope getScope()
           
 boolean isInternal()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Role

public Role(String id,
            String name,
            String description,
            boolean isInternal,
            Role.Scope scope)
Method Detail

getId

public String getId()

getName

public String getName()

getDescription

public String getDescription()

isInternal

public boolean isInternal()

getScope

public Role.Scope getScope()

getMembers

public RoleMembers getMembers(Context context,
                              XmlWorkflowItem wfi)
                       throws SQLException
Throws:
SQLException


Copyright © 2011 DuraSpace. All Rights Reserved.