|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dspace.app.xmlui.utils.HandleUtil
public class HandleUtil
Simple utility class for extracting handles.
| Field Summary | |
|---|---|
protected static java.lang.String |
DSPACE_OBJECT
|
protected static java.lang.String |
HANDLE_PREFIX
The URL prefix of all handle |
| Constructor Summary | |
|---|---|
HandleUtil()
|
|
| Method Summary | |
|---|---|
static void |
buildHandleTrail(DSpaceObject dso,
PageMeta pageMeta,
java.lang.String contextPath)
Build a list of trail metadata starting with the owning collection and ending with the root level parent. |
static boolean |
inheritsFrom(DSpaceObject dso,
java.lang.String parent)
Determine if the given DSO is an ancestor of the the parent handle. |
static DSpaceObject |
obtainHandle(java.util.Map objectModel)
Obtain the current DSpace handle for the specified request. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.lang.String HANDLE_PREFIX
protected static final java.lang.String DSPACE_OBJECT
| Constructor Detail |
|---|
public HandleUtil()
| Method Detail |
|---|
public static DSpaceObject obtainHandle(java.util.Map objectModel)
throws java.sql.SQLException
objectModel - The cocoon model.
java.sql.SQLException
public static boolean inheritsFrom(DSpaceObject dso,
java.lang.String parent)
throws java.sql.SQLException
dso - The child DSO object.parent - The Handle to test against.
java.sql.SQLException
public static void buildHandleTrail(DSpaceObject dso,
PageMeta pageMeta,
java.lang.String contextPath)
throws java.sql.SQLException,
WingException
dso - pageMeta -
java.sql.SQLException
WingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||