Class ClassicConnectorFolderInfo
java.lang.Object
com.saperion.ngc.model.navigation.ClassicConnectorFolderInfo
- All Implemented Interfaces:
FolderInfo
Implementation of FolderInfo for ClassicConnector.
-
Constructor Summary
ConstructorsConstructorDescriptionClassicConnectorFolderInfo
(com.saperion.intf.SaDocumentInfo saDocumentInfo) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the folder class of this folder or null if the folder does not have a class.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
Returns the value with the specified name.com.saperion.intf.SaPropertyValue[]
Returns all index values of the folder.boolean
Returns true if the folder has an index value with the specified name.
-
Constructor Details
-
ClassicConnectorFolderInfo
public ClassicConnectorFolderInfo(com.saperion.intf.SaDocumentInfo saDocumentInfo) Constructor.- Parameters:
saDocumentInfo
- document info retrieved from backend
-
-
Method Details
-
getPropertyAsString
Returns the specified propertie's value as a string or null if the value is not available.- Specified by:
getPropertyAsString
in interfaceFolderInfo
- Parameters:
propertyName
- property name- Returns:
- value as string or null
- See Also:
-
getFolderClassName
Returns the name of the folder class of this folder or null if the folder does not have a class.- Specified by:
getFolderClassName
in interfaceFolderInfo
- Returns:
- folder class name
- See Also:
-
hasValue
Returns true if the folder has an index value with the specified name.- Specified by:
hasValue
in interfaceFolderInfo
- Parameters:
valueName
- value name- Returns:
- true if value is present, otherwise false
- See Also:
-
getValue
Returns the value with the specified name.- Specified by:
getValue
in interfaceFolderInfo
- Parameters:
valueName
- value name- Returns:
- the value
- See Also:
-
getValues
public com.saperion.intf.SaPropertyValue[] getValues()Returns all index values of the folder.- Specified by:
getValues
in interfaceFolderInfo
- Returns:
- array with index values
- See Also:
-
getFolderName
- Specified by:
getFolderName
in interfaceFolderInfo
- Returns:
- the name of the folder
- See Also:
-
getFolderPath
- Specified by:
getFolderPath
in interfaceFolderInfo
- Returns:
- the path of the folder
- See Also:
-
getFolderId
- Specified by:
getFolderId
in interfaceFolderInfo
- Returns:
- id of the folder
- Throws:
DocumentIdentificationException
- when the folder does not contain a unique id- See Also:
-
getType
public com.saperion.constants.SaFolderConstants.FOLDER_TYPE getType() throws UnknownFolderTypeException- Specified by:
getType
in interfaceFolderInfo
- Returns:
- the type of the folder
- Throws:
UnknownFolderTypeException
- if the type of the folder can not be retrieved- See Also:
-