Grooper.CMIS.CmisFolder

Represents a folder object in a CMIS Repository.


Inherits from: Grooper.CMIS.CmisObject

Constructors

Signature Description
New (Rep As CmisRepository, Data As IObjectData)
Parameters
Rep
          Type: CmisRepository
          
 
Data
          Type: IObjectData
          
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
CanPerform(Action As Action) As Boolean
Parameters
Action
          Type: Action
          
CreateDocument(Props As Properties, Stream As ContentStream, VersioningState As VersioningState) As CmisDocument
Parameters
Props
          Type: Properties
          
 
Stream
          Type: ContentStream
          
 
VersioningState
          Type: VersioningState
          
CreateFolder(Props As Properties) As CmisFolder
Parameters
Props
          Type: Properties
          
CreateFolder(TypeId As String, Name As String) As CmisFolder
Parameters
TypeId
          Type: String
          
 
Name
          Type: String
          
Delete()
EnumerateChildren() As IEnumerable(Of CmisObject)
EnumerateChildren(Filter As String, IncludeActions As Boolean) As IEnumerable(Of CmisObject)
Parameters
Filter
          Type: String
          
 
IncludeActions
          Type: Boolean
          
GetChildFolderByName(Name As String, Filter As String, IncludeAllowableActions As Boolean) As CmisFolder
Parameters
Name
          Type: String
          
 
Filter
          Type: String
          
 
IncludeAllowableActions
          Type: Boolean
          
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
          
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.