Search in sources :

Example 1 with WorkspaceFolderCreateEvent

use of fi.otavanopisto.muikku.plugins.workspace.events.WorkspaceFolderCreateEvent in project muikku by otavanopisto.

the class WorkspaceMaterialController method createWorkspaceFolder.

public WorkspaceFolder createWorkspaceFolder(WorkspaceNode parent, String title, String urlName, Integer index, Boolean hidden, WorkspaceFolderType folderType, MaterialViewRestrict viewRestrict) {
    WorkspaceFolder workspaceFolder = workspaceFolderDAO.create(parent, title, urlName, index, hidden, folderType, viewRestrict);
    workspaceFolderCreateEvent.fire(new WorkspaceFolderCreateEvent(workspaceFolder));
    return workspaceFolder;
}
Also used : WorkspaceFolderCreateEvent(fi.otavanopisto.muikku.plugins.workspace.events.WorkspaceFolderCreateEvent) WorkspaceFolder(fi.otavanopisto.muikku.plugins.workspace.model.WorkspaceFolder)

Aggregations

WorkspaceFolderCreateEvent (fi.otavanopisto.muikku.plugins.workspace.events.WorkspaceFolderCreateEvent)1 WorkspaceFolder (fi.otavanopisto.muikku.plugins.workspace.model.WorkspaceFolder)1