Nuxeo Enterprise Platform 5.4

org.nuxeo.cm.core.persister
Class CaseManagementAbstractPersister

java.lang.Object
  extended by org.nuxeo.cm.core.persister.CaseManagementAbstractPersister
All Implemented Interfaces:
CaseManagementPersister
Direct Known Subclasses:
CaseItemInCasePersister, SeparateCaseCaseItemPersister

public abstract class CaseManagementAbstractPersister
extends Object
implements CaseManagementPersister

Author:
Alexandre Russel

Nested Class Summary
 class CaseManagementAbstractPersister.GetParentPathUnrestricted
           
 
Constructor Summary
CaseManagementAbstractPersister()
           
 
Method Summary
 String getCaseRootPath()
          Returns the case root path in the application.
 org.nuxeo.ecm.core.api.DocumentModel getParentDocumentForCase(org.nuxeo.ecm.core.api.CoreSession session)
           
 org.nuxeo.ecm.core.api.DocumentModel getParentDocumentForCase(org.nuxeo.ecm.core.api.CoreSession session, Date date)
          Default implementation uses date to find or create a set of folders representing the given date hierarchy.
 String getParentDocumentPathForCase(org.nuxeo.ecm.core.api.CoreSession session)
           
 String getParentDocumentPathForCase(org.nuxeo.ecm.core.api.CoreSession session, Date date)
          Default implementation uses date to find or create a set of folders representing the given date hierarchy.
 String getParentDocumentPathForCaseItem(org.nuxeo.ecm.core.api.CoreSession session, Case kase)
           
 void setCaseRootPath(String caseRootPath)
          Sets the case root path in the application.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.nuxeo.cm.service.CaseManagementPersister
createCaseFromExistingCaseItem
 

Constructor Detail

CaseManagementAbstractPersister

public CaseManagementAbstractPersister()
Method Detail

getCaseRootPath

public String getCaseRootPath()
Description copied from interface: CaseManagementPersister
Returns the case root path in the application.

Specified by:
getCaseRootPath in interface CaseManagementPersister

setCaseRootPath

public void setCaseRootPath(String caseRootPath)
Description copied from interface: CaseManagementPersister
Sets the case root path in the application.

Specified by:
setCaseRootPath in interface CaseManagementPersister

getParentDocumentForCase

public org.nuxeo.ecm.core.api.DocumentModel getParentDocumentForCase(org.nuxeo.ecm.core.api.CoreSession session)
Specified by:
getParentDocumentForCase in interface CaseManagementPersister

getParentDocumentPathForCase

public String getParentDocumentPathForCase(org.nuxeo.ecm.core.api.CoreSession session)
Specified by:
getParentDocumentPathForCase in interface CaseManagementPersister
Returns:

getParentDocumentForCase

public org.nuxeo.ecm.core.api.DocumentModel getParentDocumentForCase(org.nuxeo.ecm.core.api.CoreSession session,
                                                                     Date date)
Description copied from interface: CaseManagementPersister
Default implementation uses date to find or create a set of folders representing the given date hierarchy.

Specified by:
getParentDocumentForCase in interface CaseManagementPersister
Returns:

getParentDocumentPathForCase

public String getParentDocumentPathForCase(org.nuxeo.ecm.core.api.CoreSession session,
                                           Date date)
Description copied from interface: CaseManagementPersister
Default implementation uses date to find or create a set of folders representing the given date hierarchy.

Specified by:
getParentDocumentPathForCase in interface CaseManagementPersister
Returns:

getParentDocumentPathForCaseItem

public String getParentDocumentPathForCaseItem(org.nuxeo.ecm.core.api.CoreSession session,
                                               Case kase)
Specified by:
getParentDocumentPathForCaseItem in interface CaseManagementPersister
Returns:

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.