com.groiss.org
Interface UserRole

All Superinterfaces:
Persistent

public interface UserRole
extends Persistent

This interface describes a role.


Method Summary
 OrgUnit getOrgUnit()
          Returns the org-unit, for user-roles with local or hierarchic roles
 Role getRole()
          Returns the role of the user-role
 User getUser()
          Return the user of the user-role.
 boolean isActive()
          Is the userrole active
 void setActive(boolean active)
           
 void setOrgUnit(OrgUnit ou)
           
 void setRole(Role role)
           
 void setUser(User user)
           
 
Methods inherited from interface com.groiss.store.Persistent
dbFields, getOid, getStore, getTableName, isFilled, onDelete, onInsert, onRead, onUpdate, setFilled, setOid, setStore
 

Method Detail

getUser

User getUser()
Return the user of the user-role.

Returns:
the user

setUser

void setUser(User user)

getRole

Role getRole()
Returns the role of the user-role

Returns:
the role

setRole

void setRole(Role role)

getOrgUnit

OrgUnit getOrgUnit()
Returns the org-unit, for user-roles with local or hierarchic roles

Returns:
the org-unit.

setOrgUnit

void setOrgUnit(OrgUnit ou)

isActive

boolean isActive()
Is the userrole active

Returns:
true when agent is active.

setActive

void setActive(boolean active)


@enterprise 8.0.22989 Copyright © 2001-2017 Groiss Informatics GmbH. All Rights Reserved.