com.mizar.credentials
Interface Permission

All Known Implementing Classes:
PermissionBean, PermissionRow

public interface Permission

Represents a user permission. It is different from a role. A role determines a class of users, for example group administrators A permission determines a specific permission inside a role, for example group administrator for group "SEASIDE_COUNTY"


Method Summary
 java.util.List<Group> getGroups()
           
 java.lang.String getName()
           
 java.lang.Long getPermissionId()
           
 java.util.List<Role> getRoles()
           
 void setGroups(java.util.List<Role> groups)
           
 void setName(java.lang.String name)
           
 void setPermissionId(java.lang.Long permissionId)
           
 void setRoles(java.util.List<Role> roles)
           
 

Method Detail

setPermissionId

void setPermissionId(java.lang.Long permissionId)

getPermissionId

java.lang.Long getPermissionId()

setName

void setName(java.lang.String name)

getName

java.lang.String getName()

setGroups

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

getGroups

java.util.List<Group> getGroups()

setRoles

void setRoles(java.util.List<Role> roles)

getRoles

java.util.List<Role> getRoles()