|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StoreBetterLookup
Advanced methods for getting information about authorities and subsegments out of a store.
Method Summary | |
---|---|
SubSegment[] |
getAuthorityChildSubSegments(Authority parent)
Gets all subsegments that have this authority as parent. |
java.lang.String[] |
getAuthorityQxris(Authority authority)
Gets all full XRIs that lead to this authority. |
java.lang.String[] |
getAuthorityQxris(Authority authority,
boolean reassignable,
boolean persistent)
Gets all full XRIs that lead to this authority. |
SubSegment[] |
getAuthoritySubSegments(Authority authority)
Gets all subsegments that lead to this authority. |
SubSegment[] |
getSynonymSubSegments(Authority parent,
Authority authority)
Gets all subsegments with a given parent authority and authority. |
Authority[] |
listAuthorities()
Returns all authorities. |
SubSegment[] |
listSubSegments()
Returns all subsegments. |
Methods inherited from interface org.openxri.store.StoreLookup |
---|
findRootSubSegment, findSubSegment, getSubSegmentAuthority, getSubSegmentParentAuthority, localLookup |
Method Detail |
---|
Authority[] listAuthorities() throws StoreException
StoreException
SubSegment[] listSubSegments() throws StoreException
StoreException
SubSegment[] getAuthoritySubSegments(Authority authority) throws StoreException
authority
- authority for which subsegments should be found
StoreException
SubSegment[] getAuthorityChildSubSegments(Authority parent) throws StoreException
parent
- authority for which child subsegments should be found
StoreException
SubSegment[] getSynonymSubSegments(Authority parent, Authority authority) throws StoreException
parent
- authority for which child subsegments should be foundauthority
- authority for which subsegments should be found
StoreException
java.lang.String[] getAuthorityQxris(Authority authority) throws StoreException
authority
- Authority for which all full names should be found
StoreException
java.lang.String[] getAuthorityQxris(Authority authority, boolean reassignable, boolean persistent) throws StoreException
authority
- Authority for which all full names should be foundreassignable
- Whether to consider reassignable subsegments when constructing XRIs.persistent
- Whether to consider persistent subsegments when constructing XRIs.
StoreException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |