Grooper.CMIS.CmisDocument

Represents a document object in a CMIS Repository.


Inherits from: Grooper.CMIS.CmisObject

Constructors

Signature Description
New (Rep As CmisRepository, Data As ObjectData)
Parameters
Rep
          Type: CmisRepository
          
 
Data
          Type: ObjectData
          
New (Rep As CmisRepository, Id As String, TypeId As String)
Parameters
Rep
          Type: CmisRepository
          
 
Id
          Type: String
          
 
TypeId
          Type: String
          

Fields

Field Name Field Type Description
Repository As Grooper.CMIS.CmisRepository Grooper.CMIS.CmisRepository

Properties

Property Name Property Type Description
AllowedActionsAsString System.String The set of actions which can be performed on this object.
BaseTypeAsString System.String Indicates whether this object is a folder or a document.
IsEmpty System.Boolean Returns true if all properties with a ViewableAttribute are set to their default value.
IsWriteable System.Boolean Returns true if the object is writable, or false if it is not.
Name System.String The name of the object. Corresponds to the cmis:name property.
ObjectTypeAsString System.String The object type. The display name of the content type referenced by the cmis:objectTypeId property.

Methods

Method Name Description
CancelCheckout()
CanPerform(Action As Action) As Boolean
Parameters
Action
          Type: Action
          
CheckIn(AsMajorVersion As Boolean, Props As IProperties, Stream As ContentStream, Comment As String)
Parameters
AsMajorVersion
          Type: Boolean
          
 
Props
          Type: IProperties
          
 
Stream
          Type: ContentStream
          
 
Comment
          Type: String
          
Checkout()
Delete()
GetContentStream() As ContentStream
GetProperties() As PropertyDescriptorCollection
GetPropertyValue(PropId As String) As Object
Parameters
PropId
          Type: String
          
GetPropertyValueAsString(PropId As String) As String
Parameters
PropId
          Type: String
          
GetPropertyValues(PropId As String) As IEnumerable(Of TheType)
Parameters
PropId
          Type: String
          
HasPropertyValue(PropId As String) As Boolean
Parameters
PropId
          Type: String
          
IsPropertyEnabled(PropertyName As String) As Nullable(Of Boolean) Defines whether a property is currently enabled.
Parameters
PropertyName
          Type: String
          The name of the property to determine the enabled state for.
IsPropertyVisible(PropertyName As String) As Nullable(Of Boolean) Defines whether a property is currently visible.
Parameters
PropertyName
          Type: String
          The name of the property to determine the visible state for.
IsType(Type As Type) As Boolean Returns true if the object is of the type specified, or if it derives from the type specfied.
Parameters
Type
          Type: Type
          The type to check.
LoadMissingProperties(PropIds As IEnumerable(Of String))
Parameters
PropIds
          Type: IEnumerable`1
          
LoadProperties(Filter As String)
Parameters
Filter
          Type: String
          
Move(NewParentId As String)
Parameters
NewParentId
          Type: String
          
Rename(NewName As String)
Parameters
NewName
          Type: String
          
SetContentStream(Stream As ContentStream, Overwrite As Boolean)
Parameters
Stream
          Type: ContentStream
          
 
Overwrite
          Type: Boolean
          
ToString() As String
UpdateProperties(PropValues As PropDictionary)
Parameters
PropValues
          Type: PropDictionary
          
ValidateProperties() As ValidationErrorList Validates the properties of the object, returning a list of validation errors.