com.mizar.credentials
Interface Role

All Known Implementing Classes:
RoleBean, RoleRow

public interface Role

Defines a security role. Both users and groups may have roles. A role is defined by it's name, which is unique system wide. A user is automatically assigned their security roles on sign-in. A group's roles can be automatically assigned to members, or assigned on a case by case basis.


Method Summary
 java.util.List getGroups()
           
 java.util.Date getLockedOut()
           
 java.util.List getPermissions()
           
 java.lang.Long getRoleId()
           
 java.lang.String getRoleName()
           
 java.util.List getUsers()
           
 boolean isGuestable()
           
 void setGroups(java.util.List<Group> groups)
           
 void setGuestable(boolean guestable)
           
 void setLockedOut(java.util.Date lockedOut)
           
 void setPermissions(java.util.List<Permission> permissions)
           
 void setRoleId(java.lang.Long roleId)
           
 void setRoleName(java.lang.String name)
           
 void setUsers(java.util.List<User> users)
           
 

Method Detail

setRoleId

void setRoleId(java.lang.Long roleId)

getRoleId

java.lang.Long getRoleId()

setRoleName

void setRoleName(java.lang.String name)

getRoleName

java.lang.String getRoleName()

setUsers

void setUsers(java.util.List<User> users)

getUsers

java.util.List getUsers()

setGroups

void setGroups(java.util.List<Group> groups)

getGroups

java.util.List getGroups()

setPermissions

void setPermissions(java.util.List<Permission> permissions)

getPermissions

java.util.List getPermissions()

setLockedOut

void setLockedOut(java.util.Date lockedOut)

getLockedOut

java.util.Date getLockedOut()

setGuestable

void setGuestable(boolean guestable)

isGuestable

boolean isGuestable()