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
-
Everybody
-
-
Nobody
-
-
getChildren()
- Return the children of this role
-
getDescription()
- Return a deescription of this role
-
getMembers(Connection)
- Return a vector of the community members that play this role.
-
getParent()
- Return the parent of this role or null if this is the root role.
-
getRoleID()
- Return the identifier of this role
Nobody
public static final Role Nobody
Everybody
public static final Role Everybody
getChildren
public abstract Vector getChildren()
- Return the children of this role
- Returns:
- Vector
getDescription
public abstract Description getDescription()
- Return a deescription of this role
- Returns:
- Description
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
getParent
public abstract Role getParent()
- Return the parent of this role or null if this is the root role.
- Returns:
- Identifier
getRoleID
public abstract Identifier getRoleID()
- Return the identifier of this role
- Returns:
- Identifier
All Packages Class Hierarchy This Package Previous Next Index