Package com.bhle.access.bookreader

Examples of com.bhle.access.bookreader.BookInfo


  @Override
  public RepeatStatus execute(StepContribution contribution,
      ChunkContext chunkContext) throws Exception {
    String guid = FedoraURI.getGuidFromPid(pid);

    BookInfo info = BookInfoBuilder.build(guid);
    BookInfoBuilder.save(info);
    return RepeatStatus.FINISHED;
  }
View Full Code Here


  @GET
  @Path("{guid}")
  @Produces(MediaType.TEXT_HTML)
  public Viewable getBookInfo(@PathParam("guid") String guid,
      @DefaultValue("false") @QueryParam("refresh") boolean refresh) {
    BookInfo bookInfo = null;

    if (!refresh && BookInfoBuilder.exists(guid)) {
      bookInfo = BookInfoBuilder.read(guid);
    } else {
      try {
View Full Code Here

TOP

Related Classes of com.bhle.access.bookreader.BookInfo

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.