Package com.saperion.ngc.model
Class FolderId
java.lang.Object
com.saperion.ngc.model.FolderId
- All Implemented Interfaces:
- Serializable
Identifies a folder on the backend system.
- See Also:
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionconvertToObjectIdList(List<FolderId> list) Converts to a list of object id's.convertToRevisionIdList(List<FolderId> list) /**Converts to a list of revision id's.booleanfinal StringgetName()final StringgetPath()final com.saperion.constants.SaFolderConstants.FOLDER_TYPEgetType()inthashCode()final voidfinal voidfinal voidsetType(com.saperion.constants.SaFolderConstants.FOLDER_TYPE value) toString()
- 
Field Details- 
ROOTRoot folder id.- See Also:
 
 
- 
- 
Constructor Details- 
FolderIdCreates a new FolderId.- Parameters:
- objectId- object ID of the folder. This corresponds with the SysRowId.
- ddcName- ddc name
 
- 
FolderIdCreates a new FolderId.- Parameters:
- objectId- object ID of the document. This corresponds with the SysRowId.
- revisionId- revision ID of the document. This corresponds with the HDOC.
- ddcName- ddc name
 
 
- 
- 
Method Details- 
getObjectId- Returns:
- object ID of the document. This corresponds with the SysRowId. Never null.
 
- 
getRevisionId- Returns:
- revision ID of the document or null if not available. This corresponds with the HDOC.
 
- 
getDdcName- Returns:
- DDC name or null if not set.
 
- 
getName- Returns:
- the name
 
- 
setName- Parameters:
- value- the name to set
 
- 
getPath- Returns:
- the path
 
- 
setPath- Parameters:
- value- the path to set
 
- 
getTypepublic final com.saperion.constants.SaFolderConstants.FOLDER_TYPE getType()- Returns:
- the type
 
- 
setTypepublic final void setType(com.saperion.constants.SaFolderConstants.FOLDER_TYPE value) - Parameters:
- value- the type to set
 
- 
convertToObjectIdListConverts to a list of object id's.- Parameters:
- list- Input
- Returns:
- List of object id's
 
- 
convertToRevisionIdList/**Converts to a list of revision id's.- Parameters:
- list- Input
- Returns:
- List of revision id's
 
- 
equals
- 
hashCodepublic int hashCode()
- 
getSimpleString- Returns:
- DDC + object id
 
- 
toString
 
-