|
Enterprise Workspaces 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IWorkspace
Provides access to the workspace information and member list
| Method Summary | |
|---|---|
IPage |
createPage(com.sap.security.api.IUser user,
String pageName)
Creates a workspace page |
boolean |
deletePage(com.sap.security.api.IUser user,
String pageID)
Deletes a workspace page |
com.sap.security.api.IUser |
getApprovedBy()
Returns the user who has approved this workspace; relevant only if the customer has implemented workspace approval flow |
WorkspaceCategory[] |
getCategories()
Returns the categories assigned to the workspace |
Date |
getCreatedAt()
Returns the workspace creation date |
String |
getDescription()
Returns the workspace description |
Date |
getExpirationDate()
Returns the expiration date of the workspace |
IIdentifier |
getIdentifier()
Returns the workspace identifier |
Locale |
getLocale()
Returns the master locale of the workspace |
IMemberList |
getMemberList()
Returns the member list of the workspace |
String |
getName()
Returns the workspace name |
String |
getNavigationTarget()
Deprecated. use getNavigationTargetURL() |
INavigationTarget |
getNavigationTargetURL()
Returns the workspace navigation target URL, which can be passed to the EPCM.doNavigate(navigationTarget) method |
IPage |
getPage(String ID)
Returns a workspace page with the specified ID |
IPage[] |
getPages()
Returns an array of the workspace pages |
PermissionPolicy |
getPermissionPolicy()
Returns the workspace permission policy |
String |
getQuicklink()
Returns the quick link to the workspace |
IQuota |
getQuota()
Returns the space usage quota of the workspace |
Status |
getStatus()
Returns the workspace status |
boolean |
movePage(com.sap.security.api.IUser user,
IPage page,
int newPosition)
|
void |
setStatus(com.sap.security.api.IUser user,
Status newStatus,
String reason)
Defines the workspace status |
void |
update(WorkspaceProperties workspaceProperties,
com.sap.security.api.IUser user)
Updates the workspace properties |
| Method Detail |
|---|
IMemberList getMemberList()
IPage[] getPages()
throws WorkspacesRuntimeException
WorkspacesRuntimeException
IPage getPage(String ID)
throws WorkspacesRuntimeException
ID - the page ID
WorkspacesRuntimeException
IPage createPage(com.sap.security.api.IUser user,
String pageName)
throws WorkspacesRuntimeException
user - the user who creates the pagepageName - the page name
WorkspacesRuntimeException
boolean deletePage(com.sap.security.api.IUser user,
String pageID)
throws WorkspacesRuntimeException
user - the user who deletes the pagepageID - the ID of the page to delete
WorkspacesRuntimeException
boolean movePage(com.sap.security.api.IUser user,
IPage page,
int newPosition)
throws WorkspacesRuntimeException
user - the user who moves the pagepage - the page to movenewPosition - the new position of the page
WorkspacesRuntimeException
void setStatus(com.sap.security.api.IUser user,
Status newStatus,
String reason)
throws WorkspacesRuntimeException
user - the user that has permissions to change the statusnewStatus - the new status, such as PUBLISHED, DRAFT or CLOSEDreason - the free text describing the reason for changing the workspace status (optional)
WorkspacesRuntimeException
void update(WorkspaceProperties workspaceProperties,
com.sap.security.api.IUser user)
throws WorkspacesRuntimeException
workspaceProperties - the workspace propertiesuser - the user that has permissions to update the properties
WorkspacesRuntimeExceptionIIdentifier getIdentifier()
String getName()
String getQuicklink()
Date getExpirationDate()
Locale getLocale()
String getDescription()
Date getCreatedAt()
PermissionPolicy getPermissionPolicy()
Status getStatus()
String getNavigationTarget()
getNavigationTargetURL()
INavigationTarget getNavigationTargetURL()
com.sap.security.api.IUser getApprovedBy()
workspace approval flow
WorkspaceCategory[] getCategories()
IQuota getQuota()
|
Enterprise Workspaces 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||