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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier 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.boolean
final String
getName()
final String
getPath()
final com.saperion.constants.SaFolderConstants.FOLDER_TYPE
getType()
int
hashCode()
final void
final void
final void
setType
(com.saperion.constants.SaFolderConstants.FOLDER_TYPE value) toString()
-
Field Details
-
ROOT
Root folder id.- See Also:
-
-
Constructor Details
-
FolderId
Creates a new FolderId.- Parameters:
objectId
- object ID of the folder. This corresponds with the SysRowId.ddcName
- ddc name
-
FolderId
Creates 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
-
getType
public final com.saperion.constants.SaFolderConstants.FOLDER_TYPE getType()- Returns:
- the type
-
setType
public final void setType(com.saperion.constants.SaFolderConstants.FOLDER_TYPE value) - Parameters:
value
- the type to set
-
convertToObjectIdList
Converts 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
-
hashCode
public int hashCode() -
getSimpleString
- Returns:
- DDC + object id
-
toString
-