Tree PREV CLASS NEXT CLASS SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD com.ibm.portal.resolver.friendly.helper
Class DefaultSelectionResultjava.lang.Objectcom.ibm.portal.resolver.friendly.helper.DefaultSelectionResult
- All Implemented Interfaces:
- SelectionResult, java.io.Serializable
public class DefaultSelectionResult- extends java.lang.Object
- implements SelectionResult, java.io.Serializable
Convenience implementation of SelectionResult
- Since:
- 6.1.0
- See Also:
- Serialized Form
Constructor Summary DefaultSelectionResult()
Method Summary void clear()
Resets all informationjava.lang.String getFriendlyPath()
The friendly path or null if no friendly path was set.java.util.List<ObjectID> getNodes()
The the current node result listjava.lang.String getPathInfo()
The path info or nullvoid setFriendlyPath(java.lang.String str)
Assigns the friendly path.void setNodes(java.util.List<ObjectID> res)
assign the result listvoid setPathInfo(java.lang.String str)
Assigns the portion of the path, that could not be matched against a friendly URL, i.e.
Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail DefaultSelectionResult
public DefaultSelectionResult()
Method Detail clear
public void clear()
- Resets all information
- Since:
- 6.1.0.1
getFriendlyPath
public java.lang.String getFriendlyPath()
- Description copied from interface: SelectionResult
The friendly path or null if no friendly path was set. The friendly path is the combination of all path segments that could be decoded.
- for a path "/friendly1/friendly2/unfriendly" the return value would be "/friendly1/friendly2"
- for a path "/unfriendly" the return value would be null
- for a path "/" the return value would be null
- Specified by:
- getFriendlyPath in interface SelectionResult
- Returns:
- the friendly path or null
getNodes
public java.util.List<ObjectID> getNodes()
- Description copied from interface: SelectionResult
- The the current node result list
- Specified by:
- getNodes in interface SelectionResult
- Returns:
- list of selection results containing ObjectID elements
getPathInfo
public java.lang.String getPathInfo()
- Description copied from interface: SelectionResult
- The path info or null
- Specified by:
- getPathInfo in interface SelectionResult
- Returns:
- the path info or null.
setFriendlyPath
public void setFriendlyPath(java.lang.String str)
- Description copied from interface: SelectionResult
- Assigns the friendly path. This is the substring of the path used for parsing that represents the friendly URL match. If no friendly URL could be matched this will be null.
- Specified by:
- setFriendlyPath in interface SelectionResult
- Parameters:
- str - the friendly path or null
setNodes
public void setNodes(java.util.List<ObjectID> res)
- Description copied from interface: SelectionResult
- assign the result list
- Specified by:
- setNodes in interface SelectionResult
- Parameters:
- res - current result containing ObjectID elements
setPathInfo
public void setPathInfo(java.lang.String str)
- Description copied from interface: SelectionResult
- Assigns the portion of the path, that could not be matched against a friendly URL, i.e. the remaining path portion. If the friendly URL represents the complete path this will be null
- Specified by:
- setPathInfo in interface SelectionResult
- Parameters:
- str - the path info or null
Tree PREV CLASS NEXT CLASS SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD