org.kuali.ole.docstore.document
Class WorkLicenseDocumentManager

java.lang.Object
  extended by org.kuali.ole.docstore.document.AbstractDocumentManager
      extended by org.kuali.ole.docstore.document.WorkLicenseDocumentManager
All Implemented Interfaces:
DocumentManager

public class WorkLicenseDocumentManager
extends AbstractDocumentManager

Implements the DocumentManager interface for [Work-License-*] documents.

Version:
%I%, %G%

Field Summary
 
Fields inherited from class org.kuali.ole.docstore.document.AbstractDocumentManager
docCategory, docFormat, docType, nodeManager, repositoryManager
 
Constructor Summary
protected WorkLicenseDocumentManager()
           
 
Method Summary
protected  String checkOutContent(javax.jcr.Node nodeByUUID, String format, String user)
           
protected  byte[] convertContentToBytes(RequestDocument reqDoc)
           
 ResponseDocument delete(RequestDocument requestDocument, javax.jcr.Session session)
           
 List<ResponseDocument> deleteVerify(List<RequestDocument> requestDocument, javax.jcr.Session session)
           
 ResponseDocument deleteVerify(RequestDocument requestDocument, javax.jcr.Session session)
           
static WorkLicenseDocumentManager getInstance()
           
 boolean isVersioningEnabled()
           
protected  void modifyAdditionalAttributes(AdditionalAttributes additionalAttributes, RequestDocument requestDocument)
           
 
Methods inherited from class org.kuali.ole.docstore.document.AbstractDocumentManager
addNewRecordsToDocStore, batchIngest, bind, buildLinkedResponseDocuments, buildResponseDocument, buildResponseDocument, buildResponseDocuments, bulkIngest, checkin, checkin, checkInstanceForBoundsWith, checkInstancesOrItemsExistsInOLE, checkInstancesOrItemsExistsInOLE, checkItemsExists, checkout, checkout, delete, delete, deleteFromRepository, deleteIndex, getVersionManager, index, ingest, ingest, modifyContent, modifyDocumentContent, prepareRequestDocument, setResponseParameters, store, store, storeDocument, storeLinkedDocuments, unbind, updateContentToNode, updateDocstore, updateIndex, updateRecord, updateVersion, validateInput, validateInput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkLicenseDocumentManager

protected WorkLicenseDocumentManager()
Method Detail

getInstance

public static WorkLicenseDocumentManager getInstance()

isVersioningEnabled

public boolean isVersioningEnabled()
Overrides:
isVersioningEnabled in class AbstractDocumentManager

modifyAdditionalAttributes

protected void modifyAdditionalAttributes(AdditionalAttributes additionalAttributes,
                                          RequestDocument requestDocument)
Overrides:
modifyAdditionalAttributes in class AbstractDocumentManager

convertContentToBytes

protected byte[] convertContentToBytes(RequestDocument reqDoc)
                                throws OleDocStoreException
Overrides:
convertContentToBytes in class AbstractDocumentManager
Throws:
OleDocStoreException

checkOutContent

protected String checkOutContent(javax.jcr.Node nodeByUUID,
                                 String format,
                                 String user)
                          throws OleDocStoreException
Overrides:
checkOutContent in class AbstractDocumentManager
Throws:
OleDocStoreException

delete

public ResponseDocument delete(RequestDocument requestDocument,
                               javax.jcr.Session session)
                        throws Exception
Specified by:
delete in interface DocumentManager
Overrides:
delete in class AbstractDocumentManager
Throws:
Exception

deleteVerify

public List<ResponseDocument> deleteVerify(List<RequestDocument> requestDocument,
                                           javax.jcr.Session session)

deleteVerify

public ResponseDocument deleteVerify(RequestDocument requestDocument,
                                     javax.jcr.Session session)
                              throws Exception
Throws:
Exception


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