com.intel.gpe.clients.api
Interface UserRole


public interface UserRole

The abstraction of the user role.

The user may belong to one of the roles: admin, user or registry. Perticipation in admin and registry allows to list all the jobs running on the system. Participation in admin also allows to use TS management interface. Plain user role is for ordinary users. They may list only their jobs and don't have access to system private information.

Version:
$Id: UserRole.java,v 1.1 2005/10/05 08:19:08 lukichev Exp $
Author:
Alexander Lukichev

Method Summary
 boolean isAdmin()
           
 boolean isRegistry()
           
 boolean isUser()
           
 void setAdmin()
          Set the role to admin.
 void setRegistry()
          Set the role to registry.
 void setUser()
          Set the role to user.
 

Method Detail

isAdmin

boolean isAdmin()
Returns:
true if the user role is admin

isUser

boolean isUser()
Returns:
true if the user role is user

isRegistry

boolean isRegistry()
Returns:
true if the user role is registry

setAdmin

void setAdmin()
Set the role to admin.


setUser

void setUser()
Set the role to user.


setRegistry

void setRegistry()
Set the role to registry.



Copyright © 2008. All Rights Reserved.