Workspace Class |
Namespace: Colygon.MatchPoint.Workspaces.Model
public sealed class Workspace : SPUpdatable, IDisposable, IViewableItem, IListItemWrapper, ITermResultRecord
The Workspace type exposes the following members.
Name | Description | |
---|---|---|
Workspace(String) | Initializes a new instance of the Workspace class | |
Workspace(WorkspaceTemplateConfiguration) |
This constructor is used to create a new Workspace with the given template. When using this constructor a new web or
site-collection will be created. In order to create a Workspace for an existing web or site-collection use
Workspace(String, WorkspaceTemplateConfiguration) instead.
| |
Workspace(String, WorkspaceTemplateConfiguration) | Initializes a new instance of the Workspace class |
Name | Description | |
---|---|---|
ContentClass | Returns the content class of the current workspace. (Overrides SPResultRecordContentClass.) | |
CopyUrl | (Inherited from SPResultRecord.) | |
Exists | Returns 'true' if the current SPWeb is a MatchPoint workspace. (Overrides SPUpdatableExists.) | |
Id | Returns the ID of the workspace. | |
Item | (Overrides SPUpdatableItemString.) | |
ItemId | Returns the ID of the workspace redirector item. A FileNotFoundException is thrown if the redirector item does not exist. | |
Names | Returns a collection of field names of the configured workspace fields | |
PreviewImageInBrowserUrl | (Inherited from SPResultRecord.) | |
PreviewInBrowserUrl | (Inherited from SPResultRecord.) | |
ReadOnly | Returns 'true' if the workspace is currently in read-only mode. | |
RolePermissionAssignments | Returns the role permission assignments for the workspace. | |
Tags | Returns the tags that are currently applied to the item. (Inherited from SPUpdatable.) | |
Template | Returns the workspace template configuration of the workspace. | |
Title | Returns the workspace title. | |
Url | Returns the URL of the workspace. (Overrides SPResultRecordUrl.) | |
UserRoleAssignments | Returns the user role assignments for the workspace. | |
ViewInBrowserUrl | (Inherited from SPResultRecord.) | |
Web | Returns the underlying elevated SPWeb object of the workspace. All actions on this SPWeb instance will be executed as System Account. | |
WorkspaceTag | Returns the workspace tag. Returns null if no workspace tag is configured. |
Name | Description | |
---|---|---|
Archive | Prepares the workspace for archiving. | |
Delete | Deletes the workspace. | |
Dispose | Disposes the workspace. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetFieldModified | Returns the last modification date for the specified field. | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetRolesForCurrentUser | Returns the roles for the current user on this workspace. | |
GetSimpleTags | Returns tags that are currently applied to the item (without accessing tagging service applications). (Inherited from SPResultRecord.) | |
GetTagModified | Returns the last modification date of any of the specified tags. | |
GetTags | Returns tags that are currently applied to the item. (Inherited from SPResultRecord.) | |
GetTags(TagType) | Returns tags of the specified type that are currently applied to the item. (Inherited from SPResultRecord.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetVersions | Returns the workspace versions. | |
IsUserInRole | Returns 'true' if the current user is in the specified role on this workspace. | |
Restore | Restores an archived workspace. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Update | Writes changes on the workspace. (Overrides SPUpdatableUpdate.) | |
Update(Boolean) | Writes changes on the workspace. If the systemUpdate parameter is specified as 'false', the 'Modified' and 'Modified by' fields will not be changed. |
Name | Description | |
---|---|---|
GetTerms | Overloaded. Returns all terms from the a result record. (Defined by TermResultRecordExtensions.) | |
GetTerms(String) | Overloaded. Returns terms from a specific field from a result record. (Defined by TermResultRecordExtensions.) |