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_TYPEgetType()com.saperion.intf.SaPropertyValueReturns the value with the specified name.com.saperion.intf.SaPropertyValue[]Returns all index values of the folder.booleanReturns 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:
getPropertyAsStringin 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:
getFolderClassNamein interfaceFolderInfo- Returns:
- folder class name
- See Also:
-
hasValue
Returns true if the folder has an index value with the specified name.- Specified by:
hasValuein 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:
getValuein 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:
getValuesin interfaceFolderInfo- Returns:
- array with index values
- See Also:
-
getFolderName
- Specified by:
getFolderNamein interfaceFolderInfo- Returns:
- the name of the folder
- See Also:
-
getFolderPath
- Specified by:
getFolderPathin interfaceFolderInfo- Returns:
- the path of the folder
- See Also:
-
getFolderId
- Specified by:
getFolderIdin 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:
getTypein interfaceFolderInfo- Returns:
- the type of the folder
- Throws:
UnknownFolderTypeException- if the type of the folder can not be retrieved- See Also:
-