public class CaseTreeHelper extends Object
Emails and Mail envelopes are created within trees of folder.
Modifier and Type | Field and Description |
---|---|
static String |
DELETED_STATE |
static String |
TITLE_PROPERTY_NAME |
Constructor and Description |
---|
CaseTreeHelper() |
Modifier and Type | Method and Description |
---|---|
static DocumentModel |
getOrCreate(CoreSession session,
String rootPath,
String id,
String folderType) |
static DocumentModel |
getOrCreateDateTreeFolder(CoreSession session,
DocumentModel root,
Date date,
String folderType)
Find or create a set of folders representing the date hierarchy
|
static DocumentModel |
getOrCreatePath(CoreSession session,
DocumentModel root,
String subPath,
String folderType) |
static DocumentModel |
getOrCreateTxDateTreeFolder(String repositoryName,
DocumentModel root,
Date date,
String folderType)
Find or create a set of folders representing the date hierarchy.
|
static DocumentModel |
getOrCreateTxPath(String repositoryName,
DocumentModel rootDocument,
String subPath,
String folderType) |
public static final String TITLE_PROPERTY_NAME
public static final String DELETED_STATE
public static DocumentModel getOrCreateDateTreeFolder(CoreSession session, DocumentModel root, Date date, String folderType) throws ClientException
ClientException
public static DocumentModel getOrCreatePath(CoreSession session, DocumentModel root, String subPath, String folderType) throws ClientException
ClientException
public static DocumentModel getOrCreate(CoreSession session, String rootPath, String id, String folderType) throws ClientException
ClientException
public static final DocumentModel getOrCreateTxDateTreeFolder(String repositoryName, DocumentModel root, Date date, String folderType) throws ClientException
ClientException
public static final DocumentModel getOrCreateTxPath(String repositoryName, DocumentModel rootDocument, String subPath, String folderType) throws ClientException
ClientException
Copyright © 2013 Nuxeo SA. All Rights Reserved.