Package com.emc.d2fs.interfaces
Interface ILocateService
public interface ILocateService
Document location service.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.locateByDql
(Context context, String dql) Return full path of parent ids to locate documentlocateById
(Context context, String id) Return full path of parent ids to locate documentlocateById
(Context context, String id, boolean includePartialPaths, boolean doChangePref) Return full path of parent ids to locate documentlocateByName
(Context context, String objectName) Return full path of parent ids to locate documentlocateByPath
(Context context, String path, List<Attribute> attributes) Return full path of parent ids to locate documentReturn full path of parent ids to locate documentlocateForBreadCrumb
(Context context, String id, List<Attribute> attributes) Return full path of parent ids to locate document with all BreadCrumb Information The String must be split in 3, using |, the first part is the locate path using / the second part is the Label info splitted using ¬ matching the number of path elements the third part is the icon info splitted using ¬ matching the number of path elements
-
Method Details
-
locate
Deprecated.Return full path of parent ids to locate document -
locateById
Return full path of parent ids to locate document -
locateById
List<String> locateById(Context context, String id, boolean includePartialPaths, boolean doChangePref) throws Exception Return full path of parent ids to locate document -
locateForBreadCrumb
Return full path of parent ids to locate document with all BreadCrumb Information The String must be split in 3, using |, the first part is the locate path using / the second part is the Label info splitted using ¬ matching the number of path elements the third part is the icon info splitted using ¬ matching the number of path elements- Parameters:
context
-Context
object containing informations about client/sessionid
- String value of document id (use of id determined by 'locationType')attributes
-Attribute
list of attributes- It may contain the following attribute name :
- locationType : String value of location type (id, name, dql, path, version)
- Returns:
- String joined of ids|labels|icons corresponding to all information needed for breadCrumb
- Throws:
Exception
- Since:
- 4.2.0
-
locateByName
Return full path of parent ids to locate document -
locateByDql
Return full path of parent ids to locate document -
locateByPath
List<String> locateByPath(Context context, String path, List<Attribute> attributes) throws Exception Return full path of parent ids to locate document- Parameters:
context
-Context
object containing informations about client/sessionpath
- String value of path requested, can be composed of either object_name or id, as long as each path element is separated by a slash /attributes
- attributesAttribute
list of parameters- It may contain the following attribute name :
- locateId : String containing locate id
- locateName : String containing locate name
- Returns:
- String list of ids corresponding to the path
- Throws:
Exception
- Since:
- 4.2
-
locateByType
List<String> locateByType(Context context, String type, String value, List<Attribute> attributes) throws Exception Return full path of parent ids to locate document- Parameters:
context
-Context
object containing informations about client/sessiontype
- String locate typevalue
- String location parameter value (depending of the locate type, either id, name, dql or path)attributes
- attributesAttribute
list of parameters- Returns:
- String list of ids corresponding to the path
- Throws:
Exception
- Since:
- 4.2
-
locateById(Context, String)