Package com.saperion.ngc.model
Class FolderId
- java.lang.Object
- 
- com.saperion.ngc.model.FolderId
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 public class FolderId extends java.lang.Object implements java.io.SerializableIdentifies a folder on the backend system.- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringROOTRoot folder id.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.List<java.lang.String>convertToObjectIdList(java.util.List<FolderId> list)Converts to a list of object id's.static java.util.List<java.lang.String>convertToRevisionIdList(java.util.List<FolderId> list)/**Converts to a list of revision id's.booleanequals(java.lang.Object obj)java.lang.StringgetDdcName()java.lang.StringgetName()java.lang.StringgetObjectId()java.lang.StringgetPath()java.lang.StringgetRevisionId()java.lang.StringgetSimpleString()com.saperion.constants.SaFolderConstants.FOLDER_TYPEgetType()inthashCode()voidsetName(java.lang.String value)voidsetPath(java.lang.String value)voidsetType(com.saperion.constants.SaFolderConstants.FOLDER_TYPE value)java.lang.StringtoString()
 
- 
- 
- 
Field Detail- 
ROOTpublic static final java.lang.String ROOT Root folder id.- See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
FolderIdpublic FolderId(java.lang.String objectId, java.lang.String ddcName)Creates a new FolderId.- Parameters:
- objectId- object ID of the folder. This corresponds with the SysRowId.
- ddcName- ddc name
 
 - 
FolderIdpublic FolderId(java.lang.String objectId, java.lang.String revisionId, java.lang.String ddcName)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 Detail- 
getObjectIdpublic java.lang.String getObjectId() - Returns:
- object ID of the document. This corresponds with the SysRowId. Never null.
 
 - 
getRevisionIdpublic java.lang.String getRevisionId() - Returns:
- revision ID of the document or null if not available. This corresponds with the HDOC.
 
 - 
getDdcNamepublic java.lang.String getDdcName() - Returns:
- DDC name or null if not set.
 
 - 
getNamepublic final java.lang.String getName() - Returns:
- the name
 
 - 
setNamepublic final void setName(java.lang.String value) - Parameters:
- value- the name to set
 
 - 
getPathpublic final java.lang.String getPath() - Returns:
- the path
 
 - 
setPathpublic final void setPath(java.lang.String value) - 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
 
 - 
convertToObjectIdListpublic static final java.util.List<java.lang.String> convertToObjectIdList(java.util.List<FolderId> list) Converts to a list of object id's.- Parameters:
- list- Input
- Returns:
- List of object id's
 
 - 
convertToRevisionIdListpublic static final java.util.List<java.lang.String> convertToRevisionIdList(java.util.List<FolderId> list) /**Converts to a list of revision id's.- Parameters:
- list- Input
- Returns:
- List of revision id's
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
getSimpleStringpublic java.lang.String getSimpleString() - Returns:
- DDC + object id
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-