|
Oracle® Collaboration Suite Workspaces API Reference 10g Release 1 (10.1.2) B25479-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.workspaces.container.CwWorkspaceDefinition
An instance of this class contains all the information needed to created a workspace or subworkspace. Pass an instance of this class to CwSession.createWorkspace(oracle.workspaces.container.CwWorkspaceDefinition)
.
Constructor Summary | |
CwWorkspaceDefinition() |
Method Summary | |
boolean |
allowPartialSuccess() |
java.lang.String |
getContactEmailAddress() |
CwUser |
getContactPerson() |
CwMemberRoleType |
getDefaultMemberRoleType() |
java.lang.String |
getDescription() |
java.lang.String |
getDisplayName() |
java.lang.String |
getMemberAccessSetting() |
CwMemberable[] |
getMembers() Returns the membership information for the members to be added to the workspace to be created. |
java.lang.String |
getMembershipNotificationOption() Returns who all are notified when a user is added to or removed from a workspace. |
java.lang.String |
getName() A human readable name of the workspace. |
CwUid |
getParentUid() |
java.lang.String |
getPath() The absolute path to the workspace, reflecting the hierarchy of the workspaces. |
CwResourceDefinition[] |
getResourceDefinitions() |
CwWorkspaceTemplate |
getTemplate() Returns the workspace template (if any) to be used for the workspace to be created |
java.lang.String |
getWelcomeMessage() |
boolean |
isPubliclyListed() |
void |
setAllowPartialSuccess(boolean setting) By default allowPartialSuccess is true |
void |
setAuditedActions(java.lang.String auditedActions) |
void |
setContactEmailAddress(java.lang.String contactEmailAddress) |
void |
setContactPerson(CwUser contactPerson) |
void |
setDefaultMemberRoleType(CwMemberRoleType defaultRole) |
void |
setDescription(java.lang.String description) |
void |
setDisplayName(java.lang.String displayName) |
void |
setMemberAccessSetting(java.lang.String accessSetting) |
void |
setMembers(CwMemberable[] members) Sets the membership information for the members to be added to the workspace to be created. |
void |
setMembershipNotificationOption(java.lang.String option) |
void |
setName(java.lang.String name) |
void |
setParentUid(CwUid uid) sets the UID of the parent workspace |
void |
setPath(java.lang.String pathName) |
void |
setPubliclyListed(boolean publiclyListed) |
void |
setResourceDefinitions(CwResourceDefinition[] resDefs) |
void |
setTemplate(CwWorkspaceTemplate wsTemplate) Sets the workspace template to be used for workspace creation |
void |
setWelcomeMessage(java.lang.String welcomeMessage) |
void |
unsetPubliclyListed() uninitializes the publicly listed setting so that value in the template is used |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CwWorkspaceDefinition()
Method Detail |
public boolean allowPartialSuccess()
public CwMemberable[] getMembers()
public CwResourceDefinition[] getResourceDefinitions()
public CwWorkspaceTemplate getTemplate()
public void setAllowPartialSuccess(boolean setting)
public void setMembers(CwMemberable[] members)
members
- list containing membership information or null. This should not include workspace creator.public void setName(java.lang.String name) throws CwException
name
- the name of the workspaceCwException
public void setParentUid(CwUid uid) throws CwException
uid
- the UID of the parent workspaceCwException
public void setPath(java.lang.String pathName) throws CwException
CwException
public void setResourceDefinitions(CwResourceDefinition[] resDefs)
public void setTemplate(CwWorkspaceTemplate wsTemplate)
wsTemplate
- a reference to the workspace template object or nullpublic java.lang.String getContactEmailAddress()
public CwUser getContactPerson()
public CwMemberRoleType getDefaultMemberRoleType()
public java.lang.String getDescription()
public java.lang.String getDisplayName()
public java.lang.String getMemberAccessSetting()
public java.lang.String getMembershipNotificationOption()
public java.lang.String getName()
"/"
public CwUid getParentUid()
#ID_NO_PARENT
if the workspace is a top-level workspace that has no parent.public java.lang.String getPath()
Pricing
under the workspace RFP1
, the path will be /RFP1/Pricing
public java.lang.String getWelcomeMessage()
public boolean isPubliclyListed()
public void setAuditedActions(java.lang.String auditedActions) throws CwException
auditedActions
- ALL to enable auditing for the workspace.CwException
public void setContactEmailAddress(java.lang.String contactEmailAddress) throws CwException
contactEmailAddress
- The email address for sending email regarding any issue related to this workspace.CwException
- if an invalid email address is passedpublic void setContactPerson(CwUser contactPerson) throws CwException
contactPerson
- A user object for the workspace contact personCwException
- if the specified contact person is not an administrator of this workspacepublic void setDefaultMemberRoleType(CwMemberRoleType defaultRole) throws CwException
CwException
public void setDescription(java.lang.String description) throws CwException
description
- the description of the workspaceCwException
public void setDisplayName(java.lang.String displayName) throws CwException
displayName
- the displayName of the workspaceCwException
public void setMemberAccessSetting(java.lang.String accessSetting) throws CwException
accessSetting
- ENABLED or DISABLEDCwException
- if an invalid access setting is passedpublic void setMembershipNotificationOption(java.lang.String option) throws CwException
option
- ALL_MEMBERS, USER or NONE. is added to a workspaceCwException
public void setPubliclyListed(boolean publiclyListed) throws CwException
publiclyListed
- Whether the workspace will be listed for non-members or notCwException
public void setWelcomeMessage(java.lang.String welcomeMessage) throws CwException
welcomeMessage
- Instructions for where to start, tips for finding information etc.CwException
public void unsetPubliclyListed() throws CwException
CwException
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |