You are here

getFolderTypeDefinition

public FolderTypeDefinition getFolderTypeDefinition(String type) - Returns the type definition object for the given folder type.
Attention: This method was introduced with SDK version 1.4.

Parameters

String type
The specified folder type.

Returns

Returns a FolderTypeDefinition object for the specified type. An exception with an error code of 1301 is returned if the type is null or unknown.

Exception

Throws an UnsupportedMethodException if the method is not supported by the platform.

Example

        
        
      

getFolderTypeDefinition

public FolderTypeDefinition getFolderTypeDefinition(Folder folder) - Returns the type definition object for the given Folder. The returned definition will also include all properties from all applied aspects.
Attention: This method was introduced with SDK version 1.4.

Parameters

Folder folder
The specified folder.

Returns

Returns a FolderTypeDefinition object for the specified folder.

Exception

Throws an UnsupportedMethodException if the method is not supported by the platform.

Example