public class CaseManagementDocRoutingTreePersister extends DocumentRoutingTreePersister
Modifier and Type | Field and Description |
---|---|
static String |
QUERY_PERSONAL_ROUTE_ROOT |
DocumentRouteInstanceRootName
Constructor and Description |
---|
CaseManagementDocRoutingTreePersister() |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
getParentFolderForNewModel(CoreSession session,
DocumentModel instance)
Returns a folder in which new model, created from an instance of route
will be stored.
|
createDocumentRouteInstanceFromDocumentRouteModel, getNewModelName, getOrCreateRootOfDocumentRouteInstanceStructure, getParentFolderForDocumentRouteInstance, saveDocumentRouteInstanceAsNewModel
public static final String QUERY_PERSONAL_ROUTE_ROOT
public CaseManagementDocRoutingTreePersister()
public DocumentModel getParentFolderForNewModel(CoreSession session, DocumentModel instance)
DocumentRoutingPersister
getParentFolderForNewModel
in interface DocumentRoutingPersister
getParentFolderForNewModel
in class DocumentRoutingTreePersister
session
- the session of the userinstance
- the instance that will be persisted as new model.Copyright © 2011 Nuxeo SA. All Rights Reserved.