WorkSite ClassMocom WorkSite Library API
Core WorkSite functions provided by Mocom WorkSite Library.
Inheritance Hierarchy

SystemObject
  Mocom_WorkSite_LibraryWorkSite

Namespace: Mocom_WorkSite_Library
Assembly: Mocom WorkSite Library (in Mocom WorkSite Library.dll) Version: 1.0.8.0 (1.0.8)
Syntax

public class WorkSite

The WorkSite type exposes the following members.

Constructors

  NameDescription
Public methodWorkSite
Initializes a new instance of the WorkSite class
Top
Methods

  NameDescription
Public methodChangeDatabase
Changes to a different database. By default the user's preferred database is always selected unless this method is called.
Public methodCheckinDocument(Int32)
Checks in an already checked out document.
Public methodCheckinDocument(Int32, Int32)
Checks in an already checked out document version.
Public methodCheckoutDocument(String, Int32, WorkSitePathCreationOption)
Checks out a copy of the latest version of a WorkSite document to a specified path.
Public methodCheckoutDocument(String, Int32, Int32, WorkSitePathCreationOption)
Checks out a copy of the latest version of a WorkSite document to a specified path.
Public methodCheckoutDocument(String, Int32, WorkSitePathCreationOption, String, WorkSiteDocumentFileExtensionOptions)
Checks out a copy of the latest version of a WorkSite document to a specified path and filename.
Public methodCheckoutDocument(String, Int32, Int32, WorkSitePathCreationOption, String, WorkSiteDocumentFileExtensionOptions)
Checks out a copy of a specified version of a WorkSite document to a specified path and filename.
Public methodConnectToWorkSite
Connect to the WorkSite server using windows credentials. The name of the server is specified in the ServerName property.
Public methodConnectToWorkSite(String)
Connect to the WorkSite server using windows credentials.
Public methodConnectToWorkSite(String, String)
Connect to the WorkSite server using supplied credentials. The name of the server is specified in the ServerName property.
Public methodConnectToWorkSite(String, String, String)
Connect to the WorkSite server using windows credentials.
Public methodCopyDocument(String, Int32, WorkSitePathCreationOption)
Save a copy of the latest version of a WorkSite document to a specified path.
Public methodCopyDocument(String, Int32, Int32, WorkSitePathCreationOption)
Save a copy of a specified version of a WorkSite document to a specified path.
Public methodCopyDocument(String, Int32, WorkSitePathCreationOption, String, WorkSiteDocumentFileExtensionOptions)
Save a copy of the latest version of a WorkSite document to a specified path and filename.
Public methodCopyDocument(String, Int32, Int32, WorkSitePathCreationOption, String, WorkSiteDocumentFileExtensionOptions)
Save a copy of a specified version of a WorkSite document to a specified path and filename.
Public methodCreateFolder
Create a document folder.
Public methodDeleteDocumentFromWorkSite
Deletes a document from WorkSite.
Public methodDisconnectFromWorkSite
Logs out and disconnects from the WorkSite server.
Public methodGetDocumentClasses
Gets a collection of Document classes for the preferred database.
Public methodGetDocumentClasses(String)
Gets a collection of registered document classes for the specified database.
Public methodGetDocumentDetails(Int32)
Gets the details of the latest version of a document from WorkSite
Public methodGetDocumentDetails(Int32, Int32)
Gets the details of a version of a document from WorkSite
Public methodGetDocumentFolderById
Gets a WorkSiteFolder object for the given Id.
Public methodGetDocumentsInFolder
Gets a list of documents in a document folder
Public methodGetSubFolders(String)
Gets a list of folders contained in the root folder specified by the object id.
Public methodGetSubFolders(WorkSiteSpecialFolderAreas)
Gets a list of the folders contained within the specified folder area.
Public methodGetUsers
Gets a collection of users for the connected database.
Public methodGetWorkSiteFolderIdFromName
Gets the folder ID for the named folder.
Public methodGetWorkspaceByClientAndMatter
Get a list of Workspaces for the supplied Client and Matter
Public methodImportDocumentToWorkSite(WorkSiteDocument)
Add a document to the connected user's default database.
Public methodImportDocumentToWorkSite(String, String, String, String, String)
Add a document to the connected user's default database.
Public methodImportDocumentToWorkSite(String, String, String, String, String, String, String)
Add a document to the connected user's default database.
Public methodImportDocumentToWorkSite(String, String, String, String, String, String, String, String)
Add a document to the connected database. If the document is added to a folder it will inherit both the security and profile information of the folder.
Public methodImportDocumentToWorkSite(String, String, String, String, String, String, String, String, WorkSiteDocumentInheritanceOptions)
Add a document to the connected database.
Public methodIsDocumentCheckedOut(Int32)
Queries WorkSite to see the latest version of a document is checked out.
Public methodIsDocumentCheckedOut(Int32, Int32)
Queries WorkSite to see if a version of document is checked out.
Public methodOpenFileWithWorkSite(Int32, NullableIntPtr)
Opens the latest specified document using Filesite/Desksite
Public methodOpenFileWithWorkSite(Int32, Int32, NullableIntPtr)
Opens the specified document using Filesite/Desksite
Public methodUpdateDocumentDetails
Updates the profile of a document.
Top
Properties

  NameDescription
Public propertyDatabases
Gets a list of the WorkSite databases for the currently connected WorkSite session.
Public propertyDefaultDatabase
Gets the default database for the connected user.
Public propertyIsConnectedToWorkSite
Gets a value indicating whether there is a current logged on session to the WorkSite server.
Public propertyLicence
Gets or sets the licence code for the installed site.
Public propertyServerName
Gets or sets the name of the WorkSite server used for the current connection.
Top
See Also

Reference