Package org.openxri.store

Examples of org.openxri.store.StoreBetterLookup


  }

  public XRD execute(Store store, XRD xrd, XRISegment segment, Authority parentAuthority, String subSegmentName, Authority authority, boolean isCreate) throws StageException {

    if (! (store instanceof StoreBetterLookup)) throw new StageException("Cannot use this store implementation.");
    StoreBetterLookup storeBetterLookup = (StoreBetterLookup) store;

    if (parentAuthority == null) return(xrd);

    // get all subsegments with the given parent authority and authority

    SubSegment[] localSubSegments;

    try {

      localSubSegments = storeBetterLookup.getSynonymSubSegments(parentAuthority, authority);
    } catch (StoreException ex) {

      throw new StageException("Cannot access store.", ex);
    }
View Full Code Here


  }

  public XRD execute(Store store, XRD xrd, XRISegment segment, Authority parentAuthority, String subSegmentName, Authority authority, boolean isCreate) throws StageException {

    if (! (store instanceof StoreBetterLookup)) throw new StageException("Cannot use this store implementation.");
    StoreBetterLookup storeBetterLookup = (StoreBetterLookup) store;

    if (parentAuthority == null) return(xrd);

    // get all subsegments with the given parent authority and authority

    SubSegment[] localSubSegments;

    try {

      localSubSegments = storeBetterLookup.getSynonymSubSegments(parentAuthority, authority);
    } catch (StoreException ex) {

      throw new StageException("Cannot access store.", ex);
    }
View Full Code Here

TOP

Related Classes of org.openxri.store.StoreBetterLookup

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.