Modifier and Type | Method and Description |
---|---|
DocumentModel |
DamImport.run(Blob blob) |
Constructor and Description |
---|
PDFCreator(List<DocumentModel> docs,
NuxeoPrincipal currentUser) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
DamImportActions.getImportDocumentModel() |
Modifier and Type | Method and Description |
---|---|
void |
DamBulkEditActions.addTagsOnSelection(List<DocumentModel> selectedDocuments,
DocumentModel bulkEditDoc) |
List<Type> |
DamImportActions.getSubTypesFor(DocumentModel doc) |
void |
DamSearchActions.loadSavedSearch(String contentViewName,
DocumentModel searchDocument) |
void |
DamActions.selectDocument(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
void |
DamBulkEditActions.addTagsOnSelection(List<DocumentModel> selectedDocuments,
DocumentModel bulkEditDoc) |
void |
DamSearchActions.updateCurrentDocument(PageProvider<DocumentModel> pageProvider) |
Modifier and Type | Method and Description |
---|---|
Object |
FileSystemItemAdapterFactory.getAdapter(DocumentModel doc,
Class<?> itf) |
Constructor and Description |
---|
DefaultSyncRootFolderItem(String factoryName,
FolderItem parentItem,
DocumentModel doc) |
DocumentBackedFileItem(VersioningFileSystemItemFactory factory,
DocumentModel doc) |
DocumentBackedFileItem(VersioningFileSystemItemFactory factory,
FolderItem parentItem,
DocumentModel doc) |
DocumentBackedFolderItem(String factoryName,
DocumentModel doc) |
DocumentBackedFolderItem(String factoryName,
FolderItem parentItem,
DocumentModel doc) |
Constructor and Description |
---|
UserSyncRootParentFolderItem(String factoryName,
DocumentModel doc,
FolderItem parentItem,
String folderName) |
Modifier and Type | Method and Description |
---|---|
FileSystemItem |
UserSyncRootParentFactory.getFileSystemItem(DocumentModel doc,
boolean includeDeleted)
Force parent item using
UserSyncRootParentFactory.getTopLevelFolderItem(Principal) . |
boolean |
UserSyncRootParentFactory.isFileSystemItem(DocumentModel doc,
boolean includeDeleted) |
boolean |
PermissionSyncRootFactory.isFileSystemItem(DocumentModel doc,
boolean includeDeleted)
Checks if the given
DocumentModel is adaptable as a
FileSystemItem . |
Modifier and Type | Method and Description |
---|---|
static boolean |
UserWorkspaceHelper.isUserWorkspace(DocumentModel doc) |
Constructor and Description |
---|
UserWorkspaceTopLevelFolderItem(String factoryName,
DocumentModel userWorkspace,
String folderName,
String syncRootParentFactoryName) |
Modifier and Type | Method and Description |
---|---|
boolean |
UserWorkspaceTopLevelFactory.isFileSystemItem(DocumentModel doc,
boolean includeDeleted) |
Modifier and Type | Method and Description |
---|---|
void |
NuxeoDriveSetSynchronizationOperation.run(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
Blob |
NuxeoDriveCreateTestDocuments.run(DocumentModel parent) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
NuxeoDriveActions.getCurrentSynchronizationRoot() |
Modifier and Type | Method and Description |
---|---|
void |
NuxeoDriveActions.unsynchronizeRoot(DocumentModel syncRoot) |
Modifier and Type | Method and Description |
---|---|
FileSystemItem |
FileSystemItemFactory.getFileSystemItem(DocumentModel doc)
Gets the
FileSystemItem for the given DocumentModel . |
FileSystemItem |
FileSystemItemAdapterService.getFileSystemItem(DocumentModel doc)
Gets the
FileSystemItem for the given DocumentModel . |
FileSystemItem |
FileSystemItemFactory.getFileSystemItem(DocumentModel doc,
boolean includeDeleted)
Gets the
FileSystemItem for the given DocumentModel . |
FileSystemItem |
FileSystemItemAdapterService.getFileSystemItem(DocumentModel doc,
boolean includeDeleted)
Gets the
FileSystemItem for the given DocumentModel . |
FileSystemItem |
FileSystemItemFactory.getFileSystemItem(DocumentModel doc,
FolderItem parentItem)
Gets the
FileSystemItem for the given DocumentModel
forcing its parent id with the given id. |
FileSystemItem |
FileSystemItemAdapterService.getFileSystemItem(DocumentModel doc,
FolderItem parentItem)
Gets the
FileSystemItem for the given DocumentModel
forcing its parent id with the given id. |
FileSystemItem |
FileSystemItemFactory.getFileSystemItem(DocumentModel doc,
FolderItem parentItem,
boolean includeDeleted)
Gets the
FileSystemItem for the given DocumentModel
forcing its parent id with the given id. |
FileSystemItem |
FileSystemItemAdapterService.getFileSystemItem(DocumentModel doc,
FolderItem parentItem,
boolean includeDeleted)
Gets the
FileSystemItem for the given DocumentModel
forcing its parent id with the given id. |
boolean |
FileSystemItemFactory.isFileSystemItem(DocumentModel doc)
Returns true if the given
DocumentModel is adaptable as a
FileSystemItem . |
boolean |
FileSystemItemFactory.isFileSystemItem(DocumentModel doc,
boolean includeDeleted)
Returns true if the given
DocumentModel is adaptable as a
FileSystemItem . |
boolean |
NuxeoDriveManager.isSynchronizationRoot(Principal principal,
DocumentModel doc)
Checks if the given
DocumentModel is a synchronization root for
the given user. |
boolean |
VersioningFileSystemItemFactory.needsVersioning(DocumentModel doc)
Returns true if the given
DocumentModel needs to be versioned. |
void |
NuxeoDriveManager.registerSynchronizationRoot(Principal principal,
DocumentModel newRootContainer,
CoreSession session) |
void |
NuxeoDriveManager.unregisterSynchronizationRoot(Principal principal,
DocumentModel rootContainer,
CoreSession session) |
Modifier and Type | Method and Description |
---|---|
FileSystemItem |
FileSystemItemAdapterServiceImpl.getFileSystemItem(DocumentModel doc) |
FileSystemItem |
AbstractVirtualFolderItemFactory.getFileSystemItem(DocumentModel doc) |
FileSystemItem |
AbstractFileSystemItemFactory.getFileSystemItem(DocumentModel doc) |
FileSystemItem |
FileSystemItemAdapterServiceImpl.getFileSystemItem(DocumentModel doc,
boolean includeDeleted) |
FileSystemItem |
AbstractVirtualFolderItemFactory.getFileSystemItem(DocumentModel doc,
boolean includeDeleted) |
FileSystemItem |
AbstractSyncRootFolderItemFactory.getFileSystemItem(DocumentModel doc,
boolean includeDeleted)
Force parent id using
#getParentId(String) . |
FileSystemItem |
AbstractFileSystemItemFactory.getFileSystemItem(DocumentModel doc,
boolean includeDeleted) |
FileSystemItem |
FileSystemItemAdapterServiceImpl.getFileSystemItem(DocumentModel doc,
FolderItem parentItem) |
FileSystemItem |
AbstractVirtualFolderItemFactory.getFileSystemItem(DocumentModel doc,
FolderItem parentItem) |
FileSystemItem |
AbstractFileSystemItemFactory.getFileSystemItem(DocumentModel doc,
FolderItem parentItem) |
FileSystemItem |
FileSystemItemAdapterServiceImpl.getFileSystemItem(DocumentModel doc,
FolderItem parentItem,
boolean includeDeleted) |
FileSystemItem |
AbstractVirtualFolderItemFactory.getFileSystemItem(DocumentModel doc,
FolderItem parentItem,
boolean includeDeleted) |
FileSystemItem |
AbstractFileSystemItemFactory.getFileSystemItem(DocumentModel doc,
FolderItem parentItem,
boolean includeDeleted) |
boolean |
AbstractVirtualFolderItemFactory.isFileSystemItem(DocumentModel doc) |
boolean |
AbstractFileSystemItemFactory.isFileSystemItem(DocumentModel doc) |
boolean |
DefaultFileSystemItemFactory.isFileSystemItem(DocumentModel doc,
boolean includeDeleted)
The default factory considers that a
DocumentModel is adaptable
as a FileSystemItem if:
It is not a version nor a proxy
AND it is not HiddenInNavigation
AND it is not in the "deleted" life cycle state, unless
includeDeleted is true
AND it is Folderish or it can be adapted as a BlobHolder with
a blob
|
boolean |
AbstractVirtualFolderItemFactory.isFileSystemItem(DocumentModel doc,
boolean includeDeleted) |
boolean |
AbstractSyncRootFolderItemFactory.isFileSystemItem(DocumentModel doc,
boolean includeDeleted)
The factory considers that a
DocumentModel is adaptable as a
FileSystemItem if:
It is Folderish
AND it is not a version nor a proxy
AND it is not HiddenInNavigation
AND it is not in the "deleted" life cycle state, unless
includeDeleted is true
AND it is a synchronization root registered for the current user
|
abstract boolean |
AbstractFileSystemItemFactory.isFileSystemItem(DocumentModel doc,
boolean includeDeleted) |
boolean |
NuxeoDriveManagerImpl.isSynchronizationRoot(Principal principal,
DocumentModel doc) |
boolean |
DefaultFileSystemItemFactory.needsVersioning(DocumentModel doc)
Need to version the doc if the current contributor is different from the
last contributor or if the last modification was done more than
DefaultFileSystemItemFactory.versioningDelay seconds ago. |
void |
NuxeoDriveManagerImpl.registerSynchronizationRoot(Principal principal,
DocumentModel newRootContainer,
CoreSession session) |
void |
NuxeoDriveManagerImpl.unregisterSynchronizationRoot(Principal principal,
DocumentModel rootContainer,
CoreSession session) |
Modifier and Type | Method and Description |
---|---|
static String |
ActivityHelper.createDocumentActivityObject(DocumentModel doc) |
static String |
ActivityHelper.getDocumentTitle(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
DirectoryBasedEditor.getCreationEntry() |
DocumentModel |
DirectoryBasedEditor.getEditableEntry() |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
AgendaService.createEvent(CoreSession session,
String path,
Map<String,Serializable> properties)
Create a new Event document to the specific path.
|
DocumentModel |
AgendaComponent.createEvent(CoreSession session,
String path,
Map<String,Serializable> properties) |
Constructor and Description |
---|
ConflictOperationException(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
void |
DocumentModelCollector.collect(OperationContext ctx,
DocumentModel obj) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
StringToDocModel.getAdaptedValue(OperationContext ctx,
Object objectToAdapt) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
RestoreDocumentInputFromScript.run() |
DocumentModel |
RestoreDocumentInput.run() |
DocumentModel |
FetchContextDocument.run(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
FetchContextDocument.run(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
SetBlobFileName.run(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
SetBlobFileName.run(DocumentModel doc) |
BlobList |
GetDocumentBlobs.run(DocumentModel doc) |
Blob |
GetDocumentBlob.run(DocumentModel doc) |
BlobList |
GetAllDocumentBlobs.run(DocumentModel doc) |
Blob |
ConvertBlob.run(DocumentModel doc) |
Blob |
BlobToPDF.run(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
BusinessAdapter.getDocument() |
Constructor and Description |
---|
BusinessAdapter(DocumentModel document) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
RunDocumentChain.run(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
RunDocumentChain.run(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
Logout.run(DocumentModel doc) |
DocumentModel |
LoginAs.run(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
Logout.run(DocumentModel doc) |
DocumentModel |
LoginAs.run(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
SendMail.run(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
static String |
MailTemplateHelper.getDocumentUrl(DocumentModel doc,
String viewId) |
DocumentModel |
SendMail.run(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
UserWorkspace.run() |
DocumentModel |
FileManagerImport.run(Blob blob) |
DocumentModel |
BlobHolderAttach.run(Blob blob) |
DocumentModel |
BlobHolderAttach.run(BlobList blobs) |
DocumentModel |
CreateRelation.run(DocumentModel doc) |
DocumentModel |
CreatePicture.run(DocumentModel doc) |
DocumentModel |
AuditLog.run(DocumentModel doc) |
DocumentModel |
CreatePicture.run(DocumentRef doc) |
Modifier and Type | Method and Description |
---|---|
Blob |
PictureResize.run(DocumentModel doc) |
DocumentModelList |
GetRelations.run(DocumentModel doc) |
Blob |
GetPictureView.run(DocumentModel doc) |
Blob |
GetDirectoryEntries.run(DocumentModel doc) |
Blob |
GetActions.run(DocumentModel currentDocument) |
DocumentModel |
CreateRelation.run(DocumentModel doc) |
DocumentModel |
CreatePicture.run(DocumentModel doc) |
DocumentModel |
AuditLog.run(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
PullDocument.run() |
DocumentModel |
PopDocument.run() |
DocumentModel |
PushDocument.run(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
PushDocument.run(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
GetNuxeoPrincipal.run() |
DocumentModel |
GetDocumentUsersAndGroups.run(DocumentModel input) |
DocumentModel |
GetDocumentPrincipalEmails.run(DocumentModel input) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
GetDocumentUsersAndGroups.run(DocumentModel input) |
DocumentModel |
GetDocumentPrincipalEmails.run(DocumentModel input) |
Modifier and Type | Method and Description |
---|---|
Blob |
RenderDocument.run(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
DocumentWrapper.getDoc() |
Constructor and Description |
---|
DocumentWrapper(CoreSession session,
DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
static DocumentModel |
DocumentHelper.saveDocument(CoreSession session,
DocumentModel doc)
Saves the document and clear context data to avoid incrementing version
in next operations if not needed.
|
Modifier and Type | Method and Description |
---|---|
static void |
DocumentHelper.removeProperty(DocumentModel doc,
String xpath)
Removes a property from a document given the xpath.
|
static DocumentModel |
DocumentHelper.saveDocument(CoreSession session,
DocumentModel doc)
Saves the document and clear context data to avoid incrementing version
in next operations if not needed.
|
static void |
DocumentHelper.setProperties(CoreSession session,
DocumentModel doc,
Map<String,String> values)
Sets the properties given as a map of xpath:value to the given document.
|
static void |
DocumentHelper.setProperties(CoreSession session,
DocumentModel doc,
Properties properties) |
static void |
DocumentHelper.setProperty(CoreSession session,
DocumentModel doc,
String key,
String value) |
Modifier and Type | Method and Description |
---|---|
HashSet<?> |
PrincipalHelper.collectObjectsMatchingPermission(DocumentModel input,
String permission,
boolean ignoreGroups,
boolean resolveGroups,
org.nuxeo.ecm.automation.features.PrincipalHelper.Collector<?> collector) |
Set<String> |
PrincipalHelper.getEmailsForPermission(DocumentModel input,
String permission,
boolean ignoreGroups) |
Set<NuxeoPrincipal> |
PrincipalHelper.getPrincipalsForPermission(DocumentModel input,
String permission,
boolean ignoreGroups,
boolean resolveGroups) |
Set<String> |
PrincipalHelper.getUserAndGroupIdsForPermission(DocumentModel input,
String permission,
boolean ignoreGroups,
boolean resolveGroups,
boolean prefixIds)
Resolves the list of identifiers for users and groups who have the given
permission on given document.
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
RestEvaluationContext.getDocumentModel()
Gives the contextual document
|
DocumentModel |
HeaderDocEvaluationContext.getDocumentModel() |
Constructor and Description |
---|
HeaderDocEvaluationContext(DocumentModel doc,
HttpHeaders headers)
Creates the evaluation context.
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
JSONDocumentModelReader.readFrom(Class<DocumentModel> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
static DocumentModel |
JSONDocumentModelReader.readJson(org.codehaus.jackson.JsonParser jp,
MultivaluedMap<String,String> httpHeaders,
HttpServletRequest request) |
Modifier and Type | Method and Description |
---|---|
PageProvider<DocumentModel> |
PaginableDocumentModelListImpl.getProvider() |
Modifier and Type | Method and Description |
---|---|
long |
JsonDocumentWriter.getSize(DocumentModel arg0,
Class<?> arg1,
Type arg2,
Annotation[] arg3,
MediaType arg4) |
static void |
JsonDocumentWriter.writeDocument(org.codehaus.jackson.JsonGenerator jg,
DocumentModel doc,
String[] schemas) |
static void |
JsonDocumentWriter.writeDocument(org.codehaus.jackson.JsonGenerator jg,
DocumentModel doc,
String[] schemas,
Map<String,String> contextParameters) |
static void |
JsonDocumentWriter.writeDocument(org.codehaus.jackson.JsonGenerator jg,
DocumentModel doc,
String[] schemas,
Map<String,String> contextParameters,
HttpHeaders headers) |
void |
JsonDocumentWriter.writeDocument(OutputStream out,
DocumentModel doc,
String[] schemas) |
void |
JsonDocumentWriter.writeDocument(OutputStream out,
DocumentModel doc,
String[] schemas,
Map<String,String> contextParameters) |
void |
JsonDocumentWriter.writeTo(DocumentModel doc,
Class<?> arg1,
Type arg2,
Annotation[] arg3,
MediaType arg4,
MultivaluedMap<String,Object> arg5,
OutputStream out) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
JSONDocumentModelReader.readFrom(Class<DocumentModel> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
static void |
JsonDocumentListWriter.writeDocuments(org.codehaus.jackson.JsonGenerator jg,
List<DocumentModel> docs,
String[] schemas) |
void |
JsonDocumentListWriter.writeDocuments(OutputStream out,
List<DocumentModel> docs,
String[] schemas) |
void |
JsonDocumentListWriter.writeTo(List<DocumentModel> docs,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
Constructor and Description |
---|
PaginableDocumentModelListImpl(PageProvider<DocumentModel> provider) |
PaginableDocumentModelListImpl(PageProvider<DocumentModel> provider,
String documentLinkBuilder)
Creates a
PaginableDocumentModelListImpl with more display
information. |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
PushToSeamContext.push(DocumentModel value) |
DocumentModel |
SaveDocumentInUI.run() |
DocumentModel |
GetCurrentWorkspace.run() |
DocumentModel |
GetCurrentDomain.run() |
DocumentModel |
GetCurrentDocument.run() |
DocumentModel |
GetChangeableDocument.run() |
DocumentModel |
FetchDocumentFromSeamContext.run() |
DocumentModel |
CreateDocumentInUI.run() |
DocumentModel |
CancelCreateDocumentInUI.run() |
DocumentModel |
PushToWorklist.run(DocumentModel doc) |
DocumentModel |
PushToClipboard.run(DocumentModel doc) |
DocumentModel |
Navigate.run(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
PushToSeamContext.push(DocumentModel value) |
DocumentModel |
PushToWorklist.run(DocumentModel doc) |
DocumentModel |
PushToClipboard.run(DocumentModel doc) |
DocumentModel |
Navigate.run(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
CreateTask.run(DocumentModel document) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
CreateTask.run(DocumentModel document) |
Modifier and Type | Method and Description |
---|---|
Object |
BusinessBeanAdapterFactory.getAdapter(DocumentModel doc,
Class<?> itf) |
Constructor and Description |
---|
BusinessBeanAdapter(DocumentModel documentModel) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
TestOperation.run(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
TestOperation.run(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
ClassificationResult<ClassificationService.CLASSIFY_STATE> |
ClassificationService.classify(DocumentModel classificationFolder,
Collection<DocumentModel> targetDocs)
Try to classify targets document into the classificationFolder.
|
ClassificationResult<ClassificationService.CLASSIFY_STATE> |
ClassificationService.classify(DocumentModel classificationFolder,
String resolver,
Collection<DocumentModel> targetDocs)
Classify a list of documents associated them a resolver to perform complex resolution.
|
boolean |
ClassificationService.isClassifiable(DocumentModel doc)
If this document is classifiable
|
ClassificationResult<ClassificationService.UNCLASSIFY_STATE> |
ClassificationService.unClassify(DocumentModel classificationFolder,
Collection<String> targetDocs)
Try to unclassify targets document into the classificationFolder.
|
Modifier and Type | Method and Description |
---|---|
ClassificationResult<ClassificationService.CLASSIFY_STATE> |
ClassificationService.classify(DocumentModel classificationFolder,
Collection<DocumentModel> targetDocs)
Try to classify targets document into the classificationFolder.
|
ClassificationResult<ClassificationService.CLASSIFY_STATE> |
ClassificationService.classify(DocumentModel classificationFolder,
String resolver,
Collection<DocumentModel> targetDocs)
Classify a list of documents associated them a resolver to perform complex resolution.
|
ClassificationResult<ClassificationService.UNCLASSIFY_STATE> |
ClassificationService.unClassifyFrom(Collection<DocumentModel> classificationFolders,
String targetId)
Try to unclassify targetId from classificationFolders.
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
Classification.getDocument() |
Modifier and Type | Method and Description |
---|---|
void |
Classification.add(DocumentModel doc) |
boolean |
Classification.contains(DocumentModel documentModel) |
boolean |
Classification.remove(DocumentModel doc) |
Constructor and Description |
---|
Classification(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
ClassificationResult<ClassificationService.CLASSIFY_STATE> |
ClassificationServiceImpl.classify(DocumentModel classificationFolder,
Collection<DocumentModel> targetDocs) |
ClassificationResult<ClassificationService.CLASSIFY_STATE> |
ClassificationServiceImpl.classify(DocumentModel classificationFolder,
String resolver,
Collection<DocumentModel> targetDocs) |
boolean |
ClassificationServiceImpl.isClassifiable(DocumentModel doc) |
ClassificationResult<ClassificationService.UNCLASSIFY_STATE> |
ClassificationServiceImpl.unClassify(DocumentModel classificationFolder,
Collection<String> targetDocs) |
Modifier and Type | Method and Description |
---|---|
ClassificationResult<ClassificationService.CLASSIFY_STATE> |
ClassificationServiceImpl.classify(DocumentModel classificationFolder,
Collection<DocumentModel> targetDocs) |
ClassificationResult<ClassificationService.CLASSIFY_STATE> |
ClassificationServiceImpl.classify(DocumentModel classificationFolder,
String resolver,
Collection<DocumentModel> targetDocs) |
ClassificationResult<ClassificationService.UNCLASSIFY_STATE> |
ClassificationServiceImpl.unClassifyFrom(Collection<DocumentModel> classificationFolders,
String targetId) |
Modifier and Type | Method and Description |
---|---|
Object |
ClassificationAdapterFactory.getAdapter(DocumentModel doc,
Class<?> itf) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
ClassifyOperation.run(DocumentModel doc) |
DocumentModel |
UnclassifyOperation.run(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
ClassifyOperation.run(DocumentModel doc) |
DocumentModel |
UnclassifyOperation.run(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
CoreSession.checkIn(DocumentRef docRef,
VersionModel version)
Deprecated.
use
#checkIn(DocumentRef, String) instead |
DocumentModel |
AbstractSession.checkIn(DocumentRef docRef,
VersionModel ver)
Deprecated.
|
DocumentModel |
DocumentModel.clone()
Clone operation.
|
DocumentModel |
CoreSession.copy(DocumentRef src,
DocumentRef dst,
String name)
Copies the source document to the destination folder under the given
name.
|
DocumentModel |
AbstractSession.copy(DocumentRef src,
DocumentRef dst,
String name) |
DocumentModel |
CoreSession.copy(DocumentRef src,
DocumentRef dst,
String name,
boolean resetLifeCycle)
Copies the source document to the destination folder under the given
name.
|
DocumentModel |
AbstractSession.copy(DocumentRef src,
DocumentRef dst,
String name,
boolean resetLifeCycle) |
DocumentModel |
CoreSession.copyProxyAsDocument(DocumentRef src,
DocumentRef dst,
String name)
Work like copy but in the case of a source proxy the destination will be
a new document instead of a proxy.
|
DocumentModel |
AbstractSession.copyProxyAsDocument(DocumentRef src,
DocumentRef dst,
String name) |
DocumentModel |
CoreSession.copyProxyAsDocument(DocumentRef src,
DocumentRef dst,
String name,
boolean resetLifeCycle)
Work like copy but in the case of a source proxy the destination will be
a new document instead of a proxy.
|
DocumentModel |
AbstractSession.copyProxyAsDocument(DocumentRef src,
DocumentRef dst,
String name,
boolean resetLifeCycle) |
DocumentModel |
CoreSession.createDocument(DocumentModel model)
Creates a document using given document model for initialization.
|
DocumentModel |
AbstractSession.createDocument(DocumentModel docModel) |
DocumentModel[] |
CoreSession.createDocument(DocumentModel[] docModels)
Bulk creation of documents.
|
DocumentModel[] |
AbstractSession.createDocument(DocumentModel[] docModels) |
DocumentModel |
CoreSession.createDocumentModel(String typeName)
Creates a document model using type name.
|
DocumentModel |
AbstractSession.createDocumentModel(String typeName) |
DocumentModel |
CoreSession.createDocumentModel(String typeName,
Map<String,Object> options)
Creates a document model using required information.
|
DocumentModel |
AbstractSession.createDocumentModel(String typeName,
Map<String,Object> options) |
static DocumentModel |
DocumentModelFactory.createDocumentModel(String type,
String id)
Create an empty documentmodel for a given type with its id already setted.
|
DocumentModel |
CoreSession.createDocumentModel(String parentPath,
String id,
String typeName)
Creates a document model using required information.
|
DocumentModel |
AbstractSession.createDocumentModel(String parentPath,
String id,
String typeName) |
DocumentModel |
CoreSession.createProxy(DocumentRef docRef,
DocumentRef folderRef)
Creates a generic proxy to the given document inside the given folder.
|
DocumentModel |
AbstractSession.createProxy(DocumentRef docRef,
DocumentRef folderRef) |
DocumentModel |
CoreSession.getChild(DocumentRef parent,
String name)
Gets a child document given its name and the parent reference.
|
DocumentModel |
AbstractSession.getChild(DocumentRef parent,
String name) |
DocumentModel |
CoreSession.getDocument(DocumentRef docRef)
Gets a document model given its reference.
|
DocumentModel |
AbstractSession.getDocument(DocumentRef docRef) |
DocumentModel |
CoreSession.getDocumentWithVersion(DocumentRef docRef,
VersionModel version)
Returns a document that represents the specified version of the document.
|
DocumentModel |
AbstractSession.getDocumentWithVersion(DocumentRef docRef,
VersionModel version) |
DocumentModel |
DocumentModelsChunk.getItem(int i) |
DocumentModel |
CoreSession.getLastDocumentVersion(DocumentRef docRef)
Gets the document corresponding to the last version for the given
document.
|
DocumentModel |
AbstractSession.getLastDocumentVersion(DocumentRef docRef) |
DocumentModel |
SystemPrincipal.getModel() |
DocumentModel |
NuxeoPrincipal.getModel() |
DocumentModel |
CoreSession.getParentDocument(DocumentRef docRef)
Gets the parent document or null if this is the root document.
|
DocumentModel |
AbstractSession.getParentDocument(DocumentRef docRef) |
DocumentModel |
CoreSession.getRootDocument()
Gets the root document of this repository.
|
DocumentModel |
AbstractSession.getRootDocument() |
DocumentModel |
CoreSession.getSourceDocument(DocumentRef docRef)
Gets the head (live) document for this document.
|
DocumentModel |
AbstractSession.getSourceDocument(DocumentRef docRef) |
DocumentModel |
CoreSession.getSuperSpace(DocumentModel doc)
Returns the parent SuperSpace (workspace, section, etc.).
|
DocumentModel |
AbstractSession.getSuperSpace(DocumentModel doc) |
DocumentModel |
CoreSession.getVersion(String versionableId,
VersionModel versionModel)
Deprecated.
use version ids directly
|
DocumentModel |
AbstractSession.getVersion(String versionableId,
VersionModel versionModel) |
DocumentModel |
CoreSession.getWorkingCopy(DocumentRef docRef)
Gets the working copy (live document) for a proxy or a version.
|
DocumentModel |
AbstractSession.getWorkingCopy(DocumentRef docRef) |
DocumentModel |
CoreSession.move(DocumentRef src,
DocumentRef dst,
String name)
Moves the source document to the destination folder under the given name.
|
DocumentModel |
AbstractSession.move(DocumentRef src,
DocumentRef dst,
String name) |
DocumentModel |
DocumentTreeIterator.next() |
DocumentModel |
CoreSession.publishDocument(DocumentModel docToPublish,
DocumentModel section)
Publishes the document in a section overwriting any existing proxy to the
same document.
|
DocumentModel |
AbstractSession.publishDocument(DocumentModel docToPublish,
DocumentModel section) |
DocumentModel |
CoreSession.publishDocument(DocumentModel docToPublish,
DocumentModel section,
boolean overwriteExistingProxy)
Publishes the document in a section.
|
DocumentModel |
AbstractSession.publishDocument(DocumentModel docModel,
DocumentModel section,
boolean overwriteExistingProxy) |
DocumentModel |
CoreSession.restoreToVersion(DocumentRef docRef,
DocumentRef versionRef)
Restores the given document to the specified version.
|
DocumentModel |
AbstractSession.restoreToVersion(DocumentRef docRef,
DocumentRef versionRef) |
DocumentModel |
CoreSession.restoreToVersion(DocumentRef docRef,
DocumentRef versionRef,
boolean skipSnapshotCreation,
boolean skipCheckout)
Restores the given document to the specified version.
|
DocumentModel |
AbstractSession.restoreToVersion(DocumentRef docRef,
DocumentRef versionRef,
boolean skipSnapshotCreation,
boolean skipCheckout) |
DocumentModel |
CoreSession.restoreToVersion(DocumentRef docRef,
VersionModel version)
Deprecated.
|
DocumentModel |
AbstractSession.restoreToVersion(DocumentRef docRef,
VersionModel version)
Deprecated.
|
DocumentModel |
CoreSession.restoreToVersion(DocumentRef docRef,
VersionModel version,
boolean skipSnapshotCreation)
Deprecated.
|
DocumentModel |
AbstractSession.restoreToVersion(DocumentRef docRef,
VersionModel version,
boolean skipSnapshotCreation)
Deprecated.
|
DocumentModel |
CoreSession.saveDocument(DocumentModel docModel)
Saves changes done on the given document model.
|
DocumentModel |
AbstractSession.saveDocument(DocumentModel docModel) |
static DocumentModel |
DocumentModelFactory.writeDocumentModel(DocumentModel docModel,
Document doc)
Writes a document model to a document.
|
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
CoreSession.copy(List<DocumentRef> src,
DocumentRef dst)
Bulk copy.
|
List<DocumentModel> |
AbstractSession.copy(List<DocumentRef> src,
DocumentRef dst) |
List<DocumentModel> |
CoreSession.copy(List<DocumentRef> src,
DocumentRef dst,
boolean resetLifeCycle)
Bulk copy.
|
List<DocumentModel> |
AbstractSession.copy(List<DocumentRef> src,
DocumentRef dst,
boolean resetLifeCycle) |
List<DocumentModel> |
CoreSession.copyProxyAsDocument(List<DocumentRef> src,
DocumentRef dst)
Bulk copyProxyAsDocument.
|
List<DocumentModel> |
AbstractSession.copyProxyAsDocument(List<DocumentRef> src,
DocumentRef dst) |
List<DocumentModel> |
CoreSession.copyProxyAsDocument(List<DocumentRef> src,
DocumentRef dst,
boolean resetLifeCycle)
Bulk copyProxyAsDocument.
|
List<DocumentModel> |
AbstractSession.copyProxyAsDocument(List<DocumentRef> src,
DocumentRef dst,
boolean resetLifeCycle) |
List<DocumentModel> |
CoreSession.getParentDocuments(DocumentRef docRef)
Gets the parent documents in path from the root to the given document or
empty list if this is the root document.
|
List<DocumentModel> |
AbstractSession.getParentDocuments(DocumentRef docRef) |
List<DocumentModel> |
CoreSession.getVersions(DocumentRef docRef)
Retrieves all the versions for a specified document.
|
List<DocumentModel> |
AbstractSession.getVersions(DocumentRef docRef) |
Modifier and Type | Method and Description |
---|---|
boolean |
Filter.accept(DocumentModel docModel)
Filters data models objects.
|
int |
DocumentModelComparator.compare(DocumentModel doc1,
DocumentModel doc2) |
void |
DocumentModel.copyContent(DocumentModel sourceDoc)
Copies all the data from a source document.
|
void |
DocumentModel.copyContextData(DocumentModel otherDocument)
Copies the context data from given document to this document.
|
DocumentModel |
CoreSession.createDocument(DocumentModel model)
Creates a document using given document model for initialization.
|
DocumentModel |
AbstractSession.createDocument(DocumentModel docModel) |
DocumentModel[] |
CoreSession.createDocument(DocumentModel[] docModels)
Bulk creation of documents.
|
DocumentModel[] |
AbstractSession.createDocument(DocumentModel[] docModels) |
List<SecuritySummaryEntry> |
CoreSession.getSecuritySummary(DocumentModel docModel,
Boolean includeParents)
Returns security descriptors of doc and all it's children that hold
explicit security.
|
List<SecuritySummaryEntry> |
AbstractSession.getSecuritySummary(DocumentModel docModel,
Boolean includeParents) |
String |
CoreSession.getSuperParentType(DocumentModel doc)
Returns the type of his parent SuperSpace (workspace, section, etc.).
|
String |
AbstractSession.getSuperParentType(DocumentModel doc) |
DocumentModel |
CoreSession.getSuperSpace(DocumentModel doc)
Returns the parent SuperSpace (workspace, section, etc.).
|
DocumentModel |
AbstractSession.getSuperSpace(DocumentModel doc) |
String |
CoreSession.getVersionLabel(DocumentModel docModel)
Gets the version label for a document, according to the versioning
service.
|
String |
AbstractSession.getVersionLabel(DocumentModel docModel) |
DocumentEventContext |
AbstractSession.newEventContext(DocumentModel source) |
DocumentModel |
CoreSession.publishDocument(DocumentModel docToPublish,
DocumentModel section)
Publishes the document in a section overwriting any existing proxy to the
same document.
|
DocumentModel |
AbstractSession.publishDocument(DocumentModel docToPublish,
DocumentModel section) |
DocumentModel |
CoreSession.publishDocument(DocumentModel docToPublish,
DocumentModel section,
boolean overwriteExistingProxy)
Publishes the document in a section.
|
DocumentModel |
AbstractSession.publishDocument(DocumentModel docModel,
DocumentModel section,
boolean overwriteExistingProxy) |
DocumentModel |
CoreSession.saveDocument(DocumentModel docModel)
Saves changes done on the given document model.
|
DocumentModel |
AbstractSession.saveDocument(DocumentModel docModel) |
void |
CoreSession.saveDocuments(DocumentModel[] docModels)
Bulk document saving.
|
void |
AbstractSession.saveDocuments(DocumentModel[] docModels) |
void |
SystemPrincipal.setModel(DocumentModel model) |
void |
NuxeoPrincipal.setModel(DocumentModel model) |
static DocumentModel |
DocumentModelFactory.writeDocumentModel(DocumentModel docModel,
Document doc)
Writes a document model to a document.
|
Modifier and Type | Method and Description |
---|---|
void |
CoreSession.importDocuments(List<DocumentModel> docModels)
Low-level import of documents, reserved for the administrator.
|
void |
AbstractSession.importDocuments(List<DocumentModel> docModels) |
Constructor and Description |
---|
DocumentTreeIterator(CoreSession session,
DocumentModel root)
Creates the iterator given the tree root.
|
DocumentTreeIterator(CoreSession session,
DocumentModel root,
boolean excludeRoot) |
Modifier and Type | Method and Description |
---|---|
Object |
DocumentAdapterFactory.getAdapter(DocumentModel doc,
Class<?> itf) |
Modifier and Type | Method and Description |
---|---|
Object |
BlobHolderAdapterFactory.getAdapter(DocumentModel doc,
Class itf) |
BlobHolder |
BlobHolderFactory.getBlobHolder(DocumentModel doc) |
BlobHolder |
BlobHolderAdapterService.getBlobHolderAdapter(DocumentModel doc) |
BlobHolder |
BlobHolderAdapterComponent.getBlobHolderAdapter(DocumentModel doc) |
Constructor and Description |
---|
DocumentBlobHolder(DocumentModel doc,
String xPath) |
DocumentBlobHolder(DocumentModel doc,
String xPath,
String xPathFilename)
Constructor with filename property for compatibility (when filename was
not stored on blob object)
|
DocumentStringBlobHolder(DocumentModel doc,
String path) |
DocumentStringBlobHolder(DocumentModel doc,
String path,
String mime_type) |
Modifier and Type | Class and Description |
---|---|
class |
DocumentModelImpl
Standard implementation of a
DocumentModel . |
class |
SimpleDocumentModel
A DocumentModel that can have any schema and is not made persistent by
itself.
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
SimpleDocumentModel.clone() |
DocumentModel |
DocumentModelImpl.clone() |
DocumentModel |
UserPrincipal.getModel() |
DocumentModel |
DocumentModelIteratorImpl.next() |
DocumentModel |
DocumentModelIteratorImpl.nextDocument() |
Modifier and Type | Method and Description |
---|---|
Iterator<DocumentModel> |
DocumentModelIteratorImpl.iterator() |
Modifier and Type | Method and Description |
---|---|
boolean |
PermissionFilter.accept(DocumentModel docModel) |
boolean |
LifeCycleFilter.accept(DocumentModel docModel) |
boolean |
FacetFilter.accept(DocumentModel docModel) |
boolean |
CompoundFilter.accept(DocumentModel docModel) |
void |
SimpleDocumentModel.copyContent(DocumentModel sourceDoc) |
void |
DocumentModelImpl.copyContent(DocumentModel sourceDoc) |
void |
SimpleDocumentModel.copyContextData(DocumentModel otherDocument) |
void |
DocumentModelImpl.copyContextData(DocumentModel otherDocument) |
void |
UserPrincipal.setModel(DocumentModel model) |
Constructor and Description |
---|
DocumentLocationImpl(DocumentModel doc) |
DocumentModelImpl(DocumentModel parent,
String name,
String type) |
Constructor and Description |
---|
DocumentModelListImpl(List<DocumentModel> list) |
DocumentModelListImpl(List<DocumentModel> list,
long totalSize)
Constructs a DocumentModelListImpl and sets the "total size" information.
|
Modifier and Type | Method and Description |
---|---|
<T extends LocalConfiguration> |
LocalConfigurationServiceImpl.getConfiguration(Class<T> configurationClass,
String configurationFacet,
DocumentModel currentDoc) |
<T extends LocalConfiguration> |
LocalConfigurationService.getConfiguration(Class<T> configurationClass,
String configurationFacet,
DocumentModel currentDoc)
Returns the first
LocalConfiguration accessible from the
currentDoc , null otherwise. |
Modifier and Type | Method and Description |
---|---|
String |
PathSegmentServiceDefault.generatePathSegment(DocumentModel doc) |
String |
PathSegmentServiceCompat.generatePathSegment(DocumentModel doc) |
String |
PathSegmentService.generatePathSegment(DocumentModel doc)
Generate the path segment to use for a
DocumentModel that's about
to be created. |
String |
PathSegmentComponent.generatePathSegment(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
void |
PropertiesMappingService.mapProperties(CoreSession session,
DocumentModel sourceDoc,
DocumentModel targetDoc,
String mappingName)
Copies the properties defined by the given xpaths in the mapping from the
target to the source document.
|
Modifier and Type | Method and Description |
---|---|
void |
PropertiesMappingComponent.mapProperties(CoreSession session,
DocumentModel sourceDoc,
DocumentModel targetDoc,
String mapping) |
Modifier and Type | Method and Description |
---|---|
static void |
DirtyUpdateChecker.check(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
Blob |
ThumbnailServiceImpl.computeThumbnail(DocumentModel doc,
CoreSession session) |
Blob |
ThumbnailService.computeThumbnail(DocumentModel doc,
CoreSession session)
Compute the thumbnail (related to the document type/facet)
|
Blob |
ThumbnailFactory.computeThumbnail(DocumentModel doc,
CoreSession session) |
Object |
ThumbnailAdapterFactory.getAdapter(DocumentModel doc,
Class<?> itf) |
Blob |
ThumbnailServiceImpl.getThumbnail(DocumentModel doc,
CoreSession session) |
Blob |
ThumbnailService.getThumbnail(DocumentModel doc,
CoreSession session)
Get the document thumbnail (related to the doc type/facet)
|
Blob |
ThumbnailFactory.getThumbnail(DocumentModel doc,
CoreSession session) |
ThumbnailFactory |
ThumbnailServiceImpl.getThumbnailFactory(DocumentModel doc,
CoreSession session) |
Constructor and Description |
---|
ThumbnailAdapter(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultDocumentTreeFilter.accept(DocumentModel document) |
int |
DefaultDocumentTreeSorter.compare(DocumentModel doc1,
DocumentModel doc2) |
Modifier and Type | Class and Description |
---|---|
class |
DeletedDocumentModel |
Constructor and Description |
---|
DeletedDocumentModel(DocumentModel doc) |
Modifier and Type | Class and Description |
---|---|
class |
ShallowDocumentModel
Light weight
DocumentModel implementation Only holds
DocumentRef , RepositoryName, name, path and context data. |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
ShallowDocumentModel.clone() |
DocumentModel |
DocumentEventContext.getSourceDocument() |
Modifier and Type | Method and Description |
---|---|
void |
ShallowDocumentModel.copyContent(DocumentModel sourceDoc) |
void |
ShallowDocumentModel.copyContextData(DocumentModel otherDocument) |
Constructor and Description |
---|
DocumentEventContext(CoreSession session,
Principal principal,
DocumentModel source) |
DocumentEventContext(CoreSession session,
Principal principal,
DocumentModel source,
DocumentRef destDoc) |
ShallowDocumentModel(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
InputStream |
DocumentXMLExporter.exportXML(DocumentModel doc,
CoreSession session)
Exports a document to XML as an
InputStream . |
byte[] |
DocumentXMLExporter.exportXMLAsByteArray(DocumentModel doc,
CoreSession session)
Exports a document to XML as a byte array.
|
InputSource |
DocumentXMLExporter.exportXMLAsInputSource(DocumentModel doc,
CoreSession session)
Exports a document to XML as an
InputSource . |
Modifier and Type | Method and Description |
---|---|
InputStream |
DocumentXMLExporterImpl.exportXML(DocumentModel doc,
CoreSession session)
Exports a document to XML as an
InputStream . |
byte[] |
DocumentXMLExporterImpl.exportXMLAsByteArray(DocumentModel doc,
CoreSession session)
Exports a document to XML as a byte array.
|
InputSource |
DocumentXMLExporterImpl.exportXMLAsInputSource(DocumentModel doc,
CoreSession session)
Exports a document to XML as an
InputSource . |
Constructor and Description |
---|
ExportedDocumentImpl(DocumentModel doc) |
ExportedDocumentImpl(DocumentModel doc,
boolean inlineBlobs) |
ExportedDocumentImpl(DocumentModel doc,
Path path,
boolean inlineBlobs) |
TypedExportedDocumentImpl(DocumentModel doc)
Instantiates a new typed exported document impl.
|
TypedExportedDocumentImpl(DocumentModel doc,
boolean inlineBlobs)
Instantiates a new typed exported document impl.
|
TypedExportedDocumentImpl(DocumentModel doc,
Path path,
boolean inlineBlobs)
Instantiates a new typed exported document impl.
|
Constructor and Description |
---|
DocumentChildrenReader(CoreSession session,
DocumentModel root)
Deprecated.
|
DocumentTreeReader(CoreSession session,
DocumentModel root) |
DocumentTreeReader(CoreSession session,
DocumentModel root,
boolean excludeRoot) |
SingleDocumentReader(CoreSession session,
DocumentModel root) |
TypedSingleDocumentReader(CoreSession session,
DocumentModel root) |
Constructor and Description |
---|
DocumentsListReader(CoreSession session,
List<DocumentModel> docsList) |
Modifier and Type | Method and Description |
---|---|
org.apache.chemistry.opencmis.client.api.CmisObject |
NuxeoSession.getObject(DocumentModel doc,
org.apache.chemistry.opencmis.client.api.OperationContext context)
Gets a CMIS object given a Nuxeo
DocumentModel . |
Modifier and Type | Field and Description |
---|---|
DocumentModel |
NuxeoObjectData.doc |
Modifier and Type | Method and Description |
---|---|
static org.apache.chemistry.opencmis.commons.data.AllowableActions |
NuxeoObjectData.getAllowableActions(DocumentModel doc,
boolean creation) |
static org.apache.chemistry.opencmis.commons.enums.BaseTypeId |
NuxeoTypeHelper.getBaseTypeId(DocumentModel doc) |
static org.apache.chemistry.opencmis.commons.data.ContentStream |
NuxeoPropertyData.getContentStream(DocumentModel doc) |
static List<org.apache.chemistry.opencmis.commons.data.RenditionData> |
NuxeoObjectData.getRenditions(DocumentModel doc,
BigInteger maxItems,
BigInteger skipCount,
org.apache.chemistry.opencmis.commons.server.CallContext callContext) |
static String |
NuxeoPropertyData.NuxeoPropertyDataName.getValue(DocumentModel doc)
Gets the value for the cmis:name property.
|
boolean |
NuxeoCmisService.isFilteredOut(DocumentModel doc)
Checks if the doc should be ignored because it is "invisible" (deleted,
hidden in navigation).
|
static void |
NuxeoPropertyData.setContentStream(DocumentModel doc,
org.apache.chemistry.opencmis.commons.data.ContentStream contentStream,
boolean overwrite) |
Constructor and Description |
---|
NuxeoObjectData(NuxeoCmisService service,
DocumentModel doc,
org.apache.chemistry.opencmis.client.api.OperationContext context) |
NuxeoObjectData(NuxeoCmisService service,
DocumentModel doc,
String filter,
Boolean includeAllowableActions,
org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships,
String renditionFilter,
Boolean includePolicyIds,
Boolean includeAcl,
org.apache.chemistry.opencmis.commons.data.ExtensionsData extension) |
NuxeoPropertyData.NuxeoPropertyBooleanData(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<Boolean> propertyDefinition,
DocumentModel doc,
String name,
boolean readOnly) |
NuxeoPropertyData.NuxeoPropertyDateTimeData(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<GregorianCalendar> propertyDefinition,
DocumentModel doc,
String name,
boolean readOnly) |
NuxeoPropertyData.NuxeoPropertyDecimalData(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<BigDecimal> propertyDefinition,
DocumentModel doc,
String name,
boolean readOnly) |
NuxeoPropertyData.NuxeoPropertyHtmlData(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<String> propertyDefinition,
DocumentModel doc,
String name,
boolean readOnly) |
NuxeoPropertyData.NuxeoPropertyIdData(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<String> propertyDefinition,
DocumentModel doc,
String name,
boolean readOnly) |
NuxeoPropertyData.NuxeoPropertyIntegerData(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<BigInteger> propertyDefinition,
DocumentModel doc,
String name,
boolean readOnly) |
NuxeoPropertyData.NuxeoPropertyStringData(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<String> propertyDefinition,
DocumentModel doc,
String name,
boolean readOnly) |
NuxeoPropertyData.NuxeoPropertyUriData(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<String> propertyDefinition,
DocumentModel doc,
String name,
boolean readOnly) |
NuxeoPropertyData(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<T> propertyDefinition,
DocumentModel doc,
String name,
boolean readOnly) |
NuxeoPropertyDataBase(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<T> propertyDefinition,
DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
static DocumentModel |
DocumentHelper.createDocument(WebContext context,
DocumentModel parent,
String name) |
DocumentModel |
DocumentObject.getDocument() |
static DocumentModel |
DocumentHelper.updateDocument(WebContext ctx,
DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
static DocumentModel |
DocumentHelper.createDocument(WebContext context,
DocumentModel parent,
String name) |
DocumentObject |
DocumentObject.newDocument(DocumentModel doc) |
static DocumentObject |
DocumentFactory.newDocument(WebContext ctx,
DocumentModel doc) |
static DocumentObject |
DocumentFactory.newDocumentRoot(WebContext ctx,
DocumentModel doc) |
static DocumentModel |
DocumentHelper.updateDocument(WebContext ctx,
DocumentModel doc) |
Constructor and Description |
---|
DocumentRoot(WebContext ctx,
DocumentModel root) |
Modifier and Type | Field and Description |
---|---|
DocumentModel |
DocumentModelResultItem.doc |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
DocumentModelResultItem.getDocumentModel() |
Constructor and Description |
---|
DocumentModelResultItem(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
int |
SQLQueryResult.PathComparator.compare(DocumentModel doc1,
DocumentModel doc2) |
Modifier and Type | Field and Description |
---|---|
List<DocumentModel> |
TrashInfo.docs
Docs found ok.
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
TrashServiceImpl.getAboveDocument(DocumentModel doc,
Set<Path> rootPaths) |
DocumentModel |
TrashService.getAboveDocument(DocumentModel doc,
Set<Path> paths)
Gets the closest document's ancestor above all the paths.
|
Modifier and Type | Method and Description |
---|---|
boolean |
TrashServiceImpl.folderAllowsDelete(DocumentModel folder) |
boolean |
TrashService.folderAllowsDelete(DocumentModel folder)
Can a child of the folder be deleted?
|
DocumentModel |
TrashServiceImpl.getAboveDocument(DocumentModel doc,
Set<Path> rootPaths) |
DocumentModel |
TrashService.getAboveDocument(DocumentModel doc,
Set<Path> paths)
Gets the closest document's ancestor above all the paths.
|
Modifier and Type | Method and Description |
---|---|
boolean |
TrashServiceImpl.canDelete(List<DocumentModel> docs,
Principal principal,
boolean checkProxies) |
boolean |
TrashService.canDelete(List<DocumentModel> docs,
Principal principal,
boolean checkProxies)
Is at least one doc deletable?
|
boolean |
TrashServiceImpl.canPurgeOrUndelete(List<DocumentModel> docs,
Principal principal) |
boolean |
TrashService.canPurgeOrUndelete(List<DocumentModel> docs,
Principal principal)
Are all documents purgeable/undeletable?
|
boolean |
TrashServiceImpl.canUndelete(List<DocumentModel> docs) |
boolean |
TrashServiceImpl.checkDeletePermOnParents(List<DocumentModel> docs) |
boolean |
TrashService.checkDeletePermOnParents(List<DocumentModel> docs)
Is at least one doc deletable according to its container?
|
TrashInfo |
TrashServiceImpl.getTrashInfo(List<DocumentModel> docs,
Principal principal,
boolean checkProxies,
boolean checkDeleted) |
TrashInfo |
TrashService.getTrashInfo(List<DocumentModel> docs,
Principal principal,
boolean checkProxies,
boolean checkDeleted)
Gets the trash info for a list of documents.
|
void |
TrashServiceImpl.trashDocuments(List<DocumentModel> docs) |
void |
TrashService.trashDocuments(List<DocumentModel> docs)
Moves documents to the trash, or directly deletes them if their lifecycle
does not allow trash use.
|
Set<DocumentRef> |
TrashServiceImpl.undeleteDocuments(List<DocumentModel> docs) |
Set<DocumentRef> |
TrashService.undeleteDocuments(List<DocumentModel> docs)
Undeletes documents (and ancestors if needed to make them visible).
|
Modifier and Type | Method and Description |
---|---|
static URL |
PropertyURL.createURL(DocumentModel doc,
String xpath) |
static URL |
PropertyURL.getURL(DocumentModel doc,
String xpath) |
Modifier and Type | Method and Description |
---|---|
List<Blob> |
BlobsExtractor.getBlobs(DocumentModel doc)
Finds all the blobs of the document.
|
List<Property> |
BlobsExtractor.getBlobsProperties(DocumentModel doc)
Get properties of the given document that contain a blob value.
|
static Object |
DocumentModelUtils.getComplexPropertyValue(DocumentModel doc,
String propertyPath)
Obtains a property value given its path.
|
static Map<String,Object> |
DocumentModelUtils.getProperties(DocumentModel docModel)
Gets all properties defined in declared schemas of a DocumentModel.
|
static Object |
DocumentModelUtils.getPropertyValue(DocumentModel doc,
String propertyName)
The given propertyName should have 'schema_name:property_name' format.
|
Modifier and Type | Field and Description |
---|---|
DocumentModel |
VersioningDocumentAdapter.doc |
Modifier and Type | Method and Description |
---|---|
Object |
VersioningDocumentAdapterFactory.getAdapter(DocumentModel doc,
Class<?> itf) |
List<VersioningOption> |
VersioningService.getSaveOptions(DocumentModel doc)
Checks what options are available on a document at save time.
|
List<VersioningOption> |
VersioningComponent.getSaveOptions(DocumentModel docModel) |
List<VersioningOption> |
StandardVersioningService.getSaveOptions(DocumentModel docModel) |
String |
VersioningService.getVersionLabel(DocumentModel doc)
Gets the version label to display for a given document.
|
String |
VersioningComponent.getVersionLabel(DocumentModel doc) |
String |
StandardVersioningService.getVersionLabel(DocumentModel docModel) |
String |
CompatVersioningService.getVersionLabel(DocumentModel doc) |
Constructor and Description |
---|
VersioningDocumentAdapter(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
static String |
ContentDiffHelper.getContentDiffFancyBoxURL(DocumentModel currentDoc,
String propertyLabel,
String propertyXPath,
String conversionType)
Gets the content diff fancy box URL.
|
static String |
ContentDiffHelper.getContentDiffURL(DocumentModel leftDoc,
DocumentModel rightDoc,
String conversionType,
String locale)
Gets the content diff URL.
|
static String |
ContentDiffHelper.getContentDiffURL(DocumentModel leftDoc,
DocumentModel rightDoc,
String propertyXPath,
String conversionType,
String locale)
Gets the content diff URL.
|
static String |
ContentDiffHelper.getContentDiffURL(String repositoryName,
DocumentModel leftDoc,
DocumentModel rightDoc,
String propertyXPath,
String conversionType,
String locale)
Gets the content diff URL.
|
List<Blob> |
ContentDiffAdapter.getFileContentDiffBlobs(DocumentModel otherDoc,
ContentDiffConversionType conversionType,
Locale locale) |
List<Blob> |
ContentDiffAdapter.getFileContentDiffBlobs(DocumentModel otherDoc,
String xpath,
ContentDiffConversionType conversionType,
Locale locale) |
String |
ContentDiffAdapter.getFileContentDiffURL(DocumentModel otherDoc,
ContentDiffConversionType conversionType,
String locale) |
String |
ContentDiffAdapter.getFileContentDiffURL(DocumentModel otherDoc,
String xpath,
ContentDiffConversionType conversionType,
String locale) |
void |
ContentDiffAdapter.setAdaptedDocument(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
ContentDiffAdapter |
ContentDiffAdapterManagerComponent.getAdapter(DocumentModel doc) |
ContentDiffAdapter |
ContentDiffAdapterManager.getAdapter(DocumentModel doc) |
ContentDiffAdapter |
ContentDiffAdapterFactory.getAdapter(DocumentModel doc) |
Object |
ContentDiffDocumentModelAdapterFactory.getAdapter(DocumentModel doc,
Class<?> itf) |
boolean |
ContentDiffAdapterManagerComponent.hasAdapter(DocumentModel doc) |
boolean |
ContentDiffAdapterManager.hasAdapter(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
List<Blob> |
ConverterBasedContentDiffAdapter.getContentDiffBlobs(DocumentModel otherDoc,
ContentDiffConversionType conversionType,
Locale locale) |
List<Blob> |
ConverterBasedContentDiffAdapter.getContentDiffBlobs(DocumentModel otherDoc,
String xpath,
ContentDiffConversionType conversionType,
Locale locale) |
List<Blob> |
AbstractContentDiffAdapter.getFileContentDiffBlobs(DocumentModel otherDoc,
ContentDiffConversionType conversionType,
Locale locale) |
List<Blob> |
AbstractContentDiffAdapter.getFileContentDiffBlobs(DocumentModel otherDoc,
String xpath,
ContentDiffConversionType conversionType,
Locale locale) |
String |
AbstractContentDiffAdapter.getFileContentDiffURL(DocumentModel otherDoc,
ContentDiffConversionType conversionType,
String locale) |
String |
AbstractContentDiffAdapter.getFileContentDiffURL(DocumentModel otherDoc,
String xpath,
ContentDiffConversionType conversionType,
String locale) |
void |
AbstractContentDiffAdapter.setAdaptedDocument(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
ContentDiffAdapter |
FileBasedContentDiffAdapterFactory.getAdapter(DocumentModel doc) |
ContentDiffAdapter |
BlobHolderContentDiffAdapterFactory.getAdapter(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentDiff |
DocumentDiffService.diff(CoreSession session,
DocumentModel leftDoc,
DocumentModel rightDoc)
Makes a diff between leftDoc and rightDoc.
|
List<DiffDisplayBlock> |
DiffDisplayService.getDiffDisplayBlocks(DocumentDiff docDiff,
DocumentModel leftDoc,
DocumentModel rightDoc) |
Modifier and Type | Method and Description |
---|---|
DocumentDiff |
DocumentDiffServiceImpl.diff(CoreSession session,
DocumentModel leftDoc,
DocumentModel rightDoc)
Makes a diff between leftDoc and rightDoc.
|
List<DiffDisplayBlock> |
DiffDisplayServiceImpl.getDefaultDiffDisplayBlocks(DocumentDiff docDiff,
DocumentModel leftDoc,
DocumentModel rightDoc) |
List<DiffDisplayBlock> |
DiffDisplayServiceImpl.getDiffDisplayBlocks(DocumentDiff docDiff,
DocumentModel leftDoc,
DocumentModel rightDoc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
DiffActionsBean.getLeftDoc() |
DocumentModel |
DiffActionsBean.getRightDoc() |
Modifier and Type | Method and Description |
---|---|
void |
DiffActionsBean.setLeftDoc(DocumentModel leftDoc) |
void |
DiffActionsBean.setRightDoc(DocumentModel rightDoc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
EntryAdaptor.adapt(Directory directory,
DocumentModel entry)
Apply an arbitrary transformation of the fetched entry.
|
DocumentModel |
Session.createEntry(DocumentModel entry)
Creates an entry in a directory.
|
DocumentModel |
Session.createEntry(Map<String,Object> fieldMap)
Creates an entry in a directory.
|
static DocumentModel |
BaseSession.createEntryModel(String sessionId,
String schema,
String id,
Map<String,Object> values)
Returns a bare document model suitable for directory implementations.
|
static DocumentModel |
BaseSession.createEntryModel(String sessionId,
String schema,
String id,
Map<String,Object> values,
boolean readOnly)
Returns a bare document model suitable for directory implementations.
|
DocumentModel |
Session.getEntry(String id)
Retrieves a directory entry using its id.
|
DocumentModel |
Session.getEntry(String id,
boolean fetchReferences)
Retrieves a directory entry using its id.
|
DocumentModel |
DirectoryCache.getEntry(String entryId,
EntrySource source) |
DocumentModel |
DirectoryCache.getEntry(String entryId,
EntrySource source,
boolean fetchReferences) |
DocumentModel |
EntrySource.getEntryFromSource(String entryId,
boolean fetchReferences) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
EntryAdaptor.adapt(Directory directory,
DocumentModel entry)
Apply an arbitrary transformation of the fetched entry.
|
DocumentModel |
Session.createEntry(DocumentModel entry)
Creates an entry in a directory.
|
void |
Session.deleteEntry(DocumentModel docModel)
Deletes a directory entry.
|
Directory |
DirectoryServiceImpl.getDirectory(String name,
DocumentModel documentContext) |
static boolean |
BaseSession.isReadOnlyEntry(DocumentModel entry)
Test whether entry comes from a read-only back-end directory.
|
Session |
DirectoryServiceImpl.open(String directoryName,
DocumentModel documentContext) |
static void |
BaseSession.setReadOnlyEntry(DocumentModel entry)
Set the read-only flag of a directory entry.
|
static void |
BaseSession.setReadWriteEntry(DocumentModel entry)
Unset the read-only flag of a directory entry.
|
void |
Session.updateEntry(DocumentModel docModel)
Updates a directory entry.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractDirectory.orderEntries(List<DocumentModel> entries,
Map<String,String> orderBy)
Helper method to order entries.
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
DirectoryManager.createEntry(long sessionId,
DocumentModel entry)
Creates an entry in a directory.
|
DocumentModel |
DirectoryManager.createEntry(long sessionId,
Map<String,Object> fieldMap)
Creates an entry in a directory.
|
DocumentModel |
DirectoryManager.getEntry(long sessionId,
String id)
Retrieves a directory entry using its id.
|
DocumentModel |
DirectoryManager.getEntry(long sessionId,
String id,
boolean fetchReferences)
Retrieves a directory entry using its id.
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
DirectoryManager.createEntry(long sessionId,
DocumentModel entry)
Creates an entry in a directory.
|
void |
DirectoryManager.deleteEntry(long sessionId,
DocumentModel docModel)
Deletes a directory entry.
|
Directory |
DirectoryService.getDirectory(String directoryName,
DocumentModel documentContext)
Return the directory for the specified context.
|
Session |
DirectoryService.open(String directoryName,
DocumentModel documentContext)
Opens a session on the directory for the specified context.
|
void |
DirectoryManager.updateEntry(long sessionId,
DocumentModel docModel)
Updates a directory entry.
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
WritePolicyEntryAdaptor.adapt(Directory directory,
DocumentModel entry) |
DocumentModel |
DirectoryClientImpl.createEntry(DocumentModel entry) |
DocumentModel |
DirectoryClientImpl.createEntry(Map<String,Object> fieldMap) |
DocumentModel |
DirectoryClientImpl.getEntry(String id) |
DocumentModel |
DirectoryClientImpl.getEntry(String id,
boolean fetchReferences) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
WritePolicyEntryAdaptor.adapt(Directory directory,
DocumentModel entry) |
DocumentModel |
DirectoryClientImpl.createEntry(DocumentModel entry) |
void |
DirectoryClientImpl.deleteEntry(DocumentModel docModel) |
void |
DirectoryClientImpl.updateEntry(DocumentModel docModel) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
LDAPSession.createEntry(DocumentModel entry) |
DocumentModel |
LDAPSession.createEntry(Map<String,Object> fieldMap) |
DocumentModel |
LDAPSession.getEntry(String id) |
DocumentModel |
LDAPSession.getEntry(String id,
boolean fetchReferences) |
DocumentModel |
LDAPSession.getEntryFromSource(String id,
boolean fetchReferences) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
LDAPSession.createEntry(DocumentModel entry) |
void |
LDAPSession.deleteEntry(DocumentModel dm) |
void |
LDAPSession.updateEntry(DocumentModel docModel) |
Modifier and Type | Method and Description |
---|---|
Object |
DirectoryConfigurationFactory.getAdapter(DocumentModel doc,
Class<?> itf) |
Constructor and Description |
---|
DirectoryConfigurationAdapter(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
MemoryDirectorySession.createEntry(DocumentModel entry) |
DocumentModel |
MemoryDirectorySession.createEntry(Map<String,Object> fieldMap) |
DocumentModel |
MemoryDirectorySession.getEntry(String id) |
DocumentModel |
MemoryDirectorySession.getEntry(String id,
boolean fetchReferences) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
MemoryDirectorySession.createEntry(DocumentModel entry) |
void |
MemoryDirectorySession.deleteEntry(DocumentModel docModel) |
void |
MemoryDirectorySession.updateEntry(DocumentModel docModel) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
MultiDirectorySession.createEntry(DocumentModel entry) |
DocumentModel |
MultiDirectorySession.createEntry(Map<String,Object> fieldMap) |
DocumentModel |
MultiDirectorySession.getEntry(String id) |
DocumentModel |
MultiDirectorySession.getEntry(String id,
boolean fetchReferences) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
MultiDirectorySession.createEntry(DocumentModel entry) |
void |
MultiDirectorySession.deleteEntry(DocumentModel docModel) |
void |
MultiDirectorySession.updateEntry(DocumentModel docModel) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
SQLSession.createEntry(DocumentModel entry) |
DocumentModel |
SQLSession.createEntry(Map<String,Object> fieldMap) |
DocumentModel |
SQLSession.getEntry(String id) |
DocumentModel |
SQLSession.getEntry(String id,
boolean fetchReferences) |
DocumentModel |
SQLSession.getEntryFromSource(String id,
boolean fetchReferences) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
SQLSession.createEntry(DocumentModel entry) |
void |
SQLSession.deleteEntry(DocumentModel docModel) |
void |
SQLSession.updateEntry(DocumentModel docModel) |
Modifier and Type | Method and Description |
---|---|
String |
MobileApplication.getDocumentMobileUrl(DocumentModel doc) |
static String |
RedirectHelper.getJSFDocumentPath(DocumentModel doc,
String baseUrl) |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
CommentAdapter.getComments() |
List<DocumentModel> |
CommentAdapter.getComments(DocumentModel commentParent) |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
CommentAdapter.getComments(DocumentModel commentParent) |
boolean |
CommentAdapter.hasWriteRightOnComment(DocumentModel comment) |
Modifier and Type | Method and Description |
---|---|
String |
MobileDocument.getDownloadURL(DocumentModel docModel) |
String |
MobileDocument.getJSFURLPath(DocumentModel docModel) |
Modifier and Type | Method and Description |
---|---|
static DocumentModel |
UserHelper.updateUser(WebContext ctx,
DocumentModel user)
TODO merge org.nuxeo.ecm.core.rest.DocumentHelper and UserHelper
|
Modifier and Type | Method and Description |
---|---|
static DocumentModel |
UserHelper.updateUser(WebContext ctx,
DocumentModel user)
TODO merge org.nuxeo.ecm.core.rest.DocumentHelper and UserHelper
|
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
MultiTenantService.getTenants() |
List<DocumentModel> |
MultiTenantActions.getTenants() |
List<DocumentModel> |
MultiTenantServiceImpl.getTenants() |
Modifier and Type | Method and Description |
---|---|
void |
MultiTenantService.disableTenantIsolationFor(CoreSession session,
DocumentModel doc) |
void |
MultiTenantServiceImpl.disableTenantIsolationFor(CoreSession session,
DocumentModel doc) |
void |
MultiTenantService.enableTenantIsolationFor(CoreSession session,
DocumentModel doc) |
void |
MultiTenantServiceImpl.enableTenantIsolationFor(CoreSession session,
DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
ActionContext.getCurrentDocument()
Returns the current document to use for filter evaluation
|
DocumentModel |
AbstractActionContext.getCurrentDocument() |
Modifier and Type | Method and Description |
---|---|
void |
ActionContext.setCurrentDocument(DocumentModel doc)
Sets the current document to use for filter evaluation
|
void |
AbstractActionContext.setCurrentDocument(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
boolean |
WebPermission.canAnnotate(DocumentModel docModel) |
boolean |
DefaultWebPermission.canAnnotate(DocumentModel docModel) |
Modifier and Type | Method and Description |
---|---|
long |
AnnotationsActions.getAnnotationsCount(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
boolean |
SecurityManager.check(NuxeoPrincipal user,
String permission,
DocumentModel dm) |
boolean |
AnnotationsRepositoryServiceImpl.check(NuxeoPrincipal user,
String permission,
DocumentModel model) |
boolean |
AnnotationsRepositoryService.check(NuxeoPrincipal user,
String permission,
DocumentModel model) |
boolean |
DocumentAnnotability.isAnnotable(DocumentModel docuement) |
boolean |
DefaultDocumentAnnotability.isAnnotable(DocumentModel document) |
boolean |
AnnotationsRepositoryServiceImpl.isAnnotable(DocumentModel document) |
boolean |
AnnotationsRepositoryService.isAnnotable(DocumentModel document) |
boolean |
AnnotationsFulltextInjector.removeAnnotationText(DocumentModel doc,
String annotationId) |
void |
AnnotationsFulltextInjector.setAnnotationText(DocumentModel doc,
String annotationId,
String annotationBody) |
Modifier and Type | Method and Description |
---|---|
void |
DocumentLoader.fillProperties(DocumentModel doc,
List<DocumentProperty> props,
WSRemotingSession rs) |
Constructor and Description |
---|
DocumentDescriptor(DocumentModel doc) |
DocumentDescriptor(DocumentModel doc,
String title) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
AudioImporter.create(CoreSession documentManager,
Blob content,
String path,
boolean overwrite,
String fullname,
TypeManager typeService) |
Modifier and Type | Method and Description |
---|---|
Blob |
ThumbnailAudioFactory.computeThumbnail(DocumentModel doc,
CoreSession session) |
Blob |
ThumbnailAudioFactory.getThumbnail(DocumentModel doc,
CoreSession session) |
Modifier and Type | Method and Description |
---|---|
List<LogEntry> |
DocumentHistoryReader.getDocumentHistory(DocumentModel doc,
long pageIndex,
long pageSize)
Retrieve a page of
LogEntry for the history of the input
DocumentModel |
PageProvider<LogEntry> |
DocumentHistoryReader.getPageProvider(DocumentModel doc,
long pageIndex,
long pageSize)
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
LinkedDocument.getDocument() |
Modifier and Type | Method and Description |
---|---|
void |
LinkedDocument.setDocument(DocumentModel document) |
Modifier and Type | Field and Description |
---|---|
DocumentModel |
SourceDocumentResolver.sourceDocument |
Modifier and Type | Method and Description |
---|---|
List<LogEntry> |
DocumentHistoryReaderImpl.getDocumentHistory(DocumentModel doc,
long pageIndex,
long pageSize) |
PageProvider<LogEntry> |
DocumentHistoryReaderImpl.getPageProvider(DocumentModel doc,
long pageIndex,
long pageSize) |
Modifier and Type | Method and Description |
---|---|
List<? extends LogEntry> |
ContentHistoryActions.computeLogEntries(DocumentModel document)
Computes all log entries for given document.
|
Modifier and Type | Method and Description |
---|---|
List<LogEntry> |
ContentHistoryActionsBean.computeLogEntries(DocumentModel document) |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
DocumentCategorizationServiceImpl.updateCategories(CoreSession session,
List<DocumentRef> docRefs) |
List<DocumentModel> |
DocumentCategorizationService.updateCategories(CoreSession session,
List<DocumentRef> docRefs)
Run all registered document categorizers on the given documents fetched
using the provided session.
|
List<DocumentModel> |
DocumentCategorizationServiceImpl.updateCategories(List<DocumentModel> documents) |
List<DocumentModel> |
DocumentCategorizationService.updateCategories(List<DocumentModel> documents)
Run all registered document categorizers on the given documents.
|
Modifier and Type | Method and Description |
---|---|
String |
DocumentCategorizationServiceImpl.extractTextContent(DocumentModel doc) |
void |
CategorizerDescriptor.processDocument(DocumentModel doc,
String textContent) |
boolean |
CategorizerDescriptor.shouldProcess(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
DocumentCategorizationServiceImpl.updateCategories(List<DocumentModel> documents) |
List<DocumentModel> |
DocumentCategorizationService.updateCategories(List<DocumentModel> documents)
Run all registered document categorizers on the given documents.
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
ClassificationActions.getCurrentClassificationRoot() |
DocumentModel |
ClassificationActionsBean.getCurrentClassificationRoot() |
DocumentModel |
ClassificationActions.getCurrentEditableClassificationRoot() |
DocumentModel |
ClassificationActionsBean.getCurrentEditableClassificationRoot() |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
ClassifiedPageProvider.getCurrentPage() |
Collection<DocumentModel> |
ClassificationActions.getMassTargetDocuments()
Returns selected target documents from a list of email documents.
|
Collection<DocumentModel> |
ClassificationActionsBean.getMassTargetDocuments() |
Collection<DocumentModel> |
ClassificationActions.getTargetDocuments()
Returns target documents when classifying an envelope.
|
Collection<DocumentModel> |
ClassificationActionsBean.getTargetDocuments() |
Modifier and Type | Method and Description |
---|---|
boolean |
ClassificationActions.classify(Collection<DocumentModel> targetDocs,
DocumentModel classificationFolder)
Classifies given documents in given classification folder.
|
boolean |
ClassificationActionsBean.classify(Collection<DocumentModel> targetDocs,
DocumentModel classificationFolder)
Classifies given documents in given classification folder.
|
boolean |
ClassificationActions.unclassify(Collection<String> targetDocIds,
DocumentModel classificationFolder)
Unclassifies given document ids in given classification folder.
|
boolean |
ClassificationActionsBean.unclassify(Collection<String> targetDocIds,
DocumentModel classificationFolder)
Unclassifies given document ids in given classification folder.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ClassificationActions.classify(Collection<DocumentModel> targetDocs,
DocumentModel classificationFolder)
Classifies given documents in given classification folder.
|
boolean |
ClassificationActionsBean.classify(Collection<DocumentModel> targetDocs,
DocumentModel classificationFolder)
Classifies given documents in given classification folder.
|
Constructor and Description |
---|
ClassificationTreeNode(DocumentModel document,
Filter filter,
Sorter sorter) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
CommentableDocument.addComment(DocumentModel comment)
Creates a new comment.
|
DocumentModel |
CommentableDocument.addComment(DocumentModel parent,
DocumentModel comment)
Creates a new comment as a reply to an existing comment.
|
DocumentModel |
CommentManager.createComment(DocumentModel docModel,
DocumentModel comment) |
DocumentModel |
CommentManager.createComment(DocumentModel docModel,
DocumentModel parent,
DocumentModel child) |
DocumentModel |
CommentManager.createComment(DocumentModel docModel,
String comment)
Deprecated.
CommentManager cannot find the author if invoked remotely so
one should use
CommentManager.createComment(DocumentModel, String, String) |
DocumentModel |
CommentManager.createComment(DocumentModel docModel,
String comment,
String author)
Creates a comment document model, filling its properties with given info
and linking it to given document.
|
DocumentModel |
CommentManager.createLocatedComment(DocumentModel docModel,
DocumentModel comment,
String path)
Creates a comment document model.
|
DocumentModel |
CommentManager.getThreadForComment(DocumentModel comment)
Gets thread in relation with a given comment (post or comment)
|
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
CommentableDocument.getComments()
Returns all comments for this document.
|
List<DocumentModel> |
CommentableDocument.getComments(DocumentModel parent)
Returns the comments for this document that are replied to a parent comment.
|
List<DocumentModel> |
CommentManager.getComments(DocumentModel docModel) |
List<DocumentModel> |
CommentManager.getComments(DocumentModel docModel,
DocumentModel parent) |
List<DocumentModel> |
CommentManager.getDocumentsForComment(DocumentModel comment)
Gets documents in relation with a particular comment.
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
CommentableDocument.addComment(DocumentModel comment)
Creates a new comment.
|
DocumentModel |
CommentableDocument.addComment(DocumentModel parent,
DocumentModel comment)
Creates a new comment as a reply to an existing comment.
|
DocumentModel |
CommentManager.createComment(DocumentModel docModel,
DocumentModel comment) |
DocumentModel |
CommentManager.createComment(DocumentModel docModel,
DocumentModel parent,
DocumentModel child) |
DocumentModel |
CommentManager.createComment(DocumentModel docModel,
String comment)
Deprecated.
CommentManager cannot find the author if invoked remotely so
one should use
CommentManager.createComment(DocumentModel, String, String) |
DocumentModel |
CommentManager.createComment(DocumentModel docModel,
String comment,
String author)
Creates a comment document model, filling its properties with given info
and linking it to given document.
|
DocumentModel |
CommentManager.createLocatedComment(DocumentModel docModel,
DocumentModel comment,
String path)
Creates a comment document model.
|
void |
CommentManager.deleteComment(DocumentModel docModel,
DocumentModel comment) |
List<DocumentModel> |
CommentableDocument.getComments(DocumentModel parent)
Returns the comments for this document that are replied to a parent comment.
|
List<DocumentModel> |
CommentManager.getComments(DocumentModel docModel) |
List<DocumentModel> |
CommentManager.getComments(DocumentModel docModel,
DocumentModel parent) |
List<DocumentModel> |
CommentManager.getDocumentsForComment(DocumentModel comment)
Gets documents in relation with a particular comment.
|
DocumentModel |
CommentManager.getThreadForComment(DocumentModel comment)
Gets thread in relation with a given comment (post or comment)
|
void |
CommentableDocument.removeComment(DocumentModel comment)
Removes a comment from the document comment list.
|
void |
CommentConverter.updateDocumentModel(DocumentModel docModel,
DocumentModel comment)
Transforms the comment object into the document model.
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
CommentableDocumentAdapter.addComment(DocumentModel comment) |
DocumentModel |
CommentableDocumentAdapter.addComment(DocumentModel parent,
DocumentModel comment) |
DocumentModel |
CommentableDocumentAdapter.addComment(String comment)
Deprecated.
|
DocumentModel |
CommentManagerImpl.createComment(DocumentModel docModel,
DocumentModel comment) |
DocumentModel |
CommentManagerImpl.createComment(DocumentModel docModel,
DocumentModel parent,
DocumentModel child) |
DocumentModel |
CommentManagerImpl.createComment(DocumentModel docModel,
String comment) |
DocumentModel |
CommentManagerImpl.createComment(DocumentModel docModel,
String comment,
String author) |
DocumentModel |
CommentManagerImpl.createLocatedComment(DocumentModel docModel,
DocumentModel comment,
String path) |
DocumentModel |
CommentManagerImpl.getThreadForComment(DocumentModel comment) |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
CommentableDocumentAdapter.getComments() |
List<DocumentModel> |
CommentManagerImpl.getComments(DocumentModel docModel) |
List<DocumentModel> |
CommentableDocumentAdapter.getComments(DocumentModel parent) |
List<DocumentModel> |
CommentManagerImpl.getComments(DocumentModel docModel,
DocumentModel parent) |
List<DocumentModel> |
CommentManagerImpl.getDocumentsForComment(DocumentModel comment) |
Constructor and Description |
---|
CommentableDocumentAdapter(DocumentModel docModel) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
CommentManagerActions.addComment(DocumentModel comment)
Add the given comment DocumentModel to commentableDoc.
|
DocumentModel |
AbstractCommentManagerActionsBean.addComment(DocumentModel comment) |
DocumentModel |
AbstractCommentManagerActionsBean.addComment(DocumentModel comment,
DocumentModel docToComment) |
DocumentModel |
UIComment.getComment() |
DocumentModel |
ThreadEntry.getComment() |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
CommentManagerActions.addComment(DocumentModel comment)
Add the given comment DocumentModel to commentableDoc.
|
DocumentModel |
AbstractCommentManagerActionsBean.addComment(DocumentModel comment) |
DocumentModel |
AbstractCommentManagerActionsBean.addComment(DocumentModel comment,
DocumentModel docToComment) |
String |
CommentManagerActions.createComment(DocumentModel docToComment)
Same as addComment() method but using the given document instead of
currentDocument.
|
String |
AbstractCommentManagerActionsBean.createComment(DocumentModel docToComment) |
List<UIComment> |
AbstractCommentManagerActionsBean.getComments(DocumentModel doc) |
List<ThreadEntry> |
CommentManagerActions.getCommentsAsThread(DocumentModel commentedDoc)
Initialize uiComments with given Document if uiComments is null.
|
List<ThreadEntry> |
AbstractCommentManagerActionsBean.getCommentsAsThread(DocumentModel commentedDoc) |
List<ThreadEntry> |
CommentManagerActions.getCommentsAsThreadOnDoc(DocumentModel doc) |
List<ThreadEntry> |
AbstractCommentManagerActionsBean.getCommentsAsThreadOnDoc(DocumentModel doc)
Recursively retrieves all comments of a doc.
|
List<UIComment> |
CommentManagerActions.getLastCommentsByDate(String commentNumber,
DocumentModel commentedDoc)
Retrieves a given number of comments from the given Document.
|
List<UIComment> |
AbstractCommentManagerActionsBean.getLastCommentsByDate(String commentNumber,
DocumentModel commentedDoc) |
void |
CommentManagerActions.initComments(DocumentModel commentedDoc)
Initializes uiComments with given Document.
|
void |
AbstractCommentManagerActionsBean.initComments(DocumentModel commentedDoc)
Initializes uiComments with Comments of current document.
|
void |
ThreadEntry.setComment(DocumentModel comment)
Deprecated.
|
Constructor and Description |
---|
ThreadEntry(DocumentModel comment,
int depth) |
UIComment(UIComment parent,
DocumentModel docModel) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
ModerateCommentOperation.run(DocumentModel doc) |
DocumentModel |
ModerateCommentOperation.run(DocumentRef docRef) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
ModerateCommentOperation.run(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
void |
CommentsModerationServiceImpl.approveComent(CoreSession session,
DocumentModel doc,
String commentId) |
void |
CommentsModerationService.approveComent(CoreSession session,
DocumentModel document,
String commentId)
Approve the comment with the given commentId.
|
Task |
CommentsModerationServiceImpl.getModerationTask(TaskService taskService,
CoreSession session,
DocumentModel doc,
String commentId) |
void |
CommentsModerationServiceImpl.publishComment(CoreSession session,
DocumentModel comment) |
void |
CommentsModerationService.publishComment(CoreSession session,
DocumentModel comment)
Publish the given comment.
|
void |
CommentsModerationServiceImpl.rejectComment(CoreSession session,
DocumentModel doc,
String commentId) |
void |
CommentsModerationService.rejectComment(CoreSession session,
DocumentModel document,
String commentId)
Reject the comment with the given commentId.
|
void |
CommentsModerationServiceImpl.startModeration(CoreSession session,
DocumentModel doc,
String commentID,
ArrayList<String> moderators) |
void |
CommentsModerationService.startModeration(CoreSession session,
DocumentModel document,
String commentId,
ArrayList<String> moderators)
Starts the moderation process on given Comment posted on a documentModel.
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
UserManagerWithComputedGroups.getGroupModel(String groupName) |
Modifier and Type | Method and Description |
---|---|
DocumentModelList |
UserManagerWithComputedGroups.searchGroups(Map<String,Serializable> filter,
Set<String> fulltext,
DocumentModel context) |
Modifier and Type | Method and Description |
---|---|
void |
SimpleTemplateBasedRootFactory.createContentStructure(DocumentModel eventDoc) |
void |
SimpleTemplateBasedFactory.createContentStructure(DocumentModel eventDoc) |
void |
ImportBasedFactory.createContentStructure(DocumentModel eventDoc) |
Modifier and Type | Method and Description |
---|---|
void |
ContentFactory.createContentStructure(DocumentModel eventDoc) |
void |
ContentTemplateServiceImpl.executeFactoryForType(DocumentModel createdDocument) |
void |
ContentTemplateService.executeFactoryForType(DocumentModel createdDocument) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
ContentViewStateImpl.getSearchDocumentModel() |
DocumentModel |
ContentViewState.getSearchDocumentModel() |
DocumentModel |
ContentViewImpl.getSearchDocumentModel() |
DocumentModel |
ContentView.getSearchDocumentModel()
Returns the search document model as set on the content view.
|
Modifier and Type | Method and Description |
---|---|
PageProvider<?> |
ContentViewImpl.getPageProvider(DocumentModel searchDocument,
List<SortInfo> sortInfos,
Long pageSize,
Long currentPage,
Object... params)
Returns cached page provider if it exists or build a new one if
parameters have changed.
|
PageProvider<?> |
ContentView.getPageProvider(DocumentModel searchDocument,
List<SortInfo> sortInfos,
Long pageSize,
Long currentPage,
Object... params)
Gets page provider according to given parameters
|
PageProvider<?> |
ContentViewServiceImpl.getPageProvider(String name,
List<SortInfo> sortInfos,
Long pageSize,
Long currentPage,
DocumentModel searchDocument,
Object... parameters) |
PageProvider<?> |
ContentViewService.getPageProvider(String contentViewName,
List<SortInfo> sortInfos,
Long pageSize,
Long currentPage,
DocumentModel searchDocument,
Object... parameters)
Returns the page provider computed from the content view with given
name.
|
void |
ContentViewStateImpl.setSearchDocumentModel(DocumentModel searchDocument) |
void |
ContentViewState.setSearchDocumentModel(DocumentModel searchDocument) |
void |
ContentViewImpl.setSearchDocumentModel(DocumentModel searchDocumentModel) |
void |
ContentView.setSearchDocumentModel(DocumentModel doc)
Sets the search document model to be passed on the page provider, and
set it also on the current page provider if not null.
|
Modifier and Type | Method and Description |
---|---|
net.sf.json.JSONObject |
DocumentModelToJSON.run(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
ContentView |
ContentViewActions.getContentView(String name,
DocumentModel searchDocumentModel)
Returns content view with given name, or null if no content view with
this name is found.
|
ContentView |
ContentViewActions.getContentViewWithProvider(String name,
DocumentModel searchDocumentModel) |
ContentView |
ContentViewActions.getContentViewWithProvider(String name,
DocumentModel searchDocumentModel,
List<SortInfo> sortInfos,
Long pageSize,
Long currentPage) |
ContentView |
ContentViewActions.getContentViewWithProvider(String name,
DocumentModel searchDocumentModel,
List<SortInfo> sortInfos,
Long defaultPageSize,
Long pageSize,
Long currentPage) |
ContentView |
ContentViewActions.getContentViewWithProvider(String name,
DocumentModel searchDocumentModel,
List<SortInfo> sortInfos,
Long pageSize,
Long currentPage,
Object... params) |
Modifier and Type | Method and Description |
---|---|
void |
DublinCoreStorageService.addContributor(DocumentModel doc,
Event event) |
void |
DublinCoreStorageService.setCreationDate(DocumentModel doc,
Calendar creationDate,
Event event) |
void |
DublinCoreStorageService.setIssuedDate(DocumentModel doc,
Calendar issuedDate) |
void |
DublinCoreStorageService.setModificationDate(DocumentModel doc,
Calendar modificationDate,
Event event) |
Modifier and Type | Method and Description |
---|---|
void |
NotificationService.addSubscription(String username,
String notification,
DocumentModel doc,
Boolean sendConfirmationEmail,
NuxeoPrincipal principal,
String notificationName) |
void |
NotificationService.addSubscriptions(String username,
DocumentModel doc,
Boolean sendConfirmationEmail,
NuxeoPrincipal principal) |
void |
NotificationService.sendDocumentByMail(DocumentModel doc,
String freemarkerTemplateName,
String subject,
String comment,
NuxeoPrincipal sender,
List<String> sendTo) |
Constructor and Description |
---|
DocumentPropertyContext(DocumentModel doc,
String schema) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
FacetedSearchService.saveSearch(CoreSession session,
ContentView facetedSearchContentView,
String title)
Save the current Faceted search in the user workspace with the given
title.
|
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
FacetedSearchService.getCurrentUserSavedSearches(CoreSession session)
Returns the current user saved Faceted Searches, located into its own
user workspace.
|
List<DocumentModel> |
FacetedSearchService.getOtherUsersSavedSearches(CoreSession session)
Returns all the accessible saved Faceted Searches except the ones for the
current user.
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
FacetedSearchService.getContentViewNames(DocumentModel doc)
Returns the list of Content view names associated to a Faceted Search and
depending of a local configuration.
|
Modifier and Type | Method and Description |
---|---|
static DocumentModel |
JSONMetadataHelper.setPropertiesFromJson(DocumentModel doc,
String json) |
Modifier and Type | Method and Description |
---|---|
org.json.JSONObject |
JSONMetadataExporter.run(DocumentModel doc) |
static DocumentModel |
JSONMetadataHelper.setPropertiesFromJson(DocumentModel doc,
String json) |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
FacetedSearchActions.getCurrentUserSavedSearches() |
List<DocumentModel> |
FacetedSearchActions.getOtherUsersSavedSearches() |
Modifier and Type | Method and Description |
---|---|
Set<ContentViewHeader> |
FacetedSearchConfigurationActions.getNotSelectedContentViewHeaders(DocumentModel document)
Return a set of String naming the faceted search not currently selected
for the domain passed as parameter
|
Set<ContentViewHeader> |
FacetedSearchConfigurationActions.getSelectedContentViewHeaders(DocumentModel document)
Return a set of String naming the faceted search allowed for the domain
passed as parameter
|
void |
FacetedSearchActions.loadSavedSearch(String contentViewName,
DocumentModel searchDocument) |
Modifier and Type | Method and Description |
---|---|
Object |
FacetedSearchConfigurationFactory.getAdapter(DocumentModel doc,
Class<?> itf) |
Constructor and Description |
---|
FacetedSearchConfigurationAdapter(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
FacetedSearchServiceImpl.saveSearch(CoreSession session,
ContentView facetedSearchContentView,
String title) |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
FacetedSearchServiceImpl.getCurrentUserSavedSearches(CoreSession session) |
List<DocumentModel> |
FacetedSearchServiceImpl.getOtherUsersSavedSearches(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
FacetedSearchServiceImpl.getContentViewNames(DocumentModel currentDoc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
FileManager.createDocumentFromBlob(CoreSession documentManager,
Blob input,
String path,
boolean overwrite,
String fullName)
Returns an initialized doc based on a given blob.
|
DocumentModel |
FileManager.createFolder(CoreSession documentManager,
String fullname,
String path)
Creates a Folder.
|
DocumentModel |
FileManager.updateDocumentFromBlob(CoreSession documentManager,
Blob input,
String path,
String fullName)
Just applies the same actions as creation but does not changes the doc
type.
|
Modifier and Type | Method and Description |
---|---|
void |
MimetypeIconUpdater.recursivelyUpdateBlobs(DocumentModel doc,
MimetypeRegistry mimetypeService,
Iterator<Property> dirtyChildren)
Deprecated.
now we use
BlobsExtractor that cache path fields. |
void |
MimetypeIconUpdater.setDefaultIcon(DocumentModel doc)
If the icon field is empty, initialize it to the document type icon
|
void |
MimetypeIconUpdater.updateBlobProperty(DocumentModel doc,
MimetypeRegistry mimetypeService,
Property dirtyProperty)
Update the mimetype of a blob along with the icon and size fields of the
document if the blob is the main blob of the document.
|
void |
MimetypeIconUpdater.updateFilename(DocumentModel doc)
Backward compatibility for external filename field: if edited, it might
affect the main blob mimetype
|
void |
MimetypeIconUpdater.updateIconField(MimetypeEntry mimetypeEntry,
DocumentModel doc)
Compute the main icon of a Nuxeo document based on the mimetype of the
main attached blob with of fallback on the document type generic icon.
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
FileManagerService.createDocumentFromBlob(CoreSession documentManager,
Blob input,
String path,
boolean overwrite,
String fullName) |
DocumentModel |
FileManagerService.createFolder(CoreSession documentManager,
String fullname,
String path) |
DocumentModel |
FileManagerService.defaultCreateFolder(CoreSession documentManager,
String fullname,
String path) |
DocumentModel |
FileManagerService.defaultCreateFolder(CoreSession documentManager,
String fullname,
String path,
String containerTypeName,
boolean checkAllowedSubTypes) |
DocumentModel |
FileManagerService.updateDocumentFromBlob(CoreSession documentManager,
Blob input,
String path,
String fullName) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
FileImporter.create(CoreSession documentManager,
Blob content,
String path,
boolean overwrite,
String filename,
TypeManager typeService)
Creates the document.
|
DocumentModel |
ExportedZipImporter.create(CoreSession documentManager,
Blob content,
String path,
boolean overwrite,
String filename,
TypeManager typeService) |
DocumentModel |
CSVZipImporter.create(CoreSession documentManager,
Blob content,
String path,
boolean overwrite,
String filename,
TypeManager typeService) |
DocumentModel |
AbstractFileImporter.create(CoreSession session,
Blob content,
String path,
boolean overwrite,
String fullname,
TypeManager typeService) |
DocumentModel |
FolderImporter.create(CoreSession documentManager,
String fullname,
String path,
boolean overwrite,
TypeManager typeManager) |
DocumentModel |
AbstractFolderImporter.create(CoreSession documentManager,
String fullname,
String path,
boolean overwrite,
TypeManager typeManager) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractFileImporter.createDocument(DocumentModel doc,
Blob content,
String title)
Creates the document (sets its properties).
|
Blob |
AbstractFileImporter.getBlob(DocumentModel doc) |
String |
DefaultFileImporter.getDocType(DocumentModel container) |
String |
AbstractFileImporter.getDocType(DocumentModel container)
Gets the doc type to use in the given container.
|
static String |
DefaultFileImporter.getTypeName(DocumentModel currentDoc) |
void |
NoteImporter.updateDocument(DocumentModel doc,
Blob content) |
void |
AbstractFileImporter.updateDocument(DocumentModel doc,
Blob content)
Updates the document (sets its properties).
|
Modifier and Type | Method and Description |
---|---|
static DocumentModel |
FileManagerUtils.getExistingDocByFileName(CoreSession documentManager,
String path,
String filename)
Looks if an existing Document with the same filename exists.
|
static DocumentModel |
FileManagerUtils.getExistingDocByPropertyName(CoreSession documentManager,
String path,
String value,
String propertyName)
Looks if an existing Document has the same value for a given property.
|
static DocumentModel |
FileManagerUtils.getExistingDocByTitle(CoreSession documentManager,
String path,
String title)
Looks if an existing Document with the same title exists.
|
Modifier and Type | Method and Description |
---|---|
void |
DemoFolderTemplateFactory.createContentStructure(DocumentModel eventDoc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
LayoutDemoContext.getBareDemoDocument() |
DocumentModel |
LayoutDemoActions.getDemoDocument() |
DocumentModel |
LayoutDemoContext.getPreviewDocument() |
Modifier and Type | Method and Description |
---|---|
PageSelections<DocumentModel> |
LayoutDemoContext.getDemoDocuments() |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
ThreadActionBean.getLastPostPublished(DocumentModel thread) |
DocumentModel |
ThreadActionBean.getParentPost(int post) |
DocumentModel |
PostActionBean.getParentThread() |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
ThreadActionBean.getAllPosts(DocumentModel thread,
String state) |
List<DocumentModel> |
ThreadActionBean.getPostsPending(DocumentModel thread) |
List<DocumentModel> |
ThreadActionBean.getPostsPublished(DocumentModel thread) |
Modifier and Type | Method and Description |
---|---|
String |
PostActionBean.approvePost(DocumentModel post)
Ends the task on a post.
|
ThreadAdapter |
ThreadActionBean.getAdapter(DocumentModel thread) |
List<DocumentModel> |
ThreadActionBean.getAllPosts(DocumentModel thread,
String state) |
DocumentModel |
ThreadActionBean.getLastPostPublished(DocumentModel thread) |
String |
ThreadActionBean.getModerationAsString(DocumentModel thread) |
List<DocumentModel> |
ThreadActionBean.getPostsPending(DocumentModel thread) |
List<DocumentModel> |
ThreadActionBean.getPostsPublished(DocumentModel thread) |
boolean |
PostActionBean.isPostPublished(DocumentModel post) |
boolean |
ThreadActionBean.isThreadModerated(DocumentModel thread) |
String |
PostActionBean.rejectPost(DocumentModel post) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
ThreadAction.getLastPostPublished(DocumentModel thread)
Gets the latest post published in given thread.
|
DocumentModel |
ThreadAdapterImpl.getLastPublishedPost() |
DocumentModel |
ThreadAdapter.getLastPublishedPost() |
DocumentModel |
ThreadAction.getParentPost(int post)
Return the parent post of the specified index of the post in the
getPostsAsThread() list.
|
DocumentModel |
PostAction.getParentThread()
Gets the Thread in which the Post is.
|
DocumentModel |
ThreadAdapterImpl.getThreadDoc() |
DocumentModel |
ThreadAdapter.getThreadDoc() |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
ThreadAdapterImpl.getAllPosts() |
List<DocumentModel> |
ThreadAdapter.getAllPosts() |
List<DocumentModel> |
ThreadAction.getAllPosts(DocumentModel thread,
String state)
Gets all Posts in the Thread with the specified state.
|
List<DocumentModel> |
ThreadAdapterImpl.getPendingPosts() |
List<DocumentModel> |
ThreadAdapter.getPendingPosts() |
List<DocumentModel> |
ThreadAction.getPostsPending(DocumentModel thread)
Gets pending posts in a thread.
|
List<DocumentModel> |
ThreadAction.getPostsPublished(DocumentModel thread)
Gets published posts in a thread.
|
List<DocumentModel> |
ThreadAdapterImpl.getPublishedPosts() |
List<DocumentModel> |
ThreadAdapter.getPublishedPosts() |
Modifier and Type | Method and Description |
---|---|
String |
PostAction.approvePost(DocumentModel post) |
ThreadAdapter |
ThreadAction.getAdapter(DocumentModel thread) |
Object |
ThreadAdapterFactory.getAdapter(DocumentModel doc,
Class itf) |
List<DocumentModel> |
ThreadAction.getAllPosts(DocumentModel thread,
String state)
Gets all Posts in the Thread with the specified state.
|
DocumentModel |
ThreadAction.getLastPostPublished(DocumentModel thread)
Gets the latest post published in given thread.
|
String |
ThreadAction.getModerationAsString(DocumentModel thread)
Return the label of the moderation state of the thread
|
List<DocumentModel> |
ThreadAction.getPostsPending(DocumentModel thread)
Gets pending posts in a thread.
|
List<DocumentModel> |
ThreadAction.getPostsPublished(DocumentModel thread)
Gets published posts in a thread.
|
boolean |
PostAction.isPostPublished(DocumentModel post)
Returns true if the post is published, false otherwise.
|
boolean |
ThreadAction.isThreadModerated(DocumentModel thread)
Returns true if the given thread is moderated, false otherwise.
|
String |
PostAction.rejectPost(DocumentModel post) |
Constructor and Description |
---|
ThreadAdapterImpl(DocumentModel threadDoc) |
Modifier and Type | Method and Description |
---|---|
void |
AclExcelLayoutBuilder.renderAudit(CoreSession session,
DocumentModel doc) |
void |
IAclExcelLayoutBuilder.renderAudit(CoreSession session,
DocumentModel doc)
Analyze and render an ACL audit for the complete document tree in
unrestricted mode.
|
void |
AclExcelLayoutBuilder.renderAudit(CoreSession session,
DocumentModel doc,
boolean unrestricted) |
void |
IAclExcelLayoutBuilder.renderAudit(CoreSession session,
DocumentModel doc,
boolean unrestricted)
Analyze and render an ACL audit for the input document and its children.
|
void |
AclExcelLayoutBuilder.renderAudit(CoreSession session,
DocumentModel doc,
boolean unrestricted,
int timeout) |
void |
IAclExcelLayoutBuilder.renderAudit(CoreSession session,
DocumentModel doc,
boolean unrestricted,
int timeout) |
Modifier and Type | Method and Description |
---|---|
PageProvider<DocumentModel> |
DataFetch.getAllChildrenPaginated(CoreSession session,
DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
void |
IDataProcessor.analyze(CoreSession session,
DocumentModel doc,
int timeout) |
void |
DataProcessor.analyze(CoreSession session,
DocumentModel doc,
int timeout) |
void |
DataProcessorRecursive.analyze(CoreSession session,
DocumentModel doc,
int timeout)
.
|
com.google.common.collect.Multimap<String,Pair<String,Boolean>> |
AclSummaryExtractor.getAclInheritedByUser(DocumentModel doc) |
com.google.common.collect.Multimap<String,Pair<String,Boolean>> |
AclSummaryExtractor.getAclLocalByUser(DocumentModel doc) |
Pair<HashSet<String>,HashSet<String>> |
AclSummaryExtractor.getAclSummary(DocumentModel doc)
Return the set of users and permissions mentionned in this document's
ACLs.
|
com.google.common.collect.Multimap<String,Pair<String,Boolean>> |
AclSummaryExtractor.getAllAclByUser(DocumentModel doc)
Return a compact version of a document ACLs, e.g.:
user1 -> [(READ,true), (WRITE,false), (ADD_CHILDREN,false), ...]
user2 -> [(READ,true), (WRITE,true), (ADD_CHILDREN,true), ...]
Remark: content might be ignored according to the policy implemented by
IContentFilter . |
DocumentModelList |
DataFetch.getAllChildren(CoreSession session,
DocumentModel doc) |
PageProvider<DocumentModel> |
DataFetch.getAllChildrenPaginated(CoreSession session,
DocumentModel doc) |
CoreQueryDocumentPageProvider |
DataFetch.getAllChildrenPaginated(CoreSession session,
DocumentModel doc,
long pageSize,
boolean orderByPath) |
String |
DataFetch.getChildrenDocQuery(DocumentModel doc,
boolean ordered) |
boolean |
AclSummaryExtractor.hasLockInheritanceACE(DocumentModel doc)
Returns true if this document owns an ACE locking inheritance
Remark: content might be ignored according to the policy implemented by
IContentFilter . |
void |
AclSummaryExtractor.printAce(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
void |
HtmlSanitizerServiceImpl.sanitizeDocument(DocumentModel doc) |
void |
HtmlSanitizerService.sanitizeDocument(DocumentModel doc)
Sanitizes a document's fields, depending on the service configuration.
|
Modifier and Type | Method and Description |
---|---|
String |
ImportExportActionBean.getExportURL(DocumentModel doc,
boolean exportAsZip,
boolean exportAsTree)
Returns the REST URL for export of given document.
|
Modifier and Type | Method and Description |
---|---|
static void |
ImportExportActionBean.export(List<DocumentModel> docList) |
Constructor and Description |
---|
DocumentModelListReader(List<DocumentModel> docs) |
Modifier and Type | Method and Description |
---|---|
Object |
SimpleConfigurationFactory.getAdapter(DocumentModel doc,
Class<?> itf) |
Constructor and Description |
---|
SimpleConfigurationAdapter(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
SetSimpleConfigurationParameterAsVar.run(DocumentModel doc) |
DocumentModel |
PutSimpleConfigurationParameters.run(DocumentModel doc) |
DocumentModel |
PutSimpleConfigurationParameter.run(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
SetSimpleConfigurationParameterAsVar.run(DocumentModel doc) |
DocumentModel |
PutSimpleConfigurationParameters.run(DocumentModel doc) |
DocumentModel |
PutSimpleConfigurationParameter.run(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
List<Type> |
UITypesConfigurationActions.getNotSelectedTypes(DocumentModel document)
Returns a List of type not selected for the domain given as parameter
|
List<Type> |
UITypesConfigurationActions.getSelectedTypes(DocumentModel document)
Returns a List of type selected for the domain given as parameter
|
List<Type> |
UITypesConfigurationActions.getTypesWithSchemaFile(DocumentModel document)
Returns a List of Document Types associated with Schema file for the
domain given as parameter, if they're allowed for it.
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
DeputyManager.newMandate(String username,
String deputy) |
DocumentModel |
DeputyManagementStorageService.newMandate(String username,
String deputy) |
DocumentModel |
DeputyManager.newMandate(String username,
String deputy,
Calendar start,
Calendar end) |
DocumentModel |
DeputyManagementStorageService.newMandate(String username,
String deputy,
Calendar start,
Calendar end) |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
DeputyManager.getAvalaibleMandates(String userName) |
List<DocumentModel> |
DeputyManagementStorageService.getAvalaibleMandates(String userName) |
Modifier and Type | Method and Description |
---|---|
void |
DeputyManager.addMandate(DocumentModel entry) |
void |
DeputyManagementStorageService.addMandate(DocumentModel entry) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
DeputyActionsBean.getEditableDeputy() |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
DeputyActionsBean.getUserDeputies() |
Modifier and Type | Method and Description |
---|---|
BlobHolder |
MailMessageBlobHolderfactory.getBlobHolder(DocumentModel doc) |
Constructor and Description |
---|
MailMessageBlobHolder(DocumentModel doc,
String xPath,
String xPathFilename) |
Modifier and Type | Method and Description |
---|---|
static void |
MailCoreHelper.checkMail(DocumentModel currentMailFolder,
CoreSession coreSession)
Creates MailMessage documents for every unread mail found in the INBOX.
|
Modifier and Type | Method and Description |
---|---|
void |
NotificationManager.addSubscription(String username,
String notification,
DocumentModel doc,
Boolean sendConfirmationEmail,
NuxeoPrincipal principal,
String notificationName)
Called when a user subscribes to a notification.
|
void |
NotificationManager.addSubscriptions(String username,
DocumentModel doc,
Boolean sendConfirmationEmail,
NuxeoPrincipal principal) |
void |
NotificationManager.sendDocumentByMail(DocumentModel doc,
String freemarkerTemplateName,
String subject,
String comment,
NuxeoPrincipal sender,
List<String> sendTo)
Sends an e-mail directly.
|
Modifier and Type | Method and Description |
---|---|
static NuxeoOAuthConsumer |
NuxeoOAuthConsumer.createFromDirectoryEntry(DocumentModel entry,
String keyType) |
Modifier and Type | Method and Description |
---|---|
static NuxeoOAuthServiceProvider |
NuxeoOAuthServiceProvider.createFromDirectoryEntry(DocumentModel entry) |
Modifier and Type | Method and Description |
---|---|
void |
NuxeoOAuthToken.updateEntry(DocumentModel entry) |
Constructor and Description |
---|
NuxeoOAuthToken(DocumentModel entry) |
Modifier and Type | Method and Description |
---|---|
static NuxeoOAuth2ServiceProvider |
NuxeoOAuth2ServiceProvider.createFromDirectoryEntry(DocumentModel entry) |
Modifier and Type | Method and Description |
---|---|
void |
NuxeoOAuth2Token.updateEntry(DocumentModel entry) |
Constructor and Description |
---|
NuxeoOAuth2Token(DocumentModel entry) |
Modifier and Type | Method and Description |
---|---|
Object |
PictureResourceAdapterFactory.getAdapter(DocumentModel doc,
Class cls) |
Object |
MultiviewPictureAdapterFactory.getAdapter(DocumentModel doc,
Class itf) |
Object |
NoPictureResourceAdapterFactory.getAdapter(DocumentModel doc,
Class<?> cls) |
BlobHolder |
PictureBlobHolderFactory.getBlobHolder(DocumentModel doc) |
void |
PictureResourceAdapter.setDocumentModel(DocumentModel doc) |
void |
AbstractPictureAdapter.setDocumentModel(DocumentModel doc) |
Constructor and Description |
---|
MultiviewPictureAdapter(DocumentModel docModel) |
PictureBlobHolder(DocumentModel doc,
String path) |
PictureBookBlobHolder(DocumentModel doc,
String xPath) |
Modifier and Type | Method and Description |
---|---|
void |
ImagePlugin.updateDocument(DocumentModel doc,
Blob content) |
Modifier and Type | Method and Description |
---|---|
HtmlPreviewAdapter |
PicturePreviewAdapterFactory.getAdapter(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
Blob |
ThumbnailPictureFactory.computeThumbnail(DocumentModel doc,
CoreSession session) |
Blob |
ThumbnailPictureFactory.getThumbnail(DocumentModel doc,
CoreSession session) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
SlideShowManagerBean.
|