org.olat.group.right
Class BGRightManagerImpl
java.lang.Object
org.olat.group.right.BGRightManagerImpl
- All Implemented Interfaces:
- BGRightManager
public class BGRightManagerImpl
- extends java.lang.Object
- implements BGRightManager
Description:
TODO: Class Description for BGRightManagerImpl Initial Date: Aug 24, 2004
- Author:
- gnaegi
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static BGRightManagerImpl getInstance()
- Returns:
- singleton instance
addBGRight
public void addBGRight(java.lang.String bgRight,
BusinessGroup rightGroup)
- Description copied from interface:
BGRightManager
- Add a business group right to a business group
- Specified by:
addBGRight in interface BGRightManager
- See Also:
BGRightManager.addBGRight(java.lang.String,
org.olat.group.BusinessGroup)
removeBGRight
public void removeBGRight(java.lang.String bgRight,
BusinessGroup rightGroup)
- Description copied from interface:
BGRightManager
- Remove a business group right from a business group
- Specified by:
removeBGRight in interface BGRightManager
- See Also:
BGRightManager.removeBGRight(java.lang.String,
org.olat.group.BusinessGroup)
hasBGRight
public boolean hasBGRight(java.lang.String bgRight,
Identity identity,
BGContext bgContext)
- Specified by:
hasBGRight in interface BGRightManager
- Returns:
- true if an identity is in a group that has this business group
right in the given group context
- See Also:
BGRightManager.hasBGRight(java.lang.String,
org.olat.core.id.Identity, org.olat.group.context.BGContext)
findBGRights
public java.util.List findBGRights(BusinessGroup rightGroup)
- Specified by:
findBGRights in interface BGRightManager
- Returns:
- a list of all business group rights associated with the given
business group
- See Also:
BGRightManager.findBGRights(org.olat.group.BusinessGroup)