|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.olat.course.nodes.projectbroker.service.ProjectGroupManagerImpl
public class ProjectGroupManagerImpl
| Constructor Summary | |
|---|---|
ProjectGroupManagerImpl()
|
|
| Method Summary | |
|---|---|
boolean |
acceptCandidates(java.util.List<Identity> identities,
Project project,
Identity actionIdentity,
boolean autoSignOut,
boolean isAcceptSelectionManually)
Accept candidates as participants, move identity from candidate-group to participant-group |
java.util.List<Identity> |
addCandidates(java.util.List<Identity> addIdentities,
Project project)
Add identities as candidates. |
BusinessGroup |
createProjectGroupFor(java.lang.Long projectBrokerId,
Identity identity,
java.lang.String groupName,
java.lang.String groupDescription,
java.lang.Long courseId)
Create a business-group for a project. |
void |
deleteAccountManagerGroup(CoursePropertyManager cpm,
CourseNode courseNode)
Delete an account-manager group and the key in the CoursePropertyManager. |
void |
deleteProjectGroupFor(Project project)
Delete project-group for certain project. |
BusinessGroup |
getAccountManagerGroupFor(CoursePropertyManager cpm,
CourseNode courseNode,
ICourse course,
java.lang.String groupName,
java.lang.String groupDescription,
Identity identity)
Return business-group for account-managers. |
boolean |
isAccountManager(Identity identity,
CoursePropertyManager cpm,
CourseNode courseNode)
Return true when identity is account-manager (could create projects). |
void |
removeCandidates(java.util.List<Identity> addIdentities,
Project project)
Remove identities as candidates. |
void |
saveAccountManagerGroupKey(java.lang.Long accountManagerGroupKey,
CoursePropertyManager cpm,
CourseNode courseNode)
|
void |
sendGroupChangeEvent(Project project,
java.lang.Long courseResourceableId,
Identity identity)
Send a multi-user-event to inform about added identities. |
void |
updateAccountManagerGroupName(java.lang.String groupName,
java.lang.String groupDescription,
BusinessGroup accountManagerGroup)
Update group-name or description for certain account manager group. |
void |
updateProjectGroupFor(Project project)
Update project-group for certain project. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProjectGroupManagerImpl()
| Method Detail |
|---|
public BusinessGroup getAccountManagerGroupFor(CoursePropertyManager cpm,
CourseNode courseNode,
ICourse course,
java.lang.String groupName,
java.lang.String groupDescription,
Identity identity)
ProjectGroupManager
getAccountManagerGroupFor in interface ProjectGroupManager
public void saveAccountManagerGroupKey(java.lang.Long accountManagerGroupKey,
CoursePropertyManager cpm,
CourseNode courseNode)
public boolean isAccountManager(Identity identity,
CoursePropertyManager cpm,
CourseNode courseNode)
ProjectGroupManager
isAccountManager in interface ProjectGroupManager
public void deleteAccountManagerGroup(CoursePropertyManager cpm,
CourseNode courseNode)
ProjectGroupManager
deleteAccountManagerGroup in interface ProjectGroupManager
public void updateAccountManagerGroupName(java.lang.String groupName,
java.lang.String groupDescription,
BusinessGroup accountManagerGroup)
ProjectGroupManager
updateAccountManagerGroupName in interface ProjectGroupManager
public BusinessGroup createProjectGroupFor(java.lang.Long projectBrokerId,
Identity identity,
java.lang.String groupName,
java.lang.String groupDescription,
java.lang.Long courseId)
ProjectGroupManager
createProjectGroupFor in interface ProjectGroupManagerpublic void deleteProjectGroupFor(Project project)
ProjectGroupManager
deleteProjectGroupFor in interface ProjectGroupManagerpublic void updateProjectGroupFor(Project project)
ProjectGroupManager
updateProjectGroupFor in interface ProjectGroupManager
public java.util.List<Identity> addCandidates(java.util.List<Identity> addIdentities,
Project project)
ProjectGroupManager
addCandidates in interface ProjectGroupManager
public void removeCandidates(java.util.List<Identity> addIdentities,
Project project)
ProjectGroupManager
removeCandidates in interface ProjectGroupManager
public boolean acceptCandidates(java.util.List<Identity> identities,
Project project,
Identity actionIdentity,
boolean autoSignOut,
boolean isAcceptSelectionManually)
ProjectGroupManager
acceptCandidates in interface ProjectGroupManager
public void sendGroupChangeEvent(Project project,
java.lang.Long courseResourceableId,
Identity identity)
ProjectGroupManager
sendGroupChangeEvent in interface ProjectGroupManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||