use of fi.otavanopisto.muikku.plugins.announcer.workspace.model.AnnouncementWorkspace in project muikku by otavanopisto.
the class AnnouncementWorkspaceDAO method create.
public AnnouncementWorkspace create(Announcement announcement, Long workspaceEntityId, Boolean archived) {
AnnouncementWorkspace announcemenWorkspace = new AnnouncementWorkspace();
announcemenWorkspace.setAnnouncement(announcement);
announcemenWorkspace.setWorkspaceEntityId(workspaceEntityId);
announcemenWorkspace.setArchived(archived);
return persist(announcemenWorkspace);
}
Aggregations