org.kuali.ole.repository
Class CheckoutManager

java.lang.Object
  extended by org.kuali.ole.repository.CheckoutManager

public class CheckoutManager
extends Object

Created by IntelliJ IDEA. User: pvsubrah Date: 9/14/11 Time: 10:09 AM To change this template use File | Settings | File Templates.


Constructor Summary
CheckoutManager()
           
 
Method Summary
 String checkOut(javax.jcr.Session session, String uuid, String userName, String action)
           
 String checkOut(String uuid, String userName, String action)
           
 String checkOutBinary(String uuid, String userId, String action, String docFormat)
           
 File checkOutMultiPart(Request request)
           
 byte[] getBytesFromInputStream(InputStream is)
           
 String getData(javax.jcr.Node nodeByUUID)
           
 DocStoreLogger getDocStoreLogger()
           
 MetricsLogger getMetricsLogger()
           
 void getNodeData(javax.jcr.Node nodeByUUID, OutputStream output)
           
 String getXMLFORInstanceNode(javax.jcr.Node instanceNode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckoutManager

public CheckoutManager()
Method Detail

checkOut

public String checkOut(String uuid,
                       String userName,
                       String action)
                throws OleException,
                       javax.jcr.RepositoryException,
                       FileNotFoundException
Throws:
OleException
javax.jcr.RepositoryException
FileNotFoundException

checkOut

public String checkOut(javax.jcr.Session session,
                       String uuid,
                       String userName,
                       String action)
                throws OleException,
                       javax.jcr.RepositoryException,
                       FileNotFoundException
Throws:
OleException
javax.jcr.RepositoryException
FileNotFoundException

getXMLFORInstanceNode

public String getXMLFORInstanceNode(javax.jcr.Node instanceNode)
                             throws javax.jcr.RepositoryException,
                                    OleException,
                                    FileNotFoundException
Throws:
javax.jcr.RepositoryException
OleException
FileNotFoundException

getData

public String getData(javax.jcr.Node nodeByUUID)
               throws OleException,
                      javax.jcr.RepositoryException,
                      FileNotFoundException
Throws:
OleException
javax.jcr.RepositoryException
FileNotFoundException

checkOutMultiPart

public File checkOutMultiPart(Request request)
                       throws Exception
Throws:
Exception

getNodeData

public void getNodeData(javax.jcr.Node nodeByUUID,
                        OutputStream output)
                 throws Exception
Throws:
Exception

getMetricsLogger

public MetricsLogger getMetricsLogger()

getDocStoreLogger

public DocStoreLogger getDocStoreLogger()

checkOutBinary

public String checkOutBinary(String uuid,
                             String userId,
                             String action,
                             String docFormat)
                      throws OleException,
                             javax.jcr.RepositoryException,
                             IOException
Throws:
OleException
javax.jcr.RepositoryException
IOException

getBytesFromInputStream

public byte[] getBytesFromInputStream(InputStream is)
                               throws IOException
Throws:
IOException


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.