All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.sdi.wap.Role

public interface Role
extends Validatable
This interface defines an application-indepdentent abstraction, Role. that is implemented conretely in RoleImpl, This is largely to resolve references in the com.sdi.wag classes to role definitions that were previously defined in the application itself...e;.g. to make it possible to distribute com.sdi.wap withoug having to drag along the whole application.

See Also:
RoleImpl, SDISite

Variable Index

 o Everybody
 o Nobody

Method Index

 o getChildren()
Return the children of this role
 o getDescription()
Return a deescription of this role
 o getMembers(Connection)
Return a vector of the community members that play this role.
 o getParent()
Return the parent of this role or null if this is the root role.
 o getRoleID()
Return the identifier of this role

Variables

 o Nobody
 public static final Role Nobody
 o Everybody
 public static final Role Everybody

Methods

 o getChildren
 public abstract Vector getChildren()
Return the children of this role

Returns:
Vector
 o getDescription
 public abstract Description getDescription()
Return a deescription of this role

Returns:
Description
 o getMembers
 public abstract Vector getMembers(Connection connection) throws Exception
Return a vector of the community members that play this role.

Parameters:
eter - Connection connection: a DBMS connection for scanning the DBMS if necesary.
Returns:
Vector
 o getParent
 public abstract Role getParent()
Return the parent of this role or null if this is the root role.

Returns:
Identifier
 o getRoleID
 public abstract Identifier getRoleID()
Return the identifier of this role

Returns:
Identifier

All Packages  Class Hierarchy  This Package  Previous  Next  Index