|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WorkspacesService
Field Summary | |
---|---|
static String |
DEEPAMEHTA_WORKSPACE_NAME
|
static SharingMode |
DEEPAMEHTA_WORKSPACE_SHARING_MODE
|
static String |
DEEPAMEHTA_WORKSPACE_URI
|
Method Summary | |
---|---|
void |
assignToWorkspace(DeepaMehtaObject object,
long workspaceId)
Assigns the given object to the given workspace. |
void |
assignTypeToWorkspace(Type type,
long workspaceId)
Assigns the given type and all its view configuration topics to the given workspace. |
Topic |
createWorkspace(String name,
String uri,
SharingMode sharingMode)
|
ResultList<RelatedTopic> |
getAssignedTopics(long workspaceId,
String typeUri)
Returns all topics of the given type that are assigned to the given workspace. |
Topic |
getAssignedWorkspace(long objectId)
Returns the workspace a topic or association is assigned to. |
Topic |
getWorkspace(String uri)
Returns a workspace by URI. |
boolean |
isAssignedToWorkspace(long objectId,
long workspaceId)
Checks weather the given topic or association is assigned to the given workspace. |
Field Detail |
---|
static final String DEEPAMEHTA_WORKSPACE_NAME
static final String DEEPAMEHTA_WORKSPACE_URI
static final SharingMode DEEPAMEHTA_WORKSPACE_SHARING_MODE
Method Detail |
---|
Topic createWorkspace(String name, String uri, SharingMode sharingMode)
uri
- may be nullTopic getWorkspace(String uri)
ResultList<RelatedTopic> getAssignedTopics(long workspaceId, String typeUri)
Topic getAssignedWorkspace(long objectId)
id
- a topic ID, or an association ID
null
if no workspace is assigned.boolean isAssignedToWorkspace(long objectId, long workspaceId)
void assignToWorkspace(DeepaMehtaObject object, long workspaceId)
void assignTypeToWorkspace(Type type, long workspaceId)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |