public class ClassicConnectorFolderInfo extends Object implements FolderInfo
Constructor and Description |
---|
ClassicConnectorFolderInfo(com.saperion.intf.SaDocumentInfo saDocumentInfo)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getFolderClassName()
Returns the name of the folder class of this folder or null if the folder does not have a
class.
|
FolderId |
getFolderId() |
String |
getFolderName() |
String |
getFolderPath() |
String |
getPropertyAsString(String propertyName)
Returns the specified propertie's value as a string or null if the value is not available.
|
com.saperion.constants.SaFolderConstants.FOLDER_TYPE |
getType() |
com.saperion.intf.SaPropertyValue |
getValue(String valueName)
Returns the value with the specified name.
|
com.saperion.intf.SaPropertyValue[] |
getValues()
Returns all index values of the folder.
|
boolean |
hasValue(String valueName)
Returns true if the folder has an index value with the specified name.
|
public ClassicConnectorFolderInfo(com.saperion.intf.SaDocumentInfo saDocumentInfo)
saDocumentInfo
- document info retrieved from backendpublic String getPropertyAsString(String propertyName)
getPropertyAsString
in interface FolderInfo
propertyName
- property nameFolderInfo.getPropertyAsString(java.lang.String)
public String getFolderClassName()
getFolderClassName
in interface FolderInfo
FolderInfo.getFolderClassName()
public boolean hasValue(String valueName)
hasValue
in interface FolderInfo
valueName
- value nameFolderInfo.hasValue(java.lang.String)
public com.saperion.intf.SaPropertyValue getValue(String valueName)
getValue
in interface FolderInfo
valueName
- value nameFolderInfo.getValue(java.lang.String)
public com.saperion.intf.SaPropertyValue[] getValues()
getValues
in interface FolderInfo
FolderInfo.getValues()
public String getFolderName()
getFolderName
in interface FolderInfo
FolderInfo.getFolderName()
public String getFolderPath()
getFolderPath
in interface FolderInfo
FolderInfo.getFolderPath()
public FolderId getFolderId() throws DocumentIdentificationException
getFolderId
in interface FolderInfo
DocumentIdentificationException
- when the folder does not contain a unique idFolderInfo.getFolderId()
public com.saperion.constants.SaFolderConstants.FOLDER_TYPE getType() throws UnknownFolderTypeException
getType
in interface FolderInfo
UnknownFolderTypeException
- if the type of the folder can not be retrievedFolderInfo.getType()
Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.