Package org.wijiscommons.ssaf.schema.search

Examples of org.wijiscommons.ssaf.schema.search.RecordRetrievalRequest


   * @return
   * @throws SSAFSolrException
   */
  private RecordRetrievalRequest validateXML(Document document) throws SSAFSolrException
  {
    RecordRetrievalRequest recordRetrievalRequest = null;
    try {
            Unmarshaller unmarshaller = jaxbFactory.getUnmarshaller();

            // create RecordRetrievalReequest Object
            recordRetrievalRequest =
View Full Code Here


   */
  public Document retrieve(String solrLocation, Document document, String xPathlocation)
    throws SSAFSolrException
  {
    // Validate incoming xml and return RecordRetrievalRequest Object
    RecordRetrievalRequest recordRetrievalRequest = validateXML(document);
   
    // Obtain recordUri
    String recordUri = recordRetrievalRequest.getRecordUri();
   
    // Get fileLocation from Solr
    String fileLocation = getRecordLocation(solrLocation, recordUri);
   
    Node payloadChildElementNode = null;
View Full Code Here

   */
  public Document retrieve(String solrLocation, Document document, String xPathlocation)
    throws SSAFSolrException
  {
    // Validate incoming xml and return RecordRetrievalRequest Object
    RecordRetrievalRequest recordRetrievalRequest = validateXML(document);
   
    // Obtain recordUri
    String recordUri = recordRetrievalRequest.getRecordUri();
   
    // Get fileLocation from Solr
    String fileLocation = getRecordLocation(solrLocation, recordUri);
   
    // Get Document from file System
View Full Code Here

   * @return
   * @throws SSAFSolrException
   */
  private RecordRetrievalRequest validateXML(Document document) throws SSAFSolrException
  {
    RecordRetrievalRequest recordRetrievalRequest = null;
    try {
            // create a JAXBContext capable of handling classes generated into
            // the org.wijiscommons.ssaf.schema package
            JAXBContext jc = JAXBContext.newInstance( "org.wijiscommons.ssaf.schema.search" );
           
View Full Code Here

TOP

Related Classes of org.wijiscommons.ssaf.schema.search.RecordRetrievalRequest

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.