com.netgrif.application.engine.orgstructure.groups.interfaces.INextGroupService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of application-engine Show documentation
Show all versions of application-engine Show documentation
System provides workflow management functions including user, role and data management.
package com.netgrif.application.engine.orgstructure.groups.interfaces;
import com.netgrif.application.engine.auth.domain.IUser;
import com.netgrif.application.engine.petrinet.domain.I18nString;
import com.netgrif.application.engine.workflow.domain.Case;
import com.netgrif.application.engine.workflow.domain.eventoutcomes.caseoutcomes.CreateCaseEventOutcome;
import com.querydsl.core.types.Predicate;
import java.util.*;
public interface INextGroupService {
CreateCaseEventOutcome createDefaultSystemGroup(IUser author);
CreateCaseEventOutcome createGroup(IUser author);
CreateCaseEventOutcome createGroup(String title, IUser author);
Case findGroup(String groupID);
List findByIds(Collection groupIds);
List findAllGroups();
Case findDefaultGroup();
Case findByName(String name);
List findByPredicate(Predicate predicate);
Map inviteUser(String email, Map existingUsers, Case groupCase);
void addUserToDefaultGroup(IUser user);
void addUser(IUser user, String groupCase);
void addUser(IUser user, Case groupCase);
Map addUser(IUser user, Map existingUsers);
void removeUser(IUser user, Case groupCase);
Map removeUser(HashSet usersToRemove, Map existingUsers, Case groupCase);
List getMembers(Case groupCase);
Set getAllGroupsOfUser(IUser groupUser);
String getGroupOwnerId(String groupId);
Collection getGroupsOwnerIds(Collection groupIds);
String getGroupOwnerEmail(String groupId);
Collection getGroupsOwnerEmails(Collection groupIds);
Set getAllCoMembers(IUser user);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy