|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WorkspacesService
Method Summary | |
---|---|
void |
assignToWorkspace(DeepaMehtaObject object,
long workspaceId)
Assigns the specified object to a workspace. |
void |
assignTypeToWorkspace(Type type,
long workspaceId)
Assigns the specified type and all its view configuration topics to a workspace. |
Topic |
createWorkspace(String name)
|
Topic |
createWorkspace(String name,
String uri)
|
List<RelatedTopic> |
getAssignedWorkspaces(DeepaMehtaObject object)
Fetches the workspaces the specified object is assigned to. |
Topic |
getDefaultWorkspace()
Fetches the default workspace ("DeepaMehta"). |
boolean |
isAssignedToWorkspace(Topic topic,
long workspaceId)
Checks weather the specified topic is assigned to the specified workspace |
Method Detail |
---|
List<RelatedTopic> getAssignedWorkspaces(DeepaMehtaObject object)
boolean isAssignedToWorkspace(Topic topic, long workspaceId)
Topic getDefaultWorkspace()
null
if it doesn't exist.
Note: the default workspace is NOT required to exist ### TODO: think about itvoid assignToWorkspace(DeepaMehtaObject object, long workspaceId)
void assignTypeToWorkspace(Type type, long workspaceId)
Topic createWorkspace(String name)
Topic createWorkspace(String name, String uri)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |