use of fi.otavanopisto.muikku.plugins.communicator.model.CommunicatorMessageRecipientWorkspaceGroup in project muikku by otavanopisto.
the class CommunicatorMessageRecipientWorkspaceGroupDAO method create.
public CommunicatorMessageRecipientWorkspaceGroup create(WorkspaceEntity workspaceEntity, WorkspaceRoleArchetype archetype) {
CommunicatorMessageRecipientWorkspaceGroup workspaceGroup = new CommunicatorMessageRecipientWorkspaceGroup();
workspaceGroup.setArchetype(archetype);
workspaceGroup.setWorkspaceEntityId(workspaceEntity.getId());
getEntityManager().persist(workspaceGroup);
return workspaceGroup;
}
Aggregations