Nuxeo Enterprise Platform 5.4

org.nuxeo.cm.service
Interface CaseManagementPersister

All Known Implementing Classes:
CaseItemInCasePersister, CaseManagementAbstractPersister, SeparateCaseCaseItemPersister

public interface CaseManagementPersister

Author:
Alexandre Russel

Method Summary
 Case createCaseFromExistingCaseItem(CaseItem item, org.nuxeo.ecm.core.api.CoreSession session)
           
 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.
 

Method Detail

getCaseRootPath

String getCaseRootPath()
Returns the case root path in the application.

Since:
1.7

setCaseRootPath

void setCaseRootPath(String caseRootPath)
Sets the case root path in the application.

Since:
1.7

getParentDocumentForCase

org.nuxeo.ecm.core.api.DocumentModel getParentDocumentForCase(org.nuxeo.ecm.core.api.CoreSession session)

getParentDocumentPathForCase

String getParentDocumentPathForCase(org.nuxeo.ecm.core.api.CoreSession session)
Parameters:
session -
Returns:

getParentDocumentForCase

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.

Parameters:
session -
date -
Returns:

getParentDocumentPathForCase

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.

Parameters:
session -
date -
Returns:

createCaseFromExistingCaseItem

Case createCaseFromExistingCaseItem(CaseItem item,
                                    org.nuxeo.ecm.core.api.CoreSession session)
Parameters:
item -
session -
Returns:

getParentDocumentPathForCaseItem

String getParentDocumentPathForCaseItem(org.nuxeo.ecm.core.api.CoreSession session,
                                        Case kase)
Parameters:
session -
kase -
Returns:

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.