org.olat.group
Interface DeletableGroupData
- All Known Subinterfaces:
- ProjectBrokerManager
- All Known Implementing Classes:
- ProjectBrokerManagerImpl
public interface DeletableGroupData
- Author:
- ChristianGuretzki
checkIfReferenced
DeletableReference checkIfReferenced(BusinessGroup group,
java.util.Locale locale)
- Check if a group is used by deletable-group data element.
E.g. projectbroker has references to certain groups
- Parameters:
group - Check reference for this grouplocale - locale can be used to translate element-type. E.g. project-broker to Themenboerse
- Returns:
- DeletableReference object, when the group is used, deleteable.Reference.isReferenced return true
deleteGroupDataFor
boolean deleteGroupDataFor(BusinessGroup group)
- Delete data for element which are be used by certain group.
- Parameters:
group - Delete data for this group
- Returns:
- true: data deleted , false: no data deleted