|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Store
Method Summary | |
---|---|
Authority |
createAuthority(XRD xrd)
Creates an authority without associating it with a subsegment. |
SubSegment |
createRootSubSegment(java.lang.String name,
XRD xrd)
Creates a root subsegment (entry-point namespace to the server). |
void |
deleteAuthority(Authority authority)
Deletes an authority and any subsegments registered underneath it. |
void |
deleteRootSubSegment(java.lang.String namespace)
Deletes the root subsegment (namespace) associated with an authority. |
SubSegment[] |
listRootSubSegments()
Lists all of the root subsegments (namespaces) on the server. |
SubSegment |
registerSubsegment(Authority parentAuthority,
java.lang.String subSegmentName,
Authority authority)
Registers a new subsegment using an already existing authority. |
SubSegment |
registerSubsegment(Authority parentAuthority,
java.lang.String subSegmentName,
XRD xrd)
Registers a subsegment with a new authority. |
void |
releaseSubSegment(SubSegment subSegment)
Releases the descriptor information associated with a registered subsegment. |
Methods inherited from interface org.openxri.store.StoreLookup |
---|
findRootSubSegment, findSubSegment, getSubSegmentAuthority, getSubSegmentParentAuthority, localLookup |
Methods inherited from interface org.openxri.config.Component |
---|
getProperties, init |
Method Detail |
---|
SubSegment createRootSubSegment(java.lang.String name, XRD xrd) throws StoreException
name
- The name of the new root subsegment.xrd
- The XRD of the authority associated with the root subsegment.
StoreException
Authority createAuthority(XRD xrd) throws StoreException
xrd
- An initial XRD that will be run through the default create pipeline and then associated with the new authority.
StoreException
SubSegment registerSubsegment(Authority parentAuthority, java.lang.String subSegmentName, XRD xrd) throws StoreException
parentAuthority
- The authority to register under.subSegmentName
- The name of the subsegment to register.xrd
- An initial XRD that will be run through the default create pipeline and then associated with the new authority.
StoreException
SubSegment registerSubsegment(Authority parentAuthority, java.lang.String subSegmentName, Authority authority) throws StoreException
parentAuthority
- The authority id to register under.subSegmentName
- The name of the subsegment to register.authority
- The existing authority for the subsegment.
StoreException
SubSegment[] listRootSubSegments() throws StoreException
StoreException
void releaseSubSegment(SubSegment subSegment) throws StoreException
subSegment
- The subsegment to release.
StoreException
void deleteRootSubSegment(java.lang.String namespace) throws StoreException
namespace
- The root subsegment (namespace) to delete.
StoreException
void deleteAuthority(Authority authority) throws StoreException
authority
- The authority to delete
StoreException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |