Modifier and Type | Method and Description |
---|---|
DocumentModel |
BaseNuxeoArtifactDocAdapter.getDoc() |
Modifier and Type | Method and Description |
---|---|
Object |
AdapterFactory.getAdapter(DocumentModel doc,
Class<?> adapterClass) |
Constructor and Description |
---|
BundleGroupDocAdapter(DocumentModel doc) |
BundleInfoDocAdapter(DocumentModel doc) |
ComponentInfoDocAdapter(DocumentModel doc) |
ExtensionInfoDocAdapter(DocumentModel doc) |
ExtensionPointInfoDocAdapter(DocumentModel doc) |
ServiceInfoDocAdapter(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
static String |
QueryHelper.select(String type,
DocumentModel doc)
SELECT * FROM type WHERE ecm:path STARTSWITH doc.getPathAsString()
|
static String |
QueryHelper.select(String type,
DocumentModel doc,
String prop,
String value)
SELECT * FROM type WHERE ecm:path STARTSWITH doc.getPathAsString AND prop
= value
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
DocumentationItemDocAdapter.getDocumentModel() |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
DocumentationComponent.findDocumentModelVariants(CoreSession session,
DocumentationItem item) |
Constructor and Description |
---|
DocumentationItemDocAdapter(DocumentModel doc) |
Constructor and Description |
---|
DocumentModelListReader(List<DocumentModel> docs) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
SnapshotPersister.getDistributionRoot(CoreSession session) |
DocumentModel |
SnapshotPersister.getSubRoot(CoreSession session,
DocumentModel root,
String name) |
Constructor and Description |
---|
RepositoryDistributionSnapshot(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
SnapshotManagerComponent.importTmpSnapshot(CoreSession session,
InputStream is) |
DocumentModel |
SnapshotManager.importTmpSnapshot(CoreSession session,
InputStream is) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
BoxAdapter.getDoc() |
Modifier and Type | Method and Description |
---|---|
Object |
BoxAdapterFactory.getAdapter(DocumentModel doc,
Class<?> itf) |
Constructor and Description |
---|
BoxAdapter(DocumentModel doc) |
Constructor and Description |
---|
BoxCommentAdapter(DocumentModel doc)
Instantiate the adapter and the Box Comment from Nuxeo Document and
load its properties into json format
|
Constructor and Description |
---|
BoxFileAdapter(DocumentModel doc)
Instantiate the adapter and the Box File from Nuxeo Document and
load its properties into json format
|
Constructor and Description |
---|
BoxFolderAdapter(DocumentModel doc)
Instantiate the adapter and the Box Folder from Nuxeo Document and
load its properties into json format
|
Modifier and Type | Method and Description |
---|---|
String |
BoxServiceImpl.getBoxEtag(DocumentModel doc) |
String |
BoxService.getBoxEtag(DocumentModel doc) |
String |
BoxServiceImpl.getBoxId(DocumentModel doc)
Helpers to get Ids for sequence, etag and id itself.
|
String |
BoxService.getBoxId(DocumentModel doc) |
String |
BoxServiceImpl.getBoxName(DocumentModel doc) |
String |
BoxService.getBoxName(DocumentModel doc) |
String |
BoxServiceImpl.getBoxSequenceId(DocumentModel doc) |
String |
BoxService.getBoxSequenceId(DocumentModel doc) |
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 |
---|
CollectionSyncRootFolderItem(String factoryName,
FolderItem parentItem,
DocumentModel doc) |
DefaultSyncRootFolderItem(String factoryName,
FolderItem parentItem,
DocumentModel doc) |
DocumentBackedFileItem(VersioningFileSystemItemFactory factory,
DocumentModel doc) |
DocumentBackedFileItem(VersioningFileSystemItemFactory factory,
DocumentModel doc,
boolean relaxSyncRootConstraint) |
DocumentBackedFileItem(VersioningFileSystemItemFactory factory,
FolderItem parentItem,
DocumentModel doc) |
DocumentBackedFolderItem(String factoryName,
DocumentModel doc) |
DocumentBackedFolderItem(String factoryName,
DocumentModel doc,
boolean relaxSyncRootConstraint) |
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) . |
FileSystemItem |
UserSyncRootParentFactory.getFileSystemItem(DocumentModel doc,
boolean includeDeleted,
boolean relaxSyncRootConstraint) |
boolean |
UserSyncRootParentFactory.isFileSystemItem(DocumentModel doc,
boolean includeDeleted,
boolean relaxSyncRootConstraint) |
boolean |
PermissionSyncRootFactory.isFileSystemItem(DocumentModel doc,
boolean includeDeleted,
boolean relaxSyncRootConstraint)
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,
boolean relaxSyncRootConstraint) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
NuxeoDriveAddToLocallyEditedCollection.run(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
NuxeoDriveAddToLocallyEditedCollection.run(DocumentModel doc) |
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 |
---|---|
boolean |
NuxeoDriveActions.canEditDocument(DocumentModel doc) |
void |
NuxeoDriveActions.unsynchronizeRoot(DocumentModel syncRoot) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
FileSystemItemFactory.getDocumentByFileSystemId(String id,
Principal principal)
Gets the
DocumentModel bound to the given FileSystemItem
id using a core session fetched with the given principal. |
Modifier and Type | Method and Description |
---|---|
void |
NuxeoDriveManager.addToLocallyEditedCollection(CoreSession session,
DocumentModel doc)
Adds the given
DocumentModel to the
NuxeoDriveManager.LOCALLY_EDITED_COLLECTION_NAME collection. |
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,
boolean includeDeleted,
boolean relaxSyncRootConstraint)
Gets the
FileSystemItem for the given DocumentModel . |
FileSystemItem |
FileSystemItemAdapterService.getFileSystemItem(DocumentModel doc,
boolean includeDeleted,
boolean relaxSyncRootConstraint)
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. |
FileSystemItem |
FileSystemItemFactory.getFileSystemItem(DocumentModel doc,
FolderItem parentItem,
boolean includeDeleted,
boolean relaxSyncRootConstraint)
Gets the
FileSystemItem for the given DocumentModel
forcing its parent id with the given id. |
FileSystemItem |
FileSystemItemAdapterService.getFileSystemItem(DocumentModel doc,
FolderItem parentItem,
boolean includeDeleted,
boolean relaxSyncRootConstraint)
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 |
FileSystemItemFactory.isFileSystemItem(DocumentModel doc,
boolean includeDeleted,
boolean relaxSyncRootConstraint)
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 |
---|---|
DocumentModel |
AbstractVirtualFolderItemFactory.getDocumentByFileSystemId(String id,
Principal principal) |
DocumentModel |
AbstractFileSystemItemFactory.getDocumentByFileSystemId(String id,
Principal principal) |
Modifier and Type | Method and Description |
---|---|
void |
NuxeoDriveManagerImpl.addToLocallyEditedCollection(CoreSession session,
DocumentModel doc) |
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,
boolean includeDeleted,
boolean relaxSyncRootConstraint) |
FileSystemItem |
AbstractVirtualFolderItemFactory.getFileSystemItem(DocumentModel doc,
boolean includeDeleted,
boolean relaxSyncRootConstraint) |
FileSystemItem |
AbstractSyncRootFolderItemFactory.getFileSystemItem(DocumentModel doc,
boolean includeDeleted,
boolean relaxSyncRootConstraint)
Force parent id using
#getParentId(String) . |
FileSystemItem |
AbstractFileSystemItemFactory.getFileSystemItem(DocumentModel doc,
boolean includeDeleted,
boolean relaxSyncRootConstraint) |
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) |
FileSystemItem |
FileSystemItemAdapterServiceImpl.getFileSystemItem(DocumentModel doc,
FolderItem parentItem,
boolean includeDeleted,
boolean relaxSyncRootConstraint) |
FileSystemItem |
AbstractVirtualFolderItemFactory.getFileSystemItem(DocumentModel doc,
FolderItem parentItem,
boolean includeDeleted,
boolean relaxSyncRootConstraint) |
FileSystemItem |
AbstractFileSystemItemFactory.getFileSystemItem(DocumentModel doc,
FolderItem parentItem,
boolean includeDeleted,
boolean relaxSyncRootConstraint) |
boolean |
AbstractVirtualFolderItemFactory.isFileSystemItem(DocumentModel doc) |
boolean |
AbstractFileSystemItemFactory.isFileSystemItem(DocumentModel doc) |
boolean |
AbstractVirtualFolderItemFactory.isFileSystemItem(DocumentModel doc,
boolean includeDeleted) |
boolean |
AbstractFileSystemItemFactory.isFileSystemItem(DocumentModel doc,
boolean includeDeleted) |
boolean |
DefaultFileSystemItemFactory.isFileSystemItem(DocumentModel doc,
boolean includeDeleted,
boolean relaxSyncRootConstraint)
The default factory considers that a
DocumentModel is adaptable
as a FileSystemItem if:
It is not a version nor a proxy nor a rendition
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
AND it is not a synchronization root registered for the current user,
unless relaxSyncRootConstraint is true
|
boolean |
CollectionSyncRootFolderItemFactory.isFileSystemItem(DocumentModel doc,
boolean includeDeleted,
boolean relaxSyncRootConstraint)
The factory considers that a
DocumentModel is adaptable as a
FileSystemItem if:
It is a Collection
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,
unless relaxSyncRootConstraint is true
|
boolean |
AbstractVirtualFolderItemFactory.isFileSystemItem(DocumentModel doc,
boolean includeDeleted,
boolean relaxSyncRootConstraint) |
boolean |
AbstractSyncRootFolderItemFactory.isFileSystemItem(DocumentModel doc,
boolean includeDeleted,
boolean relaxSyncRootConstraint)
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,
unless relaxSyncRootConstraint is true
|
abstract boolean |
AbstractFileSystemItemFactory.isFileSystemItem(DocumentModel doc,
boolean includeDeleted,
boolean relaxSyncRootConstraint) |
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 |
---|---|
String |
EasyShare.getFileName(DocumentModel doc) |
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 |
AgendaComponent.createEvent(CoreSession session,
String path,
Map<String,Serializable> properties) |
DocumentModel |
AgendaService.createEvent(CoreSession session,
String path,
Map<String,Serializable> properties)
Create a new Event document to the specific path.
|
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) |
Constructor and Description |
---|
MailBox(DocumentModel user,
boolean isStrict) |
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.setJSONProperties(CoreSession session,
DocumentModel doc,
Properties properties)
Sets the properties of a document based on their JSON representation
(especially for scalar lists).
|
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) |
static void |
DocumentHelper.setProperty(CoreSession session,
DocumentModel doc,
String key,
String value,
boolean decodeStringListAsJSON) |
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,
javax.ws.rs.core.HttpHeaders headers,
javax.servlet.ServletRequest request)
Creates the evaluation context.
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
JSONDocumentModelReader.readFrom(Class<DocumentModel> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
static DocumentModel |
JSONDocumentModelReader.readJson(org.codehaus.jackson.JsonParser jp,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
javax.servlet.http.HttpServletRequest request) |
Modifier and Type | Method and Description |
---|---|
PageProvider<DocumentModel> |
PaginableDocumentModelListImpl.getProvider() |
Modifier and Type | Method and Description |
---|---|
static void |
JSONDocumentModelReader.applyPropertyValues(DocumentModel src,
DocumentModel dst) |
long |
JsonDocumentWriter.getSize(DocumentModel arg0,
Class<?> arg1,
Type arg2,
Annotation[] arg3,
javax.ws.rs.core.MediaType arg4) |
static void |
JsonESDocumentWriter.writeDoc(org.codehaus.jackson.JsonGenerator jg,
DocumentModel doc,
String[] schemas,
Map<String,String> contextParameters,
javax.ws.rs.core.HttpHeaders headers) |
static void |
JsonDocumentWriter.writeDocument(org.codehaus.jackson.JsonGenerator jg,
DocumentModel doc,
String[] schemas,
Map<String,String> contextParameters,
javax.ws.rs.core.HttpHeaders headers,
javax.servlet.ServletRequest request) |
static void |
JsonDocumentWriter.writeDocument(org.codehaus.jackson.JsonGenerator jg,
DocumentModel doc,
String[] schemas,
Map<String,String> contextParameters,
javax.servlet.ServletRequest request) |
static void |
JsonDocumentWriter.writeDocument(org.codehaus.jackson.JsonGenerator jg,
DocumentModel doc,
String[] schemas,
javax.servlet.ServletRequest request) |
void |
JsonDocumentWriter.writeDocument(OutputStream out,
DocumentModel doc,
String[] schemas) |
void |
JsonESDocumentWriter.writeDocument(OutputStream out,
DocumentModel doc,
String[] schemas,
Map<String,String> contextParameters) |
void |
JsonDocumentWriter.writeDocument(OutputStream out,
DocumentModel doc,
String[] schemas,
Map<String,String> contextParameters) |
static void |
JsonESDocumentWriter.writeESDocument(org.codehaus.jackson.JsonGenerator jg,
DocumentModel doc,
String[] schemas,
Map<String,String> contextParameters) |
void |
JsonDocumentWriter.writeTo(DocumentModel doc,
Class<?> arg1,
Type arg2,
Annotation[] arg3,
javax.ws.rs.core.MediaType arg4,
javax.ws.rs.core.MultivaluedMap<String,Object> arg5,
OutputStream out) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
JSONDocumentModelReader.readFrom(Class<DocumentModel> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
void |
JsonESDocumentListWriter.writeDocs(org.codehaus.jackson.JsonGenerator jg,
List<DocumentModel> docs,
String[] schemas) |
void |
JsonESDocumentListWriter.writeDocs(org.codehaus.jackson.JsonGenerator jg,
List<DocumentModel> docs,
String[] schemas,
javax.ws.rs.core.HttpHeaders headers) |
static void |
JsonDocumentListWriter.writeDocuments(org.codehaus.jackson.JsonGenerator jg,
List<DocumentModel> docs,
String[] schemas,
javax.ws.rs.core.HttpHeaders headers,
javax.servlet.ServletRequest request) |
static void |
JsonDocumentListWriter.writeDocuments(org.codehaus.jackson.JsonGenerator jg,
List<DocumentModel> docs,
String[] schemas,
javax.servlet.ServletRequest request) |
void |
JsonESDocumentListWriter.writeDocuments(OutputStream out,
List<DocumentModel> docs,
String[] schemas) |
void |
JsonDocumentListWriter.writeDocuments(OutputStream out,
List<DocumentModel> docs,
String[] schemas) |
void |
JsonESDocumentListWriter.writeDocuments(OutputStream out,
List<DocumentModel> docs,
String[] schemas,
javax.ws.rs.core.HttpHeaders headers) |
void |
JsonDocumentListWriter.writeDocuments(OutputStream out,
List<DocumentModel> docs,
String[] schemas,
javax.ws.rs.core.HttpHeaders headers) |
void |
JsonDocumentListWriter.writeTo(List<DocumentModel> docs,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.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 |
---|---|
DocumentModel |
CollectionManager.createCollection(CoreSession session,
String title,
String description,
String path)
Create a collection with a given name, description and path.
|
DocumentModel |
FavoritesManager.getFavorites(DocumentModel context,
CoreSession session) |
DocumentModel |
CollectionManager.getUserDefaultCollections(DocumentModel context,
CoreSession session)
Get user collections root document.
|
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
CollectionManager.getVisibleCollection(DocumentModel collectionMember,
CoreSession session)
Get the list of collection of a document.
|
List<DocumentModel> |
CollectionManager.getVisibleCollection(DocumentModel collectionMember,
int maxResult,
CoreSession session)
Get the list of collection of a document.
|
Modifier and Type | Method and Description |
---|---|
void |
CollectionManager.addToCollection(DocumentModel collection,
DocumentModel documentToBeAdded,
CoreSession session)
Add a document to a collection.
|
void |
CollectionManager.addToCollection(DocumentModel collection,
List<DocumentModel> documentListToBeAdded,
CoreSession session)
Add a list of document to a collection.
|
void |
FavoritesManager.addToFavorites(DocumentModel document,
CoreSession session) |
void |
CollectionManager.addToNewCollection(String newTitle,
String newDescription,
DocumentModel documentToBeAdded,
CoreSession session)
Add a document to a new collection.
|
boolean |
CollectionManager.canAddToCollection(DocumentModel collection,
CoreSession session)
Check that a document is a collection and that the given core session has
permission to add document inside.
|
boolean |
FavoritesManager.canAddToFavorites(DocumentModel document) |
boolean |
CollectionManager.canManage(DocumentModel collection,
CoreSession session)
Check that the given core session has permission to manage the
collection.
|
void |
CollectionManager.doRemoveFromCollection(DocumentModel documentToBeRemoved,
String collectionId,
CoreSession session) |
DocumentModel |
FavoritesManager.getFavorites(DocumentModel context,
CoreSession session) |
DocumentModel |
CollectionManager.getUserDefaultCollections(DocumentModel context,
CoreSession session)
Get user collections root document.
|
List<DocumentModel> |
CollectionManager.getVisibleCollection(DocumentModel collectionMember,
CoreSession session)
Get the list of collection of a document.
|
List<DocumentModel> |
CollectionManager.getVisibleCollection(DocumentModel collectionMember,
int maxResult,
CoreSession session)
Get the list of collection of a document.
|
boolean |
CollectionManager.hasVisibleCollection(DocumentModel collectionMember,
CoreSession session)
Check that the given core session has READ permission on at least one
collection of the given document.
|
boolean |
CollectionManager.isCollectable(DocumentModel document)
Check that a document can be added to a collection.
|
boolean |
CollectionManager.isCollected(DocumentModel document)
Check that a document has already been added to a collection.
|
boolean |
CollectionManager.isCollection(DocumentModel document)
Check that a document is a collection.
|
boolean |
FavoritesManager.isFavorite(DocumentModel document,
CoreSession session) |
boolean |
CollectionManager.isInCollection(DocumentModel collection,
DocumentModel document,
CoreSession session)
Check whether a document is in a given collection.
|
void |
CollectionManager.processCopiedCollection(DocumentModel collection)
Update all documents referenced by a collection to add a reference back
the collection.
|
void |
CollectionManager.processRemovedCollection(DocumentModel collection)
Update all documents referenced by a collection to remove the reference
to the collection.
|
void |
CollectionManager.processRemovedCollectionMember(DocumentModel collectionMember)
Update all collections referenced by a document.
|
void |
CollectionManager.removeAllFromCollection(DocumentModel collection,
List<DocumentModel> documentListToBeRemoved,
CoreSession session)
Remove a list of document from a given collection.
|
void |
CollectionManager.removeFromCollection(DocumentModel collection,
DocumentModel documentToBeRemoved,
CoreSession session)
Remove a document from a collection.
|
void |
FavoritesManager.removeFromFavorites(DocumentModel document,
CoreSession session) |
Modifier and Type | Method and Description |
---|---|
void |
CollectionManager.addToCollection(DocumentModel collection,
List<DocumentModel> documentListToBeAdded,
CoreSession session)
Add a list of document to a collection.
|
void |
CollectionManager.addToNewCollection(String newTitle,
String newDescription,
List<DocumentModel> documentListToBeAdded,
CoreSession documentManager)
Add a list of document to a new collection.
|
void |
CollectionManager.removeAllFromCollection(DocumentModel collection,
List<DocumentModel> documentListToBeRemoved,
CoreSession session)
Remove a list of document from a given collection.
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
CollectionManagerImpl.createCollection(CoreSession session,
String title,
String description,
String path) |
DocumentModel |
FavoritesManagerImpl.getFavorites(DocumentModel context,
CoreSession session) |
DocumentModel |
CollectionManagerImpl.getUserDefaultCollections(DocumentModel context,
CoreSession session) |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
CollectionManagerImpl.getVisibleCollection(DocumentModel collectionMember,
CoreSession session) |
List<DocumentModel> |
CollectionManagerImpl.getVisibleCollection(DocumentModel collectionMember,
int maxResult,
CoreSession session) |
Modifier and Type | Method and Description |
---|---|
void |
CollectionManagerImpl.addToCollection(DocumentModel collection,
DocumentModel documentToBeAdded,
CoreSession session) |
void |
CollectionManagerImpl.addToCollection(DocumentModel collection,
List<DocumentModel> documentListToBeAdded,
CoreSession session) |
void |
FavoritesManagerImpl.addToFavorites(DocumentModel document,
CoreSession session) |
void |
CollectionManagerImpl.addToNewCollection(String newTitle,
String newDescription,
DocumentModel documentToBeAdded,
CoreSession session) |
boolean |
CollectionManagerImpl.canAddToCollection(DocumentModel collection,
CoreSession session) |
boolean |
FavoritesManagerImpl.canAddToFavorites(DocumentModel document) |
boolean |
CollectionManagerImpl.canManage(DocumentModel collection,
CoreSession session) |
void |
CollectionManagerImpl.checkCanAddToCollection(DocumentModel collection,
DocumentModel documentToBeAdded,
CoreSession session) |
void |
CollectionManagerImpl.doRemoveFromCollection(DocumentModel documentToBeRemoved,
String collectionId,
CoreSession session) |
DocumentModel |
FavoritesManagerImpl.getFavorites(DocumentModel context,
CoreSession session) |
DocumentModel |
CollectionManagerImpl.getUserDefaultCollections(DocumentModel context,
CoreSession session) |
List<DocumentModel> |
CollectionManagerImpl.getVisibleCollection(DocumentModel collectionMember,
CoreSession session) |
List<DocumentModel> |
CollectionManagerImpl.getVisibleCollection(DocumentModel collectionMember,
int maxResult,
CoreSession session) |
boolean |
CollectionManagerImpl.hasVisibleCollection(DocumentModel collectionMember,
CoreSession session) |
boolean |
CollectionManagerImpl.isCollectable(DocumentModel doc) |
boolean |
CollectionManagerImpl.isCollected(DocumentModel doc) |
boolean |
CollectionManagerImpl.isCollection(DocumentModel doc) |
boolean |
FavoritesManagerImpl.isFavorite(DocumentModel document,
CoreSession session) |
boolean |
CollectionManagerImpl.isInCollection(DocumentModel collection,
DocumentModel document,
CoreSession session) |
void |
CollectionManagerImpl.processCopiedCollection(DocumentModel collection) |
void |
CollectionManagerImpl.processRemovedCollection(DocumentModel collection) |
void |
CollectionManagerImpl.processRemovedCollectionMember(DocumentModel collectionMember) |
void |
CollectionManagerImpl.removeAllFromCollection(DocumentModel collection,
List<DocumentModel> documentListToBeRemoved,
CoreSession session) |
void |
CollectionManagerImpl.removeFromCollection(DocumentModel collection,
DocumentModel documentToBeRemoved,
CoreSession session) |
void |
FavoritesManagerImpl.removeFromFavorites(DocumentModel document,
CoreSession session) |
Modifier and Type | Method and Description |
---|---|
void |
CollectionManagerImpl.addToCollection(DocumentModel collection,
List<DocumentModel> documentListToBeAdded,
CoreSession session) |
void |
CollectionManagerImpl.addToNewCollection(String newTitle,
String newDescription,
List<DocumentModel> documentListToBeAdded,
CoreSession session) |
void |
CollectionManagerImpl.removeAllFromCollection(DocumentModel collection,
List<DocumentModel> documentListToBeRemoved,
CoreSession session) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
CollectionMember.getDocument() |
DocumentModel |
Collection.getDocument() |
Modifier and Type | Method and Description |
---|---|
Object |
CollectionMemberAdapterFactory.getAdapter(DocumentModel doc,
Class<?> itf) |
Object |
CollectionAdapterFactory.getAdapter(DocumentModel doc,
Class<?> itf) |
Constructor and Description |
---|
Collection(DocumentModel doc) |
CollectionMember(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
CreateCollectionOperation.run() |
DocumentModel |
RemoveFromCollectionOperation.run(DocumentModel doc) |
DocumentModel |
CreateCollectionOperation.run(DocumentModel doc) |
DocumentModel |
AddToCollectionOperation.run(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
RemoveFromCollectionOperation.run(DocumentModel doc) |
DocumentModelList |
GetDocumentsFromFavoritesOperation.run(DocumentModel context) |
PaginableDocumentModelListImpl |
GetDocumentsFromCollectionOperation.run(DocumentModel collection) |
DocumentModel |
CreateCollectionOperation.run(DocumentModel doc) |
DocumentModel |
AddToCollectionOperation.run(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
FavoritesActionBean.getCurrentFavorites() |
DocumentModel |
CollectionActionsBean.getSelectedCollection() |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
CurrentDocumentCollectionBean.getCurrentDocumentCollections() |
List<DocumentModel> |
CollectionActionsBean.getMultipleDocumentToBeAdded() |
Modifier and Type | Method and Description |
---|---|
void |
CollectionBulkEditActions.addCollectionsOnEvent(List<DocumentModel> documents,
DocumentModel doc) |
boolean |
CollectionActionsBean.canAddToCollection(DocumentModel collection) |
boolean |
CollectionActionsBean.canManage(DocumentModel collection) |
boolean |
CollectionActionsBean.canRemoveFromCollection(DocumentModel collection) |
boolean |
CollectionActionsBean.hasVisibleCollection(DocumentModel doc) |
void |
CollectionActionsBean.removeFromCollection(DocumentModel collection,
List<DocumentModel> documentListToBeRemoved) |
Modifier and Type | Method and Description |
---|---|
void |
CollectionBulkEditActions.addCollectionsOnEvent(List<DocumentModel> documents,
DocumentModel doc) |
void |
CollectionActionsBean.addToSelectedCollection(List<DocumentModel> documentListToBeAdded) |
void |
CollectionActionsBean.removeFromCollection(DocumentModel collection,
List<DocumentModel> documentListToBeRemoved) |
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 |
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) |
boolean |
CoreSession.followTransition(DocumentModel doc,
String transition)
Follows a given life cycle transition.
|
boolean |
AbstractSession.followTransition(DocumentModel docModel,
String transition) |
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 |
DocumentModelChildrenIterator.next() |
Modifier and Type | Method and Description |
---|---|
Iterator<DocumentModel> |
DocumentModelChildrenIterator.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 |
---|---|
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,
String renditionFilter,
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(org.apache.chemistry.opencmis.commons.server.CmisService service,
DocumentModel doc,
org.apache.chemistry.opencmis.client.api.OperationContext context) |
NuxeoObjectData(org.apache.chemistry.opencmis.commons.server.CmisService 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 |
Helper.createDocument(CoreSession session,
DocumentModel doc) |
static DocumentModel |
Helper.saveDocument(CoreSession session,
DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
static DocumentModel |
Helper.createDocument(CoreSession session,
DocumentModel doc) |
static DocumentModel |
Helper.saveDocument(CoreSession session,
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 |
SQLSession.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 |
---|---|
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 |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
WritePolicyEntryAdaptor.adapt(Directory directory,
DocumentModel entry) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
WritePolicyEntryAdaptor.adapt(Directory directory,
DocumentModel entry) |
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 |
---|---|
void |
ImagingRecomputeActions.recomputePictureViews(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
SetSimpleConfParamVar.run(DocumentModel doc) |
DocumentModel |
PutSimpleConfParams.run(DocumentModel doc) |
DocumentModel |
PutSimpleConfParam.run(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
Object |
SimpleConfigurationFactory.getAdapter(DocumentModel doc,
Class<?> itf) |
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.
|
DocumentModel |
SetSimpleConfParamVar.run(DocumentModel doc) |
DocumentModel |
PutSimpleConfParams.run(DocumentModel doc) |
DocumentModel |
PutSimpleConfParam.run(DocumentModel doc) |
Constructor and Description |
---|
SimpleConfigurationAdapter(DocumentModel doc) |
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) |
static String |
MultiTenantHelper.getOwningTenantId(DocumentModel doc)
Return the Tenant containing the provided DocumentModel if any
|
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) |
boolean |
AnnotationsActions.isAnnotationsEnabled(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
boolean |
AnnotationsRepositoryServiceImpl.check(NuxeoPrincipal user,
String permission,
DocumentModel model) |
boolean |
AnnotationsRepositoryService.check(NuxeoPrincipal user,
String permission,
DocumentModel model) |
boolean |
SecurityManager.check(NuxeoPrincipal user,
String permission,
DocumentModel dm) |
boolean |
AnnotationsRepositoryServiceImpl.isAnnotable(DocumentModel document) |
boolean |
AnnotationsRepositoryService.isAnnotable(DocumentModel document) |
boolean |
DefaultDocumentAnnotability.isAnnotable(DocumentModel document) |
boolean |
DocumentAnnotability.isAnnotable(DocumentModel docuement) |
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 |
---|---|
DocumentModel |
UserResolver.createNuxeoUser(String nuxeoLogin) |
DocumentModel |
EmailBasedUserResolver.updateUserInfo(DocumentModel user,
SAMLCredential credential) |
abstract DocumentModel |
UserResolver.updateUserInfo(DocumentModel user,
SAMLCredential userInfo) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
EmailBasedUserResolver.updateUserInfo(DocumentModel user,
SAMLCredential credential) |
abstract DocumentModel |
UserResolver.updateUserInfo(DocumentModel user,
SAMLCredential userInfo) |
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 |
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 |
---|---|
List<Action> |
ContentViewActions.getActionsList(String category,
DocumentModel currentDocument,
ContentView contentView,
Object showPageSizeSelector,
Object showRefreshCommand,
Object showCSVExport,
Object showPDFExport,
Object showSyndicationLinks,
Object showSlideshow,
Object showEditColumns,
Object showEditRows,
Object showSpreadsheet)
Returns actions filtered depending on given custom context.
|
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 |
---|---|
List<ContentViewHeader> |
FacetedSearchConfigurationActions.getNotSelectedContentViewHeaders(DocumentModel document)
Return a set of String naming the faceted search not currently selected
for the domain passed as parameter
|
List<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 |
---|---|
void |
GenericThreadedImportTask.setTargetFolder(DocumentModel rootDoc) |
Constructor and Description |
---|
GenericThreadedImportTask(CoreSession session,
SourceNode rootSource,
DocumentModel rootDoc,
boolean skipContainerCreation,
ImporterLogger rsLogger,
int batchSize,
ImporterDocumentModelFactory factory,
ImporterThreadingPolicy threadPolicy) |
GenericThreadedImportTask(CoreSession session,
SourceNode rootSource,
DocumentModel rootDoc,
boolean skipContainerCreation,
ImporterLogger rsLogger,
int batchSize,
ImporterDocumentModelFactory factory,
ImporterThreadingPolicy threadPolicy,
String jobName) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
ImporterDocumentModelFactory.createFolderishNode(CoreSession session,
DocumentModel parent,
SourceNode node) |
DocumentModel |
FileManagerDocumentModelFactory.createFolderishNode(CoreSession session,
DocumentModel parent,
SourceNode node) |
DocumentModel |
DefaultDocumentModelFactory.createFolderishNode(CoreSession session,
DocumentModel parent,
SourceNode node) |
DocumentModel |
ImporterDocumentModelFactory.createLeafNode(CoreSession session,
DocumentModel parent,
SourceNode node) |
DocumentModel |
FileManagerDocumentModelFactory.createLeafNode(CoreSession session,
DocumentModel parent,
SourceNode node) |
DocumentModel |
DefaultDocumentModelFactory.createLeafNode(CoreSession session,
DocumentModel parent,
SourceNode node) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
ImporterDocumentModelFactory.createFolderishNode(CoreSession session,
DocumentModel parent,
SourceNode node) |
DocumentModel |
FileManagerDocumentModelFactory.createFolderishNode(CoreSession session,
DocumentModel parent,
SourceNode node) |
DocumentModel |
DefaultDocumentModelFactory.createFolderishNode(CoreSession session,
DocumentModel parent,
SourceNode node) |
DocumentModel |
ImporterDocumentModelFactory.createLeafNode(CoreSession session,
DocumentModel parent,
SourceNode node) |
DocumentModel |
FileManagerDocumentModelFactory.createLeafNode(CoreSession session,
DocumentModel parent,
SourceNode node) |
DocumentModel |
DefaultDocumentModelFactory.createLeafNode(CoreSession session,
DocumentModel parent,
SourceNode node) |
boolean |
ImporterDocumentModelFactory.processFolderishNodeCreationError(CoreSession session,
DocumentModel parent,
SourceNode node)
Defines the process to execute when a folderish node creation error
occurs.
|
boolean |
AbstractDocumentModelFactory.processFolderishNodeCreationError(CoreSession session,
DocumentModel parent,
SourceNode node)
By default there is no process bound to a folderish node creation error,
and the global import task will continue.
|
boolean |
ImporterDocumentModelFactory.processLeafNodeCreationError(CoreSession session,
DocumentModel parent,
SourceNode node)
Defines the process to execute when a leaf node creation error occurs.
|
boolean |
AbstractDocumentModelFactory.processLeafNodeCreationError(CoreSession session,
DocumentModel parent,
SourceNode node)
By default there is no process bound to a leaf node creation error, and
the global import task will continue.
|
Modifier and Type | Method and Description |
---|---|
static MetadataFile |
MetadataFile.createFromDocument(DocumentModel doc)
Create a
MetadataFile from a DocumentModel 's schemas. |
static MetadataFile |
MetadataFile.createFromProperties(DocumentModel doc,
List<String> properties)
Create a
MetadataFile from the listed properties of a
DocumentModel |
static MetadataFile |
MetadataFile.createFromSchemas(DocumentModel doc,
List<String> allPropertiesSchemas)
Create a
MetadataFile from the listed schemas (with all
properties) of a DocumentModel |
static MetadataFile |
MetadataFile.createFromSchemasAndProperties(DocumentModel doc,
List<String> allPropertiesSchemas,
List<String> properties)
Create a
MetadataFile from the listed schemas (with all
properties) and the listed properties of a DocumentModel |
Modifier and Type | Method and Description |
---|---|
boolean |
ImporterThreadingPolicy.needToCreateThreadAfterNewFolderishNode(DocumentModel parent,
SourceNode node,
long uploadedSources,
int batchSize,
int scheduledTasks) |
boolean |
DefaultMultiThreadingPolicy.needToCreateThreadAfterNewFolderishNode(DocumentModel parent,
SourceNode node,
long uploadedSources,
int batchSize,
int scheduledTasks) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
AdvancedScannedFileFactory.createLeafNode(CoreSession session,
DocumentModel parent,
SourceNode node) |
DocumentModel |
MVELImporterFunction.mkdir(DocumentModel parent,
String regexp,
String data,
String typeName) |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
XMLImporterService.importDocuments(DocumentModel root,
File source)
Imports
DocumentModel in Nuxeo from an XML or a Zip archive. |
List<DocumentModel> |
XMLImporterComponent.importDocuments(DocumentModel root,
File xmlFile) |
List<DocumentModel> |
XMLImporterService.importDocuments(DocumentModel root,
File source,
Map<String,Object> mvelContext)
Same as
XMLImporterService.importDocuments(DocumentModel, File) with map
injected into mvel contexts used during parsing |
List<DocumentModel> |
XMLImporterComponent.importDocuments(DocumentModel root,
File source,
Map<String,Object> mvelContext) |
List<DocumentModel> |
XMLImporterService.importDocuments(DocumentModel root,
InputStream xmlStream)
Imports
DocumentModel in Nuxeo from an XML Stream. |
List<DocumentModel> |
XMLImporterComponent.importDocuments(DocumentModel root,
InputStream xmlStream) |
List<DocumentModel> |
XMLImporterService.importDocuments(DocumentModel root,
InputStream xmlStream,
Map<String,Object> mvelContext)
Same as
XMLImporterService.importDocuments(DocumentModel, InputStream) with map
injected into mvel contexts used during parsing |
List<DocumentModel> |
XMLImporterComponent.importDocuments(DocumentModel root,
InputStream xmlStream,
Map<String,Object> mvelContext) |
List<DocumentModel> |
XMLImporterServiceImpl.parse(org.dom4j.Document doc) |
List<DocumentModel> |
XMLImporterServiceImpl.parse(File file) |
List<DocumentModel> |
XMLImporterServiceImpl.parse(InputStream is) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
AdvancedScannedFileFactory.createLeafNode(CoreSession session,
DocumentModel parent,
SourceNode node) |
List<DocumentModel> |
XMLImporterService.importDocuments(DocumentModel root,
File source)
Imports
DocumentModel in Nuxeo from an XML or a Zip archive. |
List<DocumentModel> |
XMLImporterComponent.importDocuments(DocumentModel root,
File xmlFile) |
List<DocumentModel> |
XMLImporterService.importDocuments(DocumentModel root,
File source,
Map<String,Object> mvelContext)
Same as
XMLImporterService.importDocuments(DocumentModel, File) with map
injected into mvel contexts used during parsing |
List<DocumentModel> |
XMLImporterComponent.importDocuments(DocumentModel root,
File source,
Map<String,Object> mvelContext) |
List<DocumentModel> |
XMLImporterService.importDocuments(DocumentModel root,
InputStream xmlStream)
Imports
DocumentModel in Nuxeo from an XML Stream. |
List<DocumentModel> |
XMLImporterComponent.importDocuments(DocumentModel root,
InputStream xmlStream) |
List<DocumentModel> |
XMLImporterService.importDocuments(DocumentModel root,
InputStream xmlStream,
Map<String,Object> mvelContext)
Same as
XMLImporterService.importDocuments(DocumentModel, InputStream) with map
injected into mvel contexts used during parsing |
List<DocumentModel> |
XMLImporterComponent.importDocuments(DocumentModel root,
InputStream xmlStream,
Map<String,Object> mvelContext) |
DocumentModel |
MVELImporterFunction.mkdir(DocumentModel parent,
String regexp,
String data,
String typeName) |
Constructor and Description |
---|
XMLImporterServiceImpl(DocumentModel rootDoc,
ParserConfigRegistry registry) |
XMLImporterServiceImpl(DocumentModel rootDoc,
ParserConfigRegistry registry,
Map<String,Object> mvelContext) |
Constructor and Description |
---|
MVELImporterFunction(CoreSession session,
Stack<DocumentModel> docsStack,
Map<org.dom4j.Element,DocumentModel> elToDoc,
org.dom4j.Element el) |
MVELImporterFunction(CoreSession session,
Stack<DocumentModel> docsStack,
Map<org.dom4j.Element,DocumentModel> elToDoc,
org.dom4j.Element el) |
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 |
---|---|
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 |
---|---|
List<DocumentModel> |
ClientRegistryImpl.listClients() |
List<DocumentModel> |
ClientRegistry.listClients() |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
UserResolver.createNuxeoUser(String nuxeoLogin) |
DocumentModel |
EmailBasedUserResolver.updateUserInfo(DocumentModel user,
OpenIDUserInfo userInfo) |
abstract DocumentModel |
UserResolver.updateUserInfo(DocumentModel user,
OpenIDUserInfo userInfo) |
DocumentModel |
StoredUserInfoResolver.updateUserInfo(DocumentModel user,
OpenIDUserInfo userInfo) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
EmailBasedUserResolver.updateUserInfo(DocumentModel user,
OpenIDUserInfo userInfo) |
abstract DocumentModel |
UserResolver.updateUserInfo(DocumentModel user,
OpenIDUserInfo userInfo) |
DocumentModel |
StoredUserInfoResolver.updateUserInfo(DocumentModel user,
OpenIDUserInfo userInfo) |
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.getChild()
Deprecated.
|
DocumentModel |
SlideShowManager.getChild()
Deprecated.
Gets the DocumentModel of a child from the index.
|
Modifier and Type | Method and Description |
---|---|
void |
SlideShowManagerBean.setChild(DocumentModel child)
Deprecated.
|
void |
SlideShowManager.setChild(DocumentModel child)
Deprecated.
Sets the DocumentModel of a child from the index.
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
PictureTilesAdapterImpl.getDoc() |
Modifier and Type | Method and Description |
---|---|
Object |
PictureTilesAdapterFactory.getAdapter(DocumentModel doc,
Class itf) |
void |
PictureTilesAdapterImpl.setDoc(DocumentModel doc) |
void |
PictureTilesAdapter.setDoc(DocumentModel doc) |
Constructor and Description |
---|
PictureTilesAdapterImpl(DocumentModel doc) |
PictureTilesAdapterImpl(DocumentModel doc,
String xPath) |
Constructor and Description |
---|
DocumentImageResource(DocumentModel doc,
String xPath) |
Modifier and Type | Method and Description |
---|---|
List<Blob> |
TiledImagePreviewer.getPreview(Blob blob,
DocumentModel dm) |
Modifier and Type | Method and Description |
---|---|
HtmlPreviewAdapter |
PreviewAdapterManagerComponent.getAdapter(DocumentModel doc) |
HtmlPreviewAdapter |
PreviewAdapterManager.getAdapter(DocumentModel doc) |
HtmlPreviewAdapter |
PreviewAdapterFactory.getAdapter(DocumentModel doc) |
Object |
PreviewDocumentModelAdapterFactory.getAdapter(DocumentModel doc,
Class itf) |
List<Blob> |
PlainTextPreviewer.getPreview(Blob blob,
DocumentModel dm) |
List<Blob> |
MimeTypePreviewer.getPreview(Blob blob,
DocumentModel dm) |
List<Blob> |
ImagePreviewer.getPreview(Blob blob,
DocumentModel dm) |
boolean |
PreviewAdapterManagerComponent.hasAdapter(DocumentModel doc) |
boolean |
PreviewAdapterManager.hasAdapter(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractHtmlPreviewAdapter.setAdaptedDocument(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
HtmlPreviewAdapter |
NotePreviewAdapter.getAdapter(DocumentModel doc) |
HtmlPreviewAdapter |
FileBasedPreviewAdapterFactory.getAdapter(DocumentModel doc) |
HtmlPreviewAdapter |
BlobHolderPreviewAdapterFactory.getAdapter(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
void |
HtmlPreviewAdapter.setAdaptedDocument(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
static boolean |
PreviewHelper.docHasBlobToPreview(DocumentModel document) |
static String |
PreviewHelper.getPreviewURL(DocumentModel doc) |
static String |
PreviewHelper.getPreviewURL(DocumentModel doc,
String xpath) |
static boolean |
PreviewHelper.typeSupportsPreview(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
boolean |
PreviewActionBean.documentHasPreview(DocumentModel document) |
String |
PreviewActionBean.getPreviewPopupURL(DocumentModel doc) |
String |
PreviewActionBean.getPreviewPopupURL(DocumentModel doc,
boolean newConversation) |
String |
PreviewActionBean.getPreviewURL(DocumentModel doc) |
String |
PreviewActionBean.getPreviewURL(DocumentModel doc,
String field) |
String |
PreviewActionBean.getPreviewWithBlobPostProcessingURL(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
PublishedDocumentFactory.snapshotDocumentBeforePublish(DocumentModel doc) |
DocumentModel |
AbstractBasePublishedDocumentFactory.snapshotDocumentBeforePublish(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
PublicationTree |
PublisherService.getPublicationTree(String treeName,
CoreSession coreSession,
Map<String,String> params,
DocumentModel currentDocument) |
PublicationTree |
PublisherService.getPublicationTreeFor(DocumentModel doc,
CoreSession coreSession) |
String[] |
PublishedDocumentFactory.getValidatorsFor(DocumentModel dm)
Computes the list of publishing validators given the document model of
the document just published.
|
String[] |
AbstractBasePublishedDocumentFactory.getValidatorsFor(DocumentModel dm) |
boolean |
PublicationTree.isPublicationNode(DocumentModel documentModel)
Returns
true if the given documentModel is a PublicationNode of the current tree,
false otherwise. |
boolean |
AbstractBasePublicationTree.isPublicationNode(DocumentModel documentModel) |
boolean |
RemotePublicationTreeManager.isPublicationNode(String sid,
DocumentModel documentModel)
Returns
true if the given documentModel is a
PublicationNode of the current tree, false otherwise. |
boolean |
PublisherService.isPublishedDocument(DocumentModel documentModel) |
PublishedDocument |
RemotePublicationTreeManager.publish(DocumentModel doc,
PublicationNode targetNode) |
PublishedDocument |
PublisherService.publish(DocumentModel doc,
PublicationNode targetNode) |
PublishedDocument |
PublicationTree.publish(DocumentModel doc,
PublicationNode targetNode) |
PublishedDocument |
AbstractBasePublicationTree.publish(DocumentModel doc,
PublicationNode targetNode) |
PublishedDocument |
RemotePublicationTreeManager.publish(DocumentModel doc,
PublicationNode targetNode,
Map<String,String> params) |
PublishedDocument |
PublisherService.publish(DocumentModel doc,
PublicationNode targetNode,
Map<String,String> params) |
PublishedDocument |
PublicationTree.publish(DocumentModel doc,
PublicationNode targetNode,
Map<String,String> params) |
PublishedDocument |
AbstractBasePublicationTree.publish(DocumentModel doc,
PublicationNode targetNode,
Map<String,String> params) |
PublishedDocument |
PublishedDocumentFactory.publishDocument(DocumentModel doc,
PublicationNode targetNode) |
PublishedDocument |
AbstractBasePublishedDocumentFactory.publishDocument(DocumentModel doc,
PublicationNode targetNode) |
PublishedDocument |
PublishedDocumentFactory.publishDocument(DocumentModel doc,
PublicationNode targetNode,
Map<String,String> params) |
void |
PublicationTree.setCurrentDocument(DocumentModel currentDocument)
Sets the current document on which the tree will be based, if needed.
|
void |
AbstractBasePublicationTree.setCurrentDocument(DocumentModel currentDocument) |
void |
RemotePublicationTreeManager.setCurrentDocument(String sid,
DocumentModel currentDocument)
Sets the current document on which the tree will be based, if needed.
|
DocumentModel |
PublishedDocumentFactory.snapshotDocumentBeforePublish(DocumentModel doc) |
DocumentModel |
AbstractBasePublishedDocumentFactory.snapshotDocumentBeforePublish(DocumentModel doc) |
void |
RemotePublicationTreeManager.unpublish(DocumentModel doc,
PublicationNode targetNode) |
void |
PublisherService.unpublish(DocumentModel doc,
PublicationNode targetNode) |
void |
PublicationTree.unpublish(DocumentModel doc,
PublicationNode targetNode) |
PublishedDocument |
PublishedDocumentFactory.wrapDocumentModel(DocumentModel doc) |
PublicationNode |
PublicationTree.wrapToPublicationNode(DocumentModel documentModel)
Returns a PublicationNode for the current tree built on the given
documentModel . |
PublicationNode |
AbstractBasePublicationTree.wrapToPublicationNode(DocumentModel documentModel) |
PublicationNode |
PublisherService.wrapToPublicationNode(DocumentModel documentModel,
CoreSession coreSession) |
PublicationNode |
RemotePublicationTreeManager.wrapToPublicationNode(String sid,
DocumentModel documentModel)
Returns a PublicationNode for the current tree built on the given
documentModel . |
PublishedDocument |
PublicationTree.wrapToPublishedDocument(DocumentModel documentModel) |
PublishedDocument |
AbstractBasePublicationTree.wrapToPublishedDocument(DocumentModel documentModel) |
PublishedDocument |
RemotePublicationTreeManager.wrapToPublishedDocument(String sid,
DocumentModel documentModel) |
Modifier and Type | Method and Description |
---|---|
static void |
PublicationRelationHelper.addPublicationRelation(DocumentModel documentModel,
PublicationTree publicationTree) |
String |
RootSectionsManager.addSection(String sectionId,
DocumentModel currentDocument) |
boolean |
RootSectionsManager.canAddSection(DocumentModel section,
DocumentModel currentDocument) |
DocumentModelList |
RootSectionFinder.getAccessibleSectionRoots(DocumentModel currentDoc) |
static PublicationTree |
PublicationRelationHelper.getPublicationTreeUsedForPublishing(DocumentModel documentModel,
CoreSession coreSession) |
DocumentModelList |
RootSectionFinder.getSectionRootsForWorkspace(DocumentModel currentDoc)
Returns the head (root) sections that are bound to a given Workspace.
|
DocumentModelList |
RootSectionFinder.getSectionRootsForWorkspace(DocumentModel currentDoc,
boolean addDefaultSectionRoots)
Returns the head (root) sections that are bound to a given Workspace.
|
static String |
VersioningHelper.getVersionLabelFor(DocumentModel doc) |
static boolean |
PublicationRelationHelper.isPublished(DocumentModel documentModel) |
static void |
PublicationRelationHelper.removePublicationRelation(DocumentModel documentModel) |
String |
RootSectionsManager.removeSection(String sectionId,
DocumentModel currentDocument) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
SimpleCorePublishedDocument.getProxy() |
DocumentModel |
CoreFolderPublicationNode.getTargetDocumentModel() |
DocumentModel |
CoreProxyFactory.snapshotDocumentBeforePublish(DocumentModel doc) |
DocumentModel |
CoreProxyFactory.unwrapPublishedDocument(PublishedDocument pubDoc) |
Constructor and Description |
---|
CoreFolderPublicationNode(DocumentModel doc,
PublicationTree tree,
PublicationNode parent,
PublishedDocumentFactory factory) |
CoreFolderPublicationNode(DocumentModel doc,
PublicationTree tree,
PublishedDocumentFactory factory) |
CoreFolderPublicationNode(DocumentModel doc,
String treeConfigName,
String sid,
PublicationNode parent,
PublishedDocumentFactory factory) |
CoreFolderPublicationNode(DocumentModel doc,
String treeConfigName,
String sid,
PublishedDocumentFactory factory) |
SimpleCorePublishedDocument(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModelList |
AbstractRootSectionsFinder.getAccessibleSectionRoots(DocumentModel currentDoc) |
DocumentModelList |
AbstractRootSectionsFinder.getSectionRootsForWorkspace(DocumentModel currentDoc) |
DocumentModelList |
AbstractRootSectionsFinder.getSectionRootsForWorkspace(DocumentModel currentDoc,
boolean addDefaultSectionRoots) |
Modifier and Type | Method and Description |
---|---|
PublishedDocument |
LocalFSPublicationTree.publish(DocumentModel doc,
PublicationNode targetNode) |
PublishedDocument |
LocalFSPublicationTree.publish(DocumentModel doc,
PublicationNode targetNode,
Map<String,String> params) |
PublishedDocument |
FSPublishedDocumentFactory.publishDocument(DocumentModel doc,
PublicationNode targetNode,
Map<String,String> params) |
void |
LocalFSPublicationTree.unpublish(DocumentModel doc,
PublicationNode targetNode) |
PublishedDocument |
FSPublishedDocumentFactory.wrapDocumentModel(DocumentModel doc) |
Constructor and Description |
---|
FSPublishedDocument(String server,
DocumentModel doc) |
FSPublishedDocument(String server,
DocumentModel doc,
boolean isPending) |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
DomainsFinder.getDomains() |
Modifier and Type | Method and Description |
---|---|
PublicationTree |
PublisherServiceImpl.getPublicationTree(String treeName,
CoreSession coreSession,
Map<String,String> params,
DocumentModel currentDocument) |
PublicationTree |
PublisherServiceImpl.getPublicationTreeFor(DocumentModel doc,
CoreSession coreSession) |
boolean |
AbstractRemotableTree.isPublicationNode(DocumentModel documentModel) |
boolean |
PublisherServiceImpl.isPublicationNode(String sid,
DocumentModel documentModel) |
boolean |
PublisherServiceImpl.isPublishedDocument(DocumentModel documentModel) |
PublishedDocument |
PublisherServiceImpl.publish(DocumentModel doc,
PublicationNode targetNode) |
PublishedDocument |
AbstractRemotableTree.publish(DocumentModel doc,
PublicationNode targetNode) |
PublishedDocument |
PublisherServiceImpl.publish(DocumentModel doc,
PublicationNode targetNode,
Map<String,String> params) |
PublishedDocument |
AbstractRemotableTree.publish(DocumentModel doc,
PublicationNode targetNode,
Map<String,String> params) |
void |
PublisherServiceImpl.registerTreeConfigFor(DocumentModel domain) |
void |
AbstractRemotableTree.setCurrentDocument(DocumentModel currentDocument) |
void |
PublisherServiceImpl.setCurrentDocument(String sid,
DocumentModel currentDocument) |
void |
PublisherServiceImpl.unpublish(DocumentModel doc,
PublicationNode targetNode) |
void |
AbstractRemotableTree.unpublish(DocumentModel doc,
PublicationNode targetNode) |
void |
PublisherServiceImpl.unRegisterTreeConfigFor(DocumentModel domain) |
PublicationNode |
AbstractRemotableTree.wrapToPublicationNode(DocumentModel documentModel) |
PublicationNode |
PublisherServiceImpl.wrapToPublicationNode(DocumentModel documentModel,
CoreSession coreSession) |
PublicationNode |
PublisherServiceImpl.wrapToPublicationNode(String sid,
DocumentModel documentModel) |
PublishedDocument |
AbstractRemotableTree.wrapToPublishedDocument(DocumentModel documentModel) |
PublishedDocument |
PublisherServiceImpl.wrapToPublishedDocument(String sid,
DocumentModel documentModel) |
Modifier and Type | Method and Description |
---|---|
PublishedDocument |
ClientRemotePublicationTree.publish(DocumentModel doc,
PublicationNode targetNode,
Map<String,String> params) |
PublishedDocument |
ClientProxyFactory.publishDocument(DocumentModel doc,
PublicationNode targetNode) |
PublishedDocument |
ClientProxyFactory.publishDocument(DocumentModel doc,
PublicationNode targetNode,
Map<String,String> params) |
PublishedDocument |
ClientProxyFactory.wrapDocumentModel(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
CoreIODocumentModelMarshaler.unMarshalDocument(String data,
CoreSession coreSession) |
Modifier and Type | Method and Description |
---|---|
static ExtendedDocumentLocation |
ExtendedDocumentLocation.extractFromDoc(DocumentModel doc) |
String |
CoreIODocumentModelMarshaler.marshalDocument(DocumentModel doc) |
Constructor and Description |
---|
ExtendedDocumentLocation(String originalServer,
DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
DocumentModelMarshaler.unMarshalDocument(String data,
CoreSession coreSession) |
Modifier and Type | Method and Description |
---|---|
String |
DocumentModelMarshaler.marshalDocument(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
SingleShadowDocumentWriter.getShadowDocument() |
Constructor and Description |
---|
SingleDocumentReaderWithInLineBlobs(CoreSession session,
DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
boolean |
RemotePublicationTreeManagerRestProxy.isPublicationNode(String sid,
DocumentModel documentModel) |
PublishedDocument |
RemotePublicationTreeManagerRestProxy.publish(DocumentModel doc,
PublicationNode targetNode) |
PublishedDocument |
RemotePublicationTreeManagerRestProxy.publish(DocumentModel doc,
PublicationNode targetNode,
Map<String,String> params) |
void |
RemotePublicationTreeManagerRestProxy.setCurrentDocument(String sid,
DocumentModel currentDocument) |
void |
RemotePublicationTreeManagerRestProxy.unpublish(DocumentModel doc,
PublicationNode targetNode) |
PublicationNode |
RemotePublicationTreeManagerRestProxy.wrapToPublicationNode(String sid,
DocumentModel documentModel) |
PublishedDocument |
RemotePublicationTreeManagerRestProxy.wrapToPublishedDocument(String sid,
DocumentModel documentModel) |
Modifier and Type | Method and Description |
---|---|
PublishedDocument |
CoreTreeWithExternalDocs.publish(DocumentModel doc,
PublicationNode targetNode) |
PublishedDocument |
CoreTreeWithExternalDocs.publish(DocumentModel doc,
PublicationNode targetNode,
Map<String,String> params) |
PublishedDocument |
SimpleExternalDocumentModelFactory.publishDocument(DocumentModel doc,
PublicationNode targetNode,
Map<String,String> params) |
void |
CoreTreeWithExternalDocs.unpublish(DocumentModel doc,
PublicationNode targetNode) |
PublishedDocument |
SimpleExternalDocumentModelFactory.wrapDocumentModel(DocumentModel doc) |
PublishedDocument |
CoreTreeWithExternalDocs.wrapToPublishedDocument(DocumentModel documentModel) |
Constructor and Description |
---|
ExternalCorePublishedDocument(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
String[] |
ValidatorsRule.computesValidatorsFor(DocumentModel dm)
Computes the list of publishing validators given the document model of
the document just published.
|
String[] |
DefaultValidatorsRule.computesValidatorsFor(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
PublishedDocument |
AbstractSynchonizablePublicationTree.publish(DocumentModel doc,
PublicationNode targetNode) |
PublishedDocument |
AbstractSynchonizablePublicationTree.publish(DocumentModel doc,
PublicationNode targetNode,
Map<String,String> params) |
void |
AbstractSynchonizablePublicationTree.unpublish(DocumentModel doc,
PublicationNode targetNode) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
PublishUnrestricted.getModel() |
Modifier and Type | Method and Description |
---|---|
boolean |
LookupState.isPublished(DocumentModel doc,
CoreSession session) |
PublishedDocument |
CoreProxyWithWorkflowFactory.publishDocument(DocumentModel doc,
PublicationNode targetNode,
Map<String,String> params) |
PublishedDocument |
CoreProxyWithWorkflowFactory.wrapDocumentModel(DocumentModel doc) |
Constructor and Description |
---|
ChangePermissionUnrestricted(CoreSession session,
DocumentModel document,
String[] validators,
NuxeoPrincipal principal,
String aclName,
ACL acl) |
DeleteDocumentUnrestricted(CoreSession session,
DocumentModel document) |
PublishUnrestricted(CoreSession session,
DocumentModel docToPublish,
DocumentModel sectionToPublishTo) |
PublishUnrestricted(CoreSession session,
DocumentModel docToPublish,
DocumentModel sectionToPublishTo,
boolean overwriteProxy) |
RemoveACLUnrestricted(CoreSession session,
DocumentModel document,
String aclName,
String oldAclName) |
Modifier and Type | Field and Description |
---|---|
DocumentModel |
PublishActionsBean.ApproverWithoutRestriction.liveDocument |
DocumentModel |
PublishActionsBean.ApproverWithoutRestriction.sourceDocument |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
PublishActionsBean.getDocumentModelFor(String path) |
Modifier and Type | Method and Description |
---|---|
boolean |
AdministrationPublishActions.canAddSection(DocumentModel section) |
String |
AdministrationPublishActions.getDomainNameFor(DocumentModel sectionRoot) |
String |
AbstractPublishActions.getFormattedPath(DocumentModel documentModel) |
static void |
PublishActionsBean.notifyEvent(CoreSession session,
String eventId,
Map<String,Serializable> properties,
String comment,
String category,
DocumentModel dm) |
void |
PublishActionsBean.notifyEvent(String eventId,
Map<String,Serializable> properties,
String comment,
String category,
DocumentModel dm) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
PageProvider.getSearchDocumentModel() |
DocumentModel |
AbstractPageProvider.getSearchDocumentModel() |
Modifier and Type | Method and Description |
---|---|
PageProvider<?> |
PageProviderService.getPageProvider(String name,
DocumentModel searchDocument,
List<SortInfo> sortInfos,
Long pageSize,
Long currentPage,
Map<String,Serializable> properties,
Object... parameters)
Returns an instance of page provider with given name.
|
PageProvider<?> |
PageProviderService.getPageProvider(String name,
PageProviderDefinition desc,
DocumentModel searchDocument,
List<SortInfo> sortInfos,
Long pageSize,
Long currentPage,
Map<String,Serializable> properties,
Object... parameters)
Returns an instance of page provider with given name and definition.
|
void |
PageProvider.setSearchDocumentModel(DocumentModel doc) |
void |
AbstractPageProvider.setSearchDocumentModel(DocumentModel searchDocumentModel) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
AggregateBase.getSearchDocument() |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
DocumentModelListPageProvider.getCurrentPage() |
Modifier and Type | Method and Description |
---|---|
PageProvider<?> |
PageProviderServiceImpl.getPageProvider(String name,
DocumentModel searchDocument,
List<SortInfo> sortInfos,
Long pageSize,
Long currentPage,
Map<String,Serializable> properties,
Object... parameters) |
PageProvider<?> |
PageProviderServiceImpl.getPageProvider(String name,
PageProviderDefinition desc,
DocumentModel searchDocument,
List<SortInfo> sortInfos,
Long pageSize,
Long currentPage,
Map<String,Serializable> properties,
Object... parameters) |
Modifier and Type | Method and Description |
---|---|
void |
DocumentModelListPageProvider.setDocumentModelList(List<DocumentModel> docs) |
Constructor and Description |
---|
AggregateBase(AggregateDefinition definition,
DocumentModel searchDocument) |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
CoreQueryDocumentPageProvider.getCurrentPage() |
PageSelections<DocumentModel> |
CoreQueryDocumentPageProvider.getCurrentSelectPage() |
Modifier and Type | Method and Description |
---|---|
static Boolean |
NXQLQueryBuilder.getBooleanValue(DocumentModel model,
PredicateFieldDefinition fieldDescriptor) |
static String |
NXQLQueryBuilder.getFieldType(DocumentModel model,
PredicateFieldDefinition fieldDescriptor) |
static Integer |
NXQLQueryBuilder.getIntValue(DocumentModel model,
PredicateFieldDefinition fieldDescriptor) |
static List<String> |
NXQLQueryBuilder.getListValue(DocumentModel model,
PredicateFieldDefinition fieldDescriptor) |
static String |
NXQLQueryBuilder.getPlainStringValue(DocumentModel model,
PredicateFieldDefinition fieldDescriptor) |
static String |
NXQLQueryBuilder.getQuery(DocumentModel model,
WhereClauseDefinition whereClause,
Object[] params,
SortInfo... sortInfos) |
static String |
NXQLQueryBuilder.getQuery(String pattern,
Object[] params,
boolean quoteParameters,
boolean escape,
DocumentModel searchDocumentModel,
SortInfo... sortInfos) |
static String |
NXQLQueryBuilder.getQueryElement(DocumentModel model,
PredicateDefinition predicateDescriptor,
Escaper escaper) |
static String |
NXQLQueryBuilder.getQueryElement(DocumentModel model,
WhereClauseDefinition whereClause,
Object[] params) |
static Object |
NXQLQueryBuilder.getRawValue(DocumentModel model,
PredicateFieldDefinition fieldDescriptor) |
static String |
NXQLQueryBuilder.getStringValue(DocumentModel model,
PredicateFieldDefinition fieldDescriptor) |
Modifier and Type | Method and Description |
---|---|
void |
DocumentRelationManager.addRelation(CoreSession session,
DocumentModel from,
DocumentModel to,
String predicate,
boolean inverse)
Add link between two document
|
void |
DocumentRelationManager.addRelation(CoreSession session,
DocumentModel from,
Node to,
String predicate)
Add link between two document
|
void |
DocumentRelationManager.addRelation(CoreSession session,
DocumentModel from,
Node to,
String predicate,
boolean inverse)
Add link between two document
|
void |
DocumentRelationManager.addRelation(CoreSession session,
DocumentModel from,
Node to,
String predicate,
boolean inverse,
boolean includeStatementsInEvents)
Add link between two document
|
void |
DocumentRelationManager.addRelation(CoreSession session,
DocumentModel from,
Node to,
String predicate,
boolean inverse,
boolean includeStatementsInEvents,
String comment)
Add link between two document
|
void |
DocumentRelationManager.deleteRelation(CoreSession session,
DocumentModel from,
DocumentModel to,
String predicate) |
void |
DocumentRelationManager.deleteRelation(CoreSession session,
DocumentModel from,
DocumentModel to,
String predicate,
boolean includeStatementsInEvents) |
Modifier and Type | Method and Description |
---|---|
static DocumentModel |
RelationHelper.getDocumentModel(Node node,
CoreSession session)
Returns the document model corresponding to a relation node.
|
Modifier and Type | Method and Description |
---|---|
static QNameResource |
RelationHelper.getDocumentResource(DocumentModel document)
Returns the relation node corresponding to a document model.
|
static DocumentModelList |
RelationHelper.getObjectDocuments(DocumentModel subjectDoc,
Resource predicat) |
static DocumentModelList |
RelationHelper.getObjectDocuments(String graphName,
DocumentModel subjectDoc,
Resource predicat) |
static List<Statement> |
RelationHelper.getStatements(DocumentModel subjectDoc,
Resource predicat) |
static List<Statement> |
RelationHelper.getStatements(String graphName,
DocumentModel subjectDoc,
Resource predicat) |
static DocumentModelList |
RelationHelper.getSubjectDocuments(Resource predicat,
DocumentModel objectDocument) |
static DocumentModelList |
RelationHelper.getSubjectDocuments(String graphName,
Resource predicat,
DocumentModel objectDocument) |
static DocumentModelList |
RelationHelper.getSubjectDocumentsOut(Resource predicat,
DocumentModel objectDocument) |
static DocumentModelList |
RelationHelper.getSubjectDocumentsOut(String graphName,
Resource predicat,
DocumentModel objectDocument) |
static void |
RelationHelper.removeRelation(DocumentModel subjectDoc,
Resource predicat,
DocumentModel objectDoc) |
static void |
RelationHelper.removeRelation(String graphName,
DocumentModel subjectDoc,
Resource predicat,
DocumentModel objectDoc) |
Modifier and Type | Method and Description |
---|---|
void |
DocumentRelationService.addRelation(CoreSession session,
DocumentModel from,
DocumentModel to,
String predicate,
boolean inverse) |
void |
DocumentRelationService.addRelation(CoreSession session,
DocumentModel from,
Node to,
String predicate) |
void |
DocumentRelationService.addRelation(CoreSession session,
DocumentModel from,
Node to,
String predicate,
boolean inverse) |
void |
DocumentRelationService.addRelation(CoreSession session,
DocumentModel from,
Node to,
String predicate,
boolean inverse,
boolean includeStatementsInEvents) |
void |
DocumentRelationService.addRelation(CoreSession session,
DocumentModel from,
Node toResource,
String predicate,
boolean inverse,
boolean includeStatementsInEvents,
String comment) |
void |
DocumentRelationService.deleteRelation(CoreSession session,
DocumentModel from,
DocumentModel to,
String predicate) |
void |
DocumentRelationService.deleteRelation(CoreSession session,
DocumentModel from,
DocumentModel to,
String predicate,
boolean includeStatementsInEvents) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
NodeInfoImpl.getDocumentModel() |
DocumentModel |
NodeInfo.getDocumentModel() |
Constructor and Description |
---|
NodeInfoImpl(Node node,
DocumentModel documentModel) |
NodeInfoImpl(Node node,
DocumentModel documentModel,
boolean visible) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
RelationActions.getDocumentModel(Node node) |
Modifier and Type | Method and Description |
---|---|
QNameResource |
RelationActions.getDocumentResource(DocumentModel document) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
RelationActionsBean.getDocumentModel(Node node) |
Modifier and Type | Method and Description |
---|---|
QNameResource |
RelationActionsBean.getDocumentResource(DocumentModel document) |
Modifier and Type | Method and Description |
---|---|
Object |
DocumentView.get(DocumentModel doc,
String name) |
Object |
DefaultDocumentView.get(DocumentModel doc,
String name) |
Object |
DocumentField.getValue(DocumentModel doc) |
Object |
DefaultDocumentView.Field.getValue(DocumentModel doc) |
Collection<String> |
DocumentView.keys(DocumentModel doc) |
Collection<String> |
DefaultDocumentView.keys(DocumentModel doc) |
int |
DocumentField.size(DocumentModel doc) |
int |
DefaultDocumentView.size(DocumentModel doc) |
Modifier and Type | Field and Description |
---|---|
DocumentModel |
SchemaTemplate.DocumentSchema.doc |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
DocumentTemplate.getDocument() |
Constructor and Description |
---|
DocumentTemplate(freemarker.template.ObjectWrapper wrapper,
DocumentModel doc) |
SchemaTemplate.DocumentSchema(DocumentModel doc,
String schemaName) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
DocumentRenderingContext.getDocument() |
Modifier and Type | Method and Description |
---|---|
void |
DocumentRenderingContext.setDocument(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
abstract Object |
DocumentFieldAccessor.getValue(DocumentModel doc) |
Constructor and Description |
---|
DocumentModelAdapter(DocumentModel doc) |
DocumentModelAdapter(DocumentModel doc,
freemarker.template.ObjectWrapper wrapper) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
Rendition.getHostDocument()
Return the Document hosting the rendition.
|
Modifier and Type | Method and Description |
---|---|
Object |
RenderableAdapterFactory.getAdapter(DocumentModel doc,
Class<?> adapterClass) |
Constructor and Description |
---|
RenderableDocument(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultAutomationRenditionProvider.isAvailable(DocumentModel doc,
RenditionDefinition def) |
boolean |
RenditionProvider.isAvailable(DocumentModel doc,
RenditionDefinition definition)
Test if the Rendition is available on the given DocumentModel
|
List<Blob> |
DefaultAutomationRenditionProvider.render(DocumentModel doc,
RenditionDefinition definition) |
List<Blob> |
RenditionProvider.render(DocumentModel doc,
RenditionDefinition definition)
Generate the rendition Blobs for a given
RenditionDefinition . |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
StoredRendition.getHostDocument() |
DocumentModel |
LiveRendition.getHostDocument() |
Constructor and Description |
---|
LiveRendition(DocumentModel doc,
RenditionDefinition definition) |
StoredRendition(DocumentModel stored,
RenditionDefinition definition) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
RenditionLiveDocFetcher.getLiveDocument() |
Modifier and Type | Method and Description |
---|---|
PublishedDocument |
RenditionPublicationFactory.publishDocument(DocumentModel doc,
PublicationNode targetNode,
Map<String,String> params) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
RenditionCreator.getDetachedDendition() |
DocumentModel |
RenditionFinder.getStoredRendition() |
Modifier and Type | Method and Description |
---|---|
List<RenditionDefinition> |
RenditionServiceImpl.getAvailableRenditionDefinitions(DocumentModel doc) |
List<RenditionDefinition> |
RenditionService.getAvailableRenditionDefinitions(DocumentModel doc)
Returns a
List of RenditionDefinition available on the
given Document. |
List<Rendition> |
RenditionServiceImpl.getAvailableRenditions(DocumentModel doc) |
List<Rendition> |
RenditionService.getAvailableRenditions(DocumentModel doc)
Returns a
List of Rendition available on the given
Document. |
Rendition |
RenditionServiceImpl.getRendition(DocumentModel doc,
String renditionName) |
Rendition |
RenditionService.getRendition(DocumentModel doc,
String renditionName)
Return the
Rendition object for the given DocumentModel
and a rendition definition name. |
Rendition |
RenditionServiceImpl.getRendition(DocumentModel doc,
String renditionName,
boolean store) |
Rendition |
RenditionService.getRendition(DocumentModel doc,
String renditionName,
boolean store)
Return the
Rendition object for the given DocumentModel
and a rendition definition name. |
DocumentRef |
RenditionServiceImpl.storeRendition(DocumentModel source,
String renditionDefinitionName) |
DocumentRef |
RenditionService.storeRendition(DocumentModel sourceDocument,
String renditionDefinitionName)
Render a document based on the given rendition definition name and
returns the stored Rendition
DocumentRef . |
Constructor and Description |
---|
RenditionCreator(CoreSession session,
DocumentModel liveDocument,
DocumentModel versionDocument,
Blob renditionBlob,
String renditionName) |
Modifier and Type | Method and Description |
---|---|
static String |
RenditionBasedCodec.getRenditionUrl(DocumentModel doc,
String renditionName) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
ReportModel.getDoc() |
DocumentModel |
ReportInstance.getDoc()
Gives access to the underlying
DocumentModel |
DocumentModel |
BaseBirtReportAdapter.getDoc() |
Modifier and Type | Method and Description |
---|---|
Object |
AdapterFactory.getAdapter(DocumentModel doc,
Class adapterClass) |
Constructor and Description |
---|
BaseBirtReportAdapter(DocumentModel doc) |
BirtReportInstance(DocumentModel doc) |
BirtReportModel(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
static void |
ReportContext.setContextualParameters(List<ReportParameter> reportParams,
DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
ReportActions.getBareReportModel() |
DocumentModel |
ReportActions.getNewReportModel() |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
DocumentRoutingPersister.createDocumentRouteInstanceFromDocumentRouteModel(DocumentModel model,
CoreSession session)
Creates a blank
DocumentRoute instance from a model. |
DocumentModel |
DocumentRouteTableElement.getDocument()
Deprecated.
|
DocumentModel |
DocumentRouteElement.getDocument()
Get the underlying document representing this element.
|
DocumentModel |
DocumentRoutingPersister.getOrCreateRootOfDocumentRouteInstanceStructure(CoreSession session)
Will get, and create if it does not exists the root document in which
DocumentRoute structure will be created. |
DocumentModel |
DocumentRoutingPersister.getParentFolderForDocumentRouteInstance(DocumentModel document,
CoreSession session)
Get or create the parent folder for a
DocumentRoute route
instance. |
DocumentModel |
DocumentRoutingPersister.getParentFolderForDocumentRouteModels(CoreSession session)
Gets or creates the parent folder for a
DocumentRoute route
instance. |
DocumentModel |
DocumentRoutingPersister.getParentFolderForNewModel(CoreSession session,
DocumentModel instance)
Returns a folder in which new model, created from an instance of route
will be stored.
|
DocumentModel |
DocumentRoutingPersister.saveDocumentRouteInstanceAsNewModel(DocumentModel routeInstance,
DocumentModel parentFolder,
String newName,
CoreSession session) |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
RoutingTaskService.getWorkflowInputDocuments(CoreSession session,
Task task)
Deprecated.
since 5.6, use DocumentRoutingService instead
|
List<DocumentModel> |
DocumentRoutingService.getWorkflowInputDocuments(CoreSession session,
Task task)
Gets the documents following the workflow to which the given task belongs
|
List<DocumentModel> |
DocumentRoutingService.searchRouteModels(CoreSession session,
String searchString)
Returns the route models matching the
searchString . |
Modifier and Type | Method and Description |
---|---|
boolean |
DocumentRoutingService.canValidateRoute(DocumentModel documentRoute,
CoreSession coreSession)
Checks if the principal that created the client session can validate the
route
|
DocumentModel |
DocumentRoutingPersister.createDocumentRouteInstanceFromDocumentRouteModel(DocumentModel model,
CoreSession session)
Creates a blank
DocumentRoute instance from a model. |
String |
DocumentRoutingPersister.getNewModelName(DocumentModel instance)
Return the new name of a model when it is created from an instance.
|
DocumentModel |
DocumentRoutingPersister.getParentFolderForDocumentRouteInstance(DocumentModel document,
CoreSession session)
Get or create the parent folder for a
DocumentRoute route
instance. |
DocumentModel |
DocumentRoutingPersister.getParentFolderForNewModel(CoreSession session,
DocumentModel instance)
Returns a folder in which new model, created from an instance of route
will be stored.
|
boolean |
DocumentRoutingService.isRoutable(DocumentModel doc)
Checks if the given document can be associated to a DocumentRoute.
|
DocumentModel |
DocumentRoutingPersister.saveDocumentRouteInstanceAsNewModel(DocumentModel routeInstance,
DocumentModel parentFolder,
String newName,
CoreSession session) |
Modifier and Type | Method and Description |
---|---|
void |
DocumentRoutingService.grantPermissionToTaskAssignees(CoreSession session,
String permission,
List<DocumentModel> docs,
Task task)
Grants on these documents the specified assignees permissions for this
task.
|
void |
DocumentRoutingService.grantPermissionToTaskDelegatedActors(CoreSession session,
String permission,
List<DocumentModel> docs,
Task task)
Grants on these documents the specified assignees permissions for this
task to the tasks delegated actors.
|
void |
DocumentRoutingService.removePermissionFromTaskAssignees(CoreSession session,
List<DocumentModel> docs,
Task task)
Removes on these documents the specified assignees permissions for this
task.
|
void |
DocumentRoutingService.removePermissionsForTaskActors(CoreSession session,
List<DocumentModel> docs,
Task task)
Removes on these documents the specified assignees permissions for the
task actors and also tasks delegated actors if this task was delegated
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
MapPropertiesOnTaskOperation.run(DocumentModel taskDoc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
MapPropertiesOnTaskOperation.run(DocumentModel taskDoc) |
Modifier and Type | Method and Description |
---|---|
Object |
LockableDocumentAdapterFactory.getAdapter(DocumentModel doc,
Class clazz) |
Object |
DocumentRouteAdapterFactory.getAdapter(DocumentModel doc,
Class itf) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
CompleteTaskOperation.completeTask(DocumentModel task) |
DocumentModel |
StartWorkflowOperation.run(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
CompleteTaskOperation.completeTask(DocumentModel task) |
DocumentModelList |
GetOpenTasksOperation.getAllTasks(DocumentModel doc) |
DocumentModel |
StartWorkflowOperation.run(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
RoutingTaskServiceImpl.getWorkflowInputDocuments(CoreSession session,
Task task)
Deprecated.
|
List<DocumentModel> |
DocumentRoutingServiceImpl.getWorkflowInputDocuments(CoreSession session,
Task task) |
List<DocumentModel> |
DocumentRoutingServiceImpl.searchRouteModels(CoreSession session,
String searchString) |
Modifier and Type | Method and Description |
---|---|
boolean |
DocumentRoutingServiceImpl.canValidateRoute(DocumentModel documentRoute,
CoreSession coreSession) |
DocumentModel |
DocumentRoutingTreePersister.createDocumentRouteInstanceFromDocumentRouteModel(DocumentModel model,
CoreSession session) |
static void |
AuditEventFirer.fireEvent(CoreSession coreSession,
DocumentRouteElement element,
Map<String,Serializable> eventProperties,
String eventName,
DocumentModel doc) |
String |
DocumentRoutingTreePersister.getNewModelName(DocumentModel instance) |
DocumentModel |
DocumentRoutingTreePersister.getParentFolderForDocumentRouteInstance(DocumentModel document,
CoreSession session) |
DocumentModel |
DocumentRoutingTreePersister.getParentFolderForNewModel(CoreSession session,
DocumentModel instance) |
static Map<String,Serializable> |
GraphVariablesUtil.getVariables(DocumentModel doc,
String facetProp) |
boolean |
DocumentRoutingServiceImpl.isRoutable(DocumentModel doc) |
DocumentModel |
DocumentRoutingTreePersister.saveDocumentRouteInstanceAsNewModel(DocumentModel routeInstance,
DocumentModel parentFolder,
String newName,
CoreSession session) |
static void |
GraphVariablesUtil.setJSONVariables(DocumentModel doc,
String facetProp,
Map<String,String> map)
Sets the variables of the workflow based on their JSON representation
(especially for scalar lists).
|
static void |
GraphVariablesUtil.setVariables(DocumentModel doc,
String facetProp,
Map<String,Serializable> map) |
Modifier and Type | Method and Description |
---|---|
static void |
EventFirer.fireEvent(CoreSession coreSession,
List<DocumentModel> docs,
Map<String,Serializable> eventProperties,
String eventName)
Fires an event in the category 'routing' for every document in the list
|
void |
DocumentRoutingServiceImpl.grantPermissionToTaskAssignees(CoreSession session,
String permission,
List<DocumentModel> docs,
Task task) |
void |
DocumentRoutingServiceImpl.grantPermissionToTaskDelegatedActors(CoreSession session,
String permission,
List<DocumentModel> docs,
Task task) |
void |
DocumentRoutingServiceImpl.removePermissionFromTaskAssignees(CoreSession session,
List<DocumentModel> docs,
Task task) |
void |
DocumentRoutingServiceImpl.removePermissionsForTaskActors(CoreSession session,
List<DocumentModel> docs,
Task task) |
Constructor and Description |
---|
DocumentRouteElementImpl(DocumentModel doc,
ElementRunner runner) |
DocumentRouteImpl(DocumentModel doc,
ElementRunner runner) |
DocumentRouteStepsContainerImpl(DocumentModel doc,
ElementRunner runner) |
GraphNodeImpl(DocumentModel doc) |
GraphNodeImpl(DocumentModel doc,
GraphRouteImpl graph) |
GraphRouteImpl(DocumentModel doc) |
LockableDocumentRouteImpl(DocumentModel document) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
RouteModelsZipImporter.create(CoreSession session,
Blob content,
String path,
boolean overwrite,
String filename,
TypeManager typeService) |
static DocumentModel |
TreeHelper.getOrCreate(CoreSession session,
String rootPath,
String id,
String folderType) |
static DocumentModel |
TreeHelper.getOrCreateDateTreeFolder(CoreSession session,
DocumentModel root,
Date date,
String folderType)
Find or create a set of folders representing the date hierarchy
|
static DocumentModel |
TreeHelper.getOrCreatePath(CoreSession session,
DocumentModel root,
String subPath,
String folderType) |
Modifier and Type | Method and Description |
---|---|
static DocumentModel |
TreeHelper.getOrCreateDateTreeFolder(CoreSession session,
DocumentModel root,
Date date,
String folderType)
Find or create a set of folders representing the date hierarchy
|
static DocumentModel |
TreeHelper.getOrCreatePath(CoreSession session,
DocumentModel root,
String subPath,
String folderType) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
TaskStepImpl.getDocument()
Deprecated.
|
DocumentModel |
TaskStep.getDocument()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Object |
TaskStepAdapterFactory.getAdapter(DocumentModel doc,
Class itf)
Deprecated.
|
Object |
RoutingTaskAdapterFactory.getAdapter(DocumentModel doc,
Class itf)
Deprecated.
|
Constructor and Description |
---|
RoutingTaskImpl(DocumentModel doc)
Deprecated.
|
TaskStepImpl(DocumentModel doc)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
CreateRoutingTask.createTask(DocumentModel document)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
CreateRoutingTask.createTask(DocumentModel document)
Deprecated.
|
void |
EvaluateCondition.evaluateCondition(DocumentModel doc)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
DocumentRoutingActionsBean.getChildWithPosition(DocumentModel docRouteElement,
String pos)
Deprecated.
|
DocumentModel |
DocumentRoutingSuggestionActionsBean.getDocumentModel(String id) |
DocumentModel |
DocumentRoutingActionsBean.getRouteInstanceFor(Task task) |
DocumentModel |
DocumentRoutingActionsBean.getRouteModel(String routeId) |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
RelatedRouteActionBean.findRelatedRoute() |
List<DocumentModel> |
RelatedRouteActionBean.findRelatedRoute(String documentId) |
List<DocumentModel> |
DocumentRoutingSuggestionActionsBean.getDocumentSuggestions(Object input) |
List<DocumentModel> |
DocumentRoutingActionsBean.getFilteredRouteModels() |
List<DocumentModel> |
DocumentRoutingActionsBean.getOrderedChildren(String docRouteElementId,
String type)
Deprecated.
|
List<DocumentModel> |
DocumentRoutingSuggestionActionsBean.getRouteModelSuggestions(Object input) |
Modifier and Type | Method and Description |
---|---|
boolean |
RouteSecurityChecker.canValidateRoute(DocumentModel routeDocument) |
List<Action> |
DocumentRoutingWebActionsBean.getAddStepActions(DocumentModel step)
Deprecated.
since 5.9.2 - Use only routes of type 'graph'
|
List<Action> |
DocumentRoutingWebActionsBean.getAddStepInActions(DocumentModel step)
Deprecated.
since 5.9.2 - Use only routes of type 'graph'
|
DocumentModel |
DocumentRoutingActionsBean.getChildWithPosition(DocumentModel docRouteElement,
String pos)
Deprecated.
|
List<Action> |
DocumentRoutingWebActionsBean.getEditStepActions(DocumentModel step)
Deprecated.
since 5.9.2 - Use only routes of type 'graph'
|
String |
DocumentRoutingActionsBean.getPositionForChild(DocumentModel docRouteElement,
DocumentModel docChild)
Deprecated.
|
List<Action> |
DocumentRoutingWebActionsBean.getRemoveStepActions(DocumentModel step)
Deprecated.
since 5.9.2 - Use only routes of type 'graph'
|
boolean |
DocumentRoutingActionsBean.isEditableRouteElement(DocumentModel stepDoc)
Deprecated.
since 5.9.2 - Use only routes of type 'graph'
|
boolean |
DocumentRoutingActionsBean.isEditableStep(DocumentModel stepDoc)
Deprecated.
since 5.9.2 - Use only routes of type 'graph'
|
boolean |
DocumentRoutingActionsBean.isEmptyFork(DocumentModel forkDoc) |
boolean |
DocumentRoutingActionsBean.isStep(DocumentModel doc) |
String |
RoutingTaskActionsBean.navigateToTask(DocumentModel taskDoc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
ScanedFileFactory.createFolderishNode(CoreSession session,
DocumentModel parent,
SourceNode node) |
DocumentModel |
ScanedFileFactory.createLeafNode(CoreSession session,
DocumentModel parent,
SourceNode node) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
ScanedFileFactory.createFolderishNode(CoreSession session,
DocumentModel parent,
SourceNode node) |
DocumentModel |
ScanedFileFactory.createLeafNode(CoreSession session,
DocumentModel parent,
SourceNode node) |
Modifier and Type | Method and Description |
---|---|
static DocumentModel |
ShibbolethGroupHelper.createGroup(DocumentModel group) |
static DocumentModel |
ShibbolethGroupHelper.getBareGroupModel(CoreSession core) |
static DocumentModel |
ShibbolethGroupHelper.getGroup(String groupName) |
Modifier and Type | Method and Description |
---|---|
static DocumentModel |
ShibbolethGroupHelper.createGroup(DocumentModel group) |
static void |
ShibbolethGroupHelper.deleteGroup(DocumentModel group) |
static void |
ShibbolethGroupHelper.updateGroup(DocumentModel group) |
Modifier and Type | Method and Description |
---|---|
static boolean |
ELGroupComputerHelper.isUserInGroup(DocumentModel user,
String el) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
ShibbolethGroupManagerActionsBean.getNewGroup() |
DocumentModel |
ShibbolethGroupManagerActionsBean.getSelectedGroup() |
Modifier and Type | Method and Description |
---|---|
static List<UserTreeNode> |
UserTreeNodeHelper.buildBranch(String branch,
List<DocumentModel> docs) |
static List<UserTreeNode> |
UserTreeNode.constructNodes(Collection<DocumentModel> docs)
Factory method to build a collection of UserTReeNode.
|
static List<UserTreeNode> |
UserTreeNodeHelper.getHierarcicalNodes(List<DocumentModel> docs)
Build UserTreeNode Tree by parsing the name of all docs passed by argument.
|
Constructor and Description |
---|
UserTreeNode(DocumentModel document) |
Modifier and Type | Method and Description |
---|---|
List<X509Certificate> |
SignatureService.getCertificates(DocumentModel doc)
Returns a list of certificates associated with a given document.
|
SignatureService.StatusWithBlob |
SignatureService.getSigningStatus(DocumentModel doc,
DocumentModel currentUser)
Finds the signing status for the document.
|
Blob |
SignatureService.signDocument(DocumentModel doc,
DocumentModel user,
String userKeyPassword,
String reason,
boolean pdfa,
SignatureService.SigningDisposition disposition,
String archiveFilename)
Signs a document with a user certificate (converts it into a PDF first if
needed).
|
Blob |
SignatureService.signPDF(Blob pdfBlob,
DocumentModel user,
String userKeyPassword,
String reason)
Signs a PDF document with a user certificate.
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
CUserService.createCertificate(DocumentModel user,
String userKeyPassword)
Generates user certificate and user keys, saves them to a user store, and
persists the store in the directory.
|
DocumentModel |
CUserService.getCertificate(String userID)
Retrieves a user certificate from the directory.
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
CUserService.createCertificate(DocumentModel user,
String userKeyPassword)
Generates user certificate and user keys, saves them to a user store, and
persists the store in the directory.
|
String |
CUserService.getUserCertInfo(DocumentModel user,
String userKeyPassword)
Returns simplified textual representation of a certificate's contents.
|
UserInfo |
CUserService.getUserInfo(DocumentModel userModel)
Retrieves a UserInfo object containing information needed for certificate
generation.
|
Modifier and Type | Method and Description |
---|---|
List<X509Certificate> |
SignatureServiceImpl.getCertificates(DocumentModel doc) |
SignatureService.StatusWithBlob |
SignatureServiceImpl.getSigningStatus(DocumentModel doc,
DocumentModel user) |
Blob |
SignatureServiceImpl.signDocument(DocumentModel doc,
DocumentModel user,
String keyPassword,
String reason,
boolean pdfa,
SignatureService.SigningDisposition disposition,
String archiveFilename) |
Blob |
SignatureServiceImpl.signPDF(Blob pdfBlob,
DocumentModel user,
String keyPassword,
String reason) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
CUserServiceImpl.createCertificate(DocumentModel user,
String userKeyPassword) |
DocumentModel |
CUserServiceImpl.getCertificate(String userID) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
CUserServiceImpl.createCertificate(DocumentModel user,
String userKeyPassword) |
String |
CUserServiceImpl.getUserCertInfo(DocumentModel user,
String userKeyPassword) |
UserInfo |
CUserServiceImpl.getUserInfo(DocumentModel userModel) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
CertActions.getCertificate()
Retrieves a user certificate and returns a certificate's document model
object
|
Modifier and Type | Method and Description |
---|---|
boolean |
CertActions.hasCertificate(DocumentModel user)
Checks if a specified user has a certificate
|
Modifier and Type | Field and Description |
---|---|
DocumentModel |
SuggestionContext.currentDocument |
Modifier and Type | Method and Description |
---|---|
static Suggestion |
DocumentSuggestion.fromDocumentModel(DocumentModel doc) |
SuggestionContext |
SuggestionContext.withCurrentDocument(DocumentModel currentDocument) |
Modifier and Type | Method and Description |
---|---|
void |
TagActionsBean.addTagsOnEvent(List<DocumentModel> documents,
DocumentModel docModel) |
static String |
TagActionsBean.getDocIdForTag(DocumentModel doc)
Deprecated.
since 5.7.3. The proxy is tagged itself.
|
Modifier and Type | Method and Description |
---|---|
void |
TagActionsBean.addTagsOnEvent(List<DocumentModel> documents,
DocumentModel docModel) |
Modifier and Type | Method and Description |
---|---|
void |
TagsLoader.fillProperties(DocumentModel doc,
List<DocumentProperty> props,
WSRemotingSession rs) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
TaskImpl.getDocument() |
DocumentModel |
Task.getDocument() |
DocumentModel |
TaskService.getTargetDocumentModel(Task ti,
CoreSession coreSession) |
Modifier and Type | Method and Description |
---|---|
List<Task> |
TaskService.createTask(CoreSession coreSession,
NuxeoPrincipal principal,
DocumentModel document,
String taskName,
List<String> prefixedActorIds,
boolean createOneTaskPerActor,
String directive,
String comment,
Date dueDate,
Map<String,String> taskVariables,
String parentPath)
Creates a task and starts it.
|
List<Task> |
TaskService.createTask(CoreSession coreSession,
NuxeoPrincipal principal,
DocumentModel document,
String taskName,
String taskType,
String processId,
List<String> prefixedActorIds,
boolean createOneTaskPerActor,
String directive,
String comment,
Date dueDate,
Map<String,String> taskVariables,
String parentPath)
Creates a task and starts it.
|
List<Task> |
TaskService.createTask(CoreSession coreSession,
NuxeoPrincipal principal,
DocumentModel document,
String taskDocumentType,
String taskName,
String taskType,
String processId,
List<String> prefixedActorIds,
boolean createOneTaskPerActor,
String directive,
String comment,
Date dueDate,
Map<String,String> taskVariables,
String parentPath,
Map<String,Serializable> eventInfo)
Creates a task of the given document type and starts it.
|
Object |
TaskAdapterFactory.getAdapter(DocumentModel doc,
Class<?> itf) |
List<Task> |
TaskProvider.getTaskInstances(DocumentModel dm,
List<String> actors,
boolean includeDelegatedTasks,
CoreSession session)
Returns the list of task instances associated with this document assigned
to one of the actor in the list or its pool.
|
List<Task> |
TaskProvider.getTaskInstances(DocumentModel dm,
List<String> actors,
CoreSession coreSession)
Returns the list of task instances associated with this document assigned
to one of the actor in the list or its pool.
|
List<Task> |
TaskProvider.getTaskInstances(DocumentModel dm,
NuxeoPrincipal user,
CoreSession coreSssion)
Returns the list of task instances associated with this document for
which the user is the actor or belongs to the pooled actor list.
|
Modifier and Type | Method and Description |
---|---|
List<Task> |
TaskService.createTask(CoreSession coreSession,
NuxeoPrincipal principal,
List<DocumentModel> documents,
String taskDocumentType,
String taskName,
String taskType,
String processId,
List<String> prefixedActorIds,
boolean createOneTaskPerActor,
String directive,
String comment,
Date dueDate,
Map<String,String> taskVariables,
String parentPath,
Map<String,Serializable> eventInfo)
Creates a task of the given documents type and starts it.
|
Constructor and Description |
---|
TaskImpl(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
TaskServiceImpl.getTargetDocumentModel(Task task,
CoreSession coreSession) |
DocumentModel |
TaskServiceImpl.GetTaskRootParentPathUnrestricted.getTaskRootDoc() |
Modifier and Type | Method and Description |
---|---|
List<Task> |
TaskServiceImpl.createTask(CoreSession coreSession,
NuxeoPrincipal principal,
DocumentModel document,
String taskName,
List<String> actorIds,
boolean createOneTaskPerActor,
String directive,
String comment,
Date dueDate,
Map<String,String> taskVariables,
String parentPath) |
void |
CreateTaskUnrestricted.createTask(CoreSession coreSession,
NuxeoPrincipal principal,
DocumentModel document,
String taskName,
List<String> prefixedActorIds,
boolean createOneTaskPerActor,
String directive,
String comment,
Date dueDate,
Map<String,String> taskVariables,
String parentPath) |
List<Task> |
TaskServiceImpl.createTask(CoreSession coreSession,
NuxeoPrincipal principal,
DocumentModel document,
String taskName,
String taskType,
String processId,
List<String> prefixedActorIds,
boolean createOneTaskPerActor,
String directive,
String comment,
Date dueDate,
Map<String,String> taskVariables,
String parentPath) |
void |
CreateTaskUnrestricted.createTask(CoreSession coreSession,
NuxeoPrincipal principal,
DocumentModel document,
String taskDocumentType,
String taskName,
String taskType,
String processId,
List<String> prefixedActorIds,
boolean createOneTaskPerActor,
String directive,
String comment,
Date dueDate,
Map<String,String> taskVariables,
String parentPath) |
List<Task> |
TaskServiceImpl.createTask(CoreSession coreSession,
NuxeoPrincipal principal,
DocumentModel document,
String taskDocumentType,
String taskName,
String taskType,
String processId,
List<String> actorIds,
boolean createOneTaskPerActor,
String directive,
String comment,
Date dueDate,
Map<String,String> taskVariables,
String parentPath,
Map<String,Serializable> eventInfo) |
List<Task> |
TaskServiceImpl.getTaskInstances(DocumentModel dm,
List<String> actors,
boolean includeDelegatedTasks,
CoreSession session) |
List<Task> |
DocumentTaskProvider.getTaskInstances(DocumentModel dm,
List<String> actors,
boolean includeDelegatedTasks,
CoreSession session) |
List<Task> |
TaskServiceImpl.getTaskInstances(DocumentModel dm,
List<String> actors,
CoreSession coreSession) |
List<Task> |
DocumentTaskProvider.getTaskInstances(DocumentModel dm,
List<String> actors,
CoreSession coreSession) |
List<Task> |
TaskServiceImpl.getTaskInstances(DocumentModel dm,
NuxeoPrincipal user,
CoreSession coreSession) |
List<Task> |
DocumentTaskProvider.getTaskInstances(DocumentModel dm,
NuxeoPrincipal user,
CoreSession coreSession) |
static void |
TaskEventNotificationHelper.notifyEvent(CoreSession coreSession,
DocumentModel document,
NuxeoPrincipal principal,
Task task,
String eventId,
Map<String,Serializable> properties,
String comment,
String category) |
Modifier and Type | Method and Description |
---|---|
void |
CreateTaskUnrestricted.createTask(CoreSession coreSession,
NuxeoPrincipal principal,
List<DocumentModel> documents,
String taskDocumentType,
String taskName,
String taskType,
String processId,
List<String> prefixedActorIds,
boolean createOneTaskPerActor,
String directive,
String comment,
Date dueDate,
Map<String,String> taskVariables,
String parentPath) |
List<Task> |
TaskServiceImpl.createTask(CoreSession coreSession,
NuxeoPrincipal principal,
List<DocumentModel> documents,
String taskDocumentType,
String taskName,
String taskType,
String processId,
List<String> actorIds,
boolean createOneTaskPerActor,
String directive,
String comment,
Date dueDate,
Map<String,String> taskVariables,
String parentPath,
Map<String,Serializable> eventInfo) |
static List<Task> |
DocumentTaskProvider.wrapDocModelInTask(List<DocumentModel> taskDocuments)
Converts a
DocumentModelList to a list of Task s. |
Constructor and Description |
---|
CreateTaskUnrestricted(CoreSession session,
NuxeoPrincipal principal,
DocumentModel document,
String taskName,
List<String> prefixedActorIds,
boolean createOneTaskPerActor,
String directive,
String comment,
Date dueDate,
Map<String,String> taskVariables,
String parentPath) |
CreateTaskUnrestricted(CoreSession session,
NuxeoPrincipal principal,
DocumentModel document,
String taskName,
String taskType,
String processId,
List<String> prefixedActorIds,
boolean createOneTaskPerActor,
String directive,
String comment,
Date dueDate,
Map<String,String> taskVariables,
String parentPath) |
CreateTaskUnrestricted(CoreSession session,
NuxeoPrincipal principal,
DocumentModel document,
String taskDocumentType,
String taskName,
String taskType,
String processId,
List<String> prefixedActorIds,
boolean createOneTaskPerActor,
String directive,
String comment,
Date dueDate,
Map<String,String> taskVariables,
String parentPath) |
Constructor and Description |
---|
CreateTaskUnrestricted(CoreSession session,
NuxeoPrincipal principal,
List<DocumentModel> documents,
String taskDocumentType,
String taskName,
String taskType,
String processId,
List<String> prefixedActorIds,
boolean createOneTaskPerActor,
String directive,
String comment,
Date dueDate,
Map<String,String> taskVariables,
String parentPath) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
DashBoardItemImpl.getDocument() |
DocumentModel |
DashBoardItem.getDocument()
Returns the icon path for the doc ref.
|
Constructor and Description |
---|
DashBoardItemImpl(Task task,
DocumentModel document,
Locale locale) |
Modifier and Type | Method and Description |
---|---|
void |
TaskActionsBean.resetBeanCache(DocumentModel newCurrentDocumentModel) |
Modifier and Type | Method and Description |
---|---|
Blob |
ThumbnailFolderishFactory.computeThumbnail(DocumentModel doc,
CoreSession session) |
Blob |
ThumbnailDocumentFactory.computeThumbnail(DocumentModel doc,
CoreSession session) |
Blob |
ThumbnailFolderishFactory.getThumbnail(DocumentModel doc,
CoreSession session) |
Blob |
ThumbnailDocumentFactory.getThumbnail(DocumentModel doc,
CoreSession session) |
Modifier and Type | Method and Description |
---|---|
boolean |
TypeManager.canCreate(String typeName,
String containerTypeName,
DocumentModel currentDoc)
Returns
true if typeName is a sub type, allowed in
creation, of containerTypeName , false otherwise. |
boolean |
TypeService.canCreate(String typeName,
String containerTypeName,
DocumentModel currentDoc) |
Collection<Type> |
TypeManager.findAllAllowedSubTypesFrom(String typeName,
DocumentModel currentDoc)
Returns recursively all the allowed sub types from the given
typeName , filtered by a local UI types configuration retrieved
from the currentDoc , if any. |
Collection<Type> |
TypeService.findAllAllowedSubTypesFrom(String typeName,
DocumentModel currentDoc) |
Collection<Type> |
TypeManager.getAllowedSubTypes(String typeName,
DocumentModel currentDoc)
Returns the allowed sub types of the given
typeName , filtered by
a local UI types configuration retrieved from the currentDoc , if
any. |
Collection<Type> |
TypeService.getAllowedSubTypes(String typeName,
DocumentModel currentDoc) |
Map<String,List<Type>> |
TypeManager.getTypeMapForDocumentType(String typeName,
DocumentModel currentDoc)
Returns the sub type of the given
typeName , filtered by a local
UI types configuration retrieved from the currentDoc , if any, and
organized by type categories. |
Map<String,List<Type>> |
TypeService.getTypeMapForDocumentType(String typeName,
DocumentModel currentDoc) |
boolean |
TypeManager.isAllowedSubType(String typeName,
String containerTypeName,
DocumentModel currentDoc)
Returns
true if typeName is an allowed sub type of
containerTypeName , filtered by a local UI types configuration
retrieved from the currentDoc , if any, false otherwise. |
boolean |
TypeService.isAllowedSubType(String typeName,
String containerTypeName,
DocumentModel currentDoc) |
Modifier and Type | Method and Description |
---|---|
Object |
TypeInfoAdapterFactory.getAdapter(DocumentModel doc,
Class itf) |
Constructor and Description |
---|
TypeInfoAdapter(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
Object |
UITypesConfigurationFactory.getAdapter(DocumentModel doc,
Class<?> itf) |
Object |
ContentViewConfigurationFactory.getAdapter(DocumentModel doc,
Class<?> itf) |
Constructor and Description |
---|
ContentViewConfigurationAdapter(DocumentModel doc) |
UITypesConfigurationAdapter(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
Select2DirectoryActionsBean.getCreationDirectoryEntry(String directoryName) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
NavigationContext.factoryChangeableDocument()
Gets current document for edition.
|
DocumentModel |
NavigationContext.factoryCurrentContentRoot()
Gets the currentContentRootWorkspace and puts it in Page context.
|
DocumentModel |
NavigationContext.factoryCurrentDocument()
Gets the currentDocument and puts it in Page context.
|
DocumentModel |
NavigationContext.factoryCurrentDomain()
Gets the currentDomain and puts it in Page context.
|
DocumentModel |
NavigationContext.factoryCurrentSuperSpace()
Gets the currentSuperSpace and puts it in Page context.
|
DocumentModel |
NavigationContext.factoryCurrentWorkspace()
Gets the currentWorkspace and puts it in Page context.
|
DocumentModel |
NavigationContext.getChangeableDocument()
This is used for documents about to be created, which are not yet
persisted thus not all their fields might be valid (like its reference).
|
DocumentModel |
NavigationContext.getCurrentContentRoot()
Gets the current Content Root (Workspaces, Sections, Templates...).
|
DocumentModel |
NavigationContext.getCurrentDocument()
Current Document other than Domain or Workspace.
|
DocumentModel |
NavigationContext.getCurrentDomain()
Current Domain, if user has read permission on it.
|
DocumentModel |
NavigationContext.getCurrentSuperSpace()
Returns the currentSuperSpace (Section, Workspace...).
|
DocumentModel |
NavigationContext.getCurrentWorkspace()
Gets the current Workspace.
|
Modifier and Type | Method and Description |
---|---|
String |
SimpleFileManager.addBinaryFileFromPlugin(Blob blob,
String fullName,
DocumentModel targetContainer) |
Action |
WebActions.getActionForDocument(String actionId,
DocumentModel document,
boolean hideUnavailableAction)
Return action with given id, with context filled with given document.
|
String |
NavigationContext.getActionResult(DocumentModel doc,
UserAction action)
Performs context updates and returns the view associated with the
document and action passed.
|
List<Action> |
WebActions.getActionsListForDocument(String category,
DocumentModel document,
boolean hideUnavailableAction)
Returns all filtered actions for a given category and a context built
with given current document context, creating a new context for the
filters resolution.
|
String |
NavigationContext.navigateToDocument(DocumentModel doc)
Updates the context with given document and returns its default view.
|
String |
NavigationContext.navigateToDocument(DocumentModel doc,
String viewId)
Initializes the context for the given doc and returns its given view.
|
String |
NavigationContext.navigateToDocument(DocumentModel docModel,
VersionModel versionModel) |
String |
NavigationContext.navigateToDocumentWithView(DocumentModel doc,
String viewId)
Initializes the context for the given doc and returns its given view.
|
void |
NavigationContext.setChangeableDocument(DocumentModel changeableDocument) |
void |
NavigationContext.setCurrentContentRoot(DocumentModel currentContentRoot)
Sets the current ContentRoot.
|
void |
NavigationContext.setCurrentDocument(DocumentModel documentModel) |
void |
NavigationContext.setCurrentDomain(DocumentModel currentDomain) |
String |
WebActions.setCurrentTabAndNavigate(DocumentModel document,
String currentTabActionId)
Navigate to the given document and opens the view page of the given
document selecting the given tab.
|
void |
NavigationContext.updateDocumentContext(DocumentModel doc)
Updates the current document in the (session) context and resets the
other common structures (breadcrumbs, etc).
|
Modifier and Type | Method and Description |
---|---|
void |
ThreadSafeCacheHolder.addToCache(DocumentModel doc,
String key,
T value) |
T |
ThreadSafeCacheHolder.getFromCache(DocumentModel doc,
String key) |
void |
ThreadSafeCacheHolder.removeFromCache(DocumentModel doc,
String key) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
RestDocumentLink.getDocument() |
Modifier and Type | Method and Description |
---|---|
void |
RestDocumentLink.setDocument(DocumentModel document) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
TreeWidgetActions.getDocumentFromPath(String path)
Returns the
DocumentModel referenced by the given path if
exists, null otherwise. |
Modifier and Type | Method and Description |
---|---|
static DocumentModel |
DirectoryFunctions.getDirectoryEntry(String directoryName,
String entryId) |
static DocumentModel |
DirectoryHelper.getEntry(String directoryName,
String entryId)
Returns the entry with given id from specified directory.
|
Constructor and Description |
---|
DirectoryEntry(String schemaName,
DocumentModel model) |
Modifier and Type | Method and Description |
---|---|
void |
DocumentContextBoundActionBean.onContextChange(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
DocumentPathElement.getDocumentModel() |
DocumentModel |
ArchivedVersionsPathElement.getDocumentModel() |
Constructor and Description |
---|
ArchivedVersionsPathElement(DocumentModel docModel) |
DocumentPathElement(DocumentModel docModel) |
HiddenDocumentPathElement(DocumentModel docModel) |
VersionDocumentPathElement(DocumentModel docModel) |
Modifier and Type | Method and Description |
---|---|
String |
RestHelper.doPrint(DocumentModel doc,
String defaultTheme) |
String |
RestHelper.getDocumentUrl(DocumentModel doc) |
String |
RestHelper.getDocumentUrl(DocumentModel doc,
String viewId,
boolean newConversation) |
String |
RestHelper.getDocumentUrl(String patternName,
DocumentModel doc,
String viewId,
Map<String,String> parameters,
boolean newConversation) |
String |
RestHelper.getPrintUrl(DocumentModel doc,
String defaultTheme) |
Modifier and Type | Method and Description |
---|---|
static String |
DocumentModelFunctions.bigFileUrl(DocumentModel doc,
String blobPropertyName,
String filename) |
static String |
DocumentModelFunctions.bigIconExpandedPath(DocumentModel document) |
static String |
DocumentModelFunctions.bigIconPath(DocumentModel document) |
static boolean |
DocumentModelFunctions.canModify(DocumentModel document)
Returns true if document can be modified.
|
static String |
DocumentModelFunctions.complexFileUrl(String patternName,
DocumentModel doc,
int index,
String filename)
Convenient method to get the REST URL of a blob inside the
Files schema. |
static String |
DocumentModelFunctions.complexFileUrl(String patternName,
DocumentModel doc,
String listElement,
int index,
String blobPropertyName,
String filename)
Get the REST URL for a blob inside a list of complex type.
|
static String |
DocumentModelFunctions.complexLiveEditUrl(DocumentModel doc,
String listPropertyName,
int index,
String blobPropertyName,
String filenamePropertyName)
Build the nxedit URL for the "edit existing document" use case
|
static String |
DocumentModelFunctions.documentUrl(DocumentModel doc) |
static String |
DocumentModelFunctions.documentUrl(DocumentModel doc,
javax.servlet.http.HttpServletRequest req) |
static String |
DocumentModelFunctions.documentUrl(String patternName,
DocumentModel doc,
String viewId,
Map<String,String> parameters,
boolean newConversation) |
static String |
DocumentModelFunctions.documentUrl(String patternName,
DocumentModel doc,
String viewId,
Map<String,String> parameters,
boolean newConversation,
javax.servlet.http.HttpServletRequest req) |
static String |
DocumentModelFunctions.fileDescription(DocumentModel document,
String blobPropertyName,
String filePropertyName,
String filename) |
static String |
DocumentModelFunctions.fileUrl(String patternName,
DocumentModel doc,
String blobPropertyName,
String filename) |
static String |
DocumentModelFunctions.fileUrl(String baseURL,
String patternName,
DocumentModel doc,
String blobPropertyName,
String filename) |
static boolean |
DocumentModelFunctions.hasPermission(DocumentModel document,
String permission) |
static String |
DocumentModelFunctions.iconExpandedPath(DocumentModel document) |
static String |
DocumentModelFunctions.iconPath(DocumentModel document) |
static boolean |
DocumentModelFunctions.isDirty(DocumentModel doc) |
static String |
DocumentModelFunctions.liveCreateFromTemplateUrl(DocumentModel template)
Build the nxedit URL for the "create new document from template" use
case with "File" doc type and "file" schema
|
static String |
DocumentModelFunctions.liveCreateFromTemplateUrl(DocumentModel template,
String templateSchemaName,
String templateBlobFieldName,
String docType,
String schemaName,
String blobFieldName,
String filenameFieldName)
Build the nxedit URL for the "create new document from template" use
case
|
static String |
DocumentModelFunctions.liveEditUrl(DocumentModel doc)
Build the nxedit URL for the "edit existing document" use case for a
document using the file:content field as Blob holder
|
static String |
DocumentModelFunctions.liveEditUrl(DocumentModel doc,
String schemaName,
String blobFieldName,
String filenameFieldName)
Build the nxedit URL for the "edit existing document" use case
|
static String |
DocumentModelFunctions.titleOrId(DocumentModel document) |
static TypeInfo |
DocumentModelFunctions.typeInfo(DocumentModel document) |
static String |
DocumentModelFunctions.typeLabel(DocumentModel document) |
static String |
DocumentModelFunctions.typeView(DocumentModel document,
String viewId) |
Modifier and Type | Method and Description |
---|---|
static boolean |
DocumentsListsUtils.isDocumentInList(DocumentModel doc,
List<DocumentModel> list) |
static boolean |
DocumentsListsUtils.removeDocumentFromList(List<DocumentModel> documentList,
DocumentModel documentToRemove)
Removes one document from a list.
|
Modifier and Type | Method and Description |
---|---|
static List<DocumentRef> |
DocumentsListsUtils.getDocRefs(List<DocumentModel> documentsList)
Returns list of DocumentRef corresponding to the list of documents.
|
static List<DocumentRef> |
DocumentsListsUtils.getParentRefFromDocumentList(List<DocumentModel> documentList)
Returns the list of parents documentRef.
|
static List<String> |
DocumentsListsUtils.getTypesInList(List<DocumentModel> documentsList)
Returns list of the document types contained in the list of document.
|
static boolean |
DocumentsListsUtils.isDocumentInList(DocumentModel doc,
List<DocumentModel> list) |
static boolean |
DocumentsListsUtils.removeDocumentFromList(List<DocumentModel> documentList,
DocumentModel documentToRemove)
Removes one document from a list.
|
static void |
DocumentsListsUtils.removeDocumentsFromList(List<DocumentModel> documentList,
List<DocumentModel> documentsToRemove)
Removes some documents from a list.
|
static void |
DocumentsListsUtils.removeDocumentsFromList(List<DocumentModel> documentList,
List<DocumentModel> documentsToRemove)
Removes some documents from a list.
|
Modifier and Type | Method and Description |
---|---|
String |
UIDGenerator.createUID(DocumentModel document)
Returns a new UID for the given doc.
|
String |
UIDGenerator.getSequenceKey(DocumentModel document) |
void |
UIDGenerator.setUID(DocumentModel document)
Creates a new UID for the given doc and sets the field configured in the
generator component with this value.
|
void |
AbstractUIDGenerator.setUID(DocumentModel document) |
Modifier and Type | Method and Description |
---|---|
String |
UIDGenerator1.createUID(DocumentModel doc) |
String |
UIDGCoreDocument.createUID(DocumentModel document) |
String |
UIDGenerator1.getSequenceKey(DocumentModel doc) |
String |
UIDGCoreDocument.getSequenceKey(DocumentModel document) |
Modifier and Type | Method and Description |
---|---|
String |
UIDGeneratorService.createUID(DocumentModel doc) |
UIDGenerator |
UIDGeneratorService.getUIDGeneratorFor(DocumentModel doc)
Returns the uid generator to use for this document.
|
void |
UIDGeneratorService.setUID(DocumentModel doc)
Creates a new UID for the given doc and sets the field configured in the
generator component with this value.
|
Constructor and Description |
---|
DocumentViewImpl(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
static Blob |
DocumentFileCodec.getBlob(DocumentModel doc,
DocumentView docView) |
static Blob |
DocumentFileCodec.getBlobViaBlobHolder(DocumentModel doc,
String bhPath) |
static String |
DocumentFileCodec.getFilename(DocumentModel doc,
DocumentView docView) |
Modifier and Type | Field and Description |
---|---|
DocumentModel |
NuxeoPrincipalImpl.model |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
UserManagerImpl.createGroup(DocumentModel groupModel) |
DocumentModel |
FakeUserManagerImpl.createGroup(DocumentModel groupModel) |
DocumentModel |
UserManager.createGroup(DocumentModel groupModel)
Creates a group from given model
|
DocumentModel |
UserManagerImpl.createGroup(DocumentModel groupModel,
DocumentModel context) |
DocumentModel |
MultiTenantUserManager.createGroup(DocumentModel groupModel,
DocumentModel context)
Creates a group from given model with the given context.
|
DocumentModel |
UserManagerImpl.createUser(DocumentModel userModel) |
DocumentModel |
FakeUserManagerImpl.createUser(DocumentModel userModel) |
DocumentModel |
UserManager.createUser(DocumentModel userModel)
Creates user from given model.
|
DocumentModel |
UserManagerImpl.createUser(DocumentModel userModel,
DocumentModel context) |
DocumentModel |
MultiTenantUserManager.createUser(DocumentModel userModel,
DocumentModel context)
Creates user from given model into the given context document.
|
DocumentModel |
UserManagerImpl.getBareGroupModel() |
DocumentModel |
FakeUserManagerImpl.getBareGroupModel() |
DocumentModel |
UserManager.getBareGroupModel()
Returns a bare group model.
|
DocumentModel |
UserManagerImpl.getBareUserModel() |
DocumentModel |
FakeUserManagerImpl.getBareUserModel() |
DocumentModel |
UserManager.getBareUserModel()
Returns a bare user model.
|
DocumentModel |
UserManagerImpl.getGroupModel(String groupName) |
DocumentModel |
FakeUserManagerImpl.getGroupModel(String groupName) |
DocumentModel |
UserManager.getGroupModel(String groupName)
Return the group document model with this id or null if group does not
exist.
|
DocumentModel |
UserManagerImpl.getGroupModel(String groupIdValue,
DocumentModel context) |
DocumentModel |
MultiTenantUserManager.getGroupModel(String groupName,
DocumentModel context)
Return the group document model with this id concatenated with the
directory local config (if not null) or null if group does not exist.
|
DocumentModel |
NuxeoPrincipalImpl.getModel() |
DocumentModel |
DetachedNuxeoPrincipal.getModel() |
DocumentModel |
UserManagerImpl.getModelForUser(String name) |
DocumentModel |
FakeUserManagerImpl.getModelForUser(String name) |
DocumentModel |
UserManager.getModelForUser(String name)
Deprecated.
|
DocumentModel |
UserManagerImpl.getUserModel(String userName) |
DocumentModel |
FakeUserManagerImpl.getUserModel(String userName) |
DocumentModel |
UserManager.getUserModel(String userName)
Returns the document model representing user with given id or null if it
does not exist.
|
DocumentModel |
UserManagerImpl.getUserModel(String userName,
DocumentModel context) |
DocumentModel |
MultiTenantUserManager.getUserModel(String userName,
DocumentModel context)
Returns the document model representing user with given id or null if it
does not exist into the given context document.
|
DocumentModel |
UserMultiTenantManagement.groupTransformer(UserManager um,
DocumentModel group,
DocumentModel context)
Transform the Group DocumentModel store it into the tenant described by
the context
|
DocumentModel |
DefaultUserMultiTenantManagement.groupTransformer(UserManager um,
DocumentModel group,
DocumentModel context) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
UserManagerImpl.createGroup(DocumentModel groupModel) |
DocumentModel |
FakeUserManagerImpl.createGroup(DocumentModel groupModel) |
DocumentModel |
UserManager.createGroup(DocumentModel groupModel)
Creates a group from given model
|
DocumentModel |
UserManagerImpl.createGroup(DocumentModel groupModel,
DocumentModel context) |
DocumentModel |
MultiTenantUserManager.createGroup(DocumentModel groupModel,
DocumentModel context)
Creates a group from given model with the given context.
|
DocumentModel |
UserManagerImpl.createUser(DocumentModel userModel) |
DocumentModel |
FakeUserManagerImpl.createUser(DocumentModel userModel) |
DocumentModel |
UserManager.createUser(DocumentModel userModel)
Creates user from given model.
|
DocumentModel |
UserManagerImpl.createUser(DocumentModel userModel,
DocumentModel context) |
DocumentModel |
MultiTenantUserManager.createUser(DocumentModel userModel,
DocumentModel context)
Creates user from given model into the given context document.
|
void |
UserManagerImpl.deleteGroup(DocumentModel groupModel) |
void |
FakeUserManagerImpl.deleteGroup(DocumentModel groupModel) |
void |
UserManager.deleteGroup(DocumentModel groupModel)
Deletes group represented by given model.
|
void |
UserManagerImpl.deleteGroup(DocumentModel groupModel,
DocumentModel context) |
void |
MultiTenantUserManager.deleteGroup(DocumentModel groupModel,
DocumentModel context)
Deletes group represented by given model with the given context.
|
void |
UserManagerImpl.deleteGroup(String groupId,
DocumentModel context) |
void |
MultiTenantUserManager.deleteGroup(String groupId,
DocumentModel context)
Deletes group with given id with the given context.
|
void |
UserManagerImpl.deleteUser(DocumentModel userModel) |
void |
FakeUserManagerImpl.deleteUser(DocumentModel userModel) |
void |
UserManager.deleteUser(DocumentModel userModel)
Deletes user represented by given model.
|
void |
UserManagerImpl.deleteUser(DocumentModel userModel,
DocumentModel context) |
void |
MultiTenantUserManager.deleteUser(DocumentModel userModel,
DocumentModel context)
Deletes user represented by given model into the given context document.
|
void |
UserManagerImpl.deleteUser(String userId,
DocumentModel context) |
void |
MultiTenantUserManager.deleteUser(String userId,
DocumentModel context)
Deletes user with given id into the given context document.
|
Object |
UserAdapterFactory.getAdapter(DocumentModel doc,
Class itf) |
List<String> |
UserManagerImpl.getGroupIds(DocumentModel context) |
List<String> |
MultiTenantUserManager.getGroupIds(DocumentModel context)
Returns the list of all groups ids with the given context.
|
DocumentModel |
UserManagerImpl.getGroupModel(String groupIdValue,
DocumentModel context) |
DocumentModel |
MultiTenantUserManager.getGroupModel(String groupName,
DocumentModel context)
Return the group document model with this id concatenated with the
directory local config (if not null) or null if group does not exist.
|
List<String> |
UserManagerImpl.getGroupsInGroup(String parentId,
DocumentModel context) |
List<String> |
MultiTenantUserManager.getGroupsInGroup(String parentId,
DocumentModel context)
Returns the list of groups that belong to this group with the given
context.
|
NuxeoPrincipal |
UserManagerImpl.getPrincipal(String username,
DocumentModel context) |
NuxeoPrincipal |
MultiTenantUserManager.getPrincipal(String username,
DocumentModel context)
Retrieves the principal with the given username or null if it does not
exist into the given context document.
|
List<String> |
UserManagerImpl.getTopLevelGroups(DocumentModel context) |
List<String> |
MultiTenantUserManager.getTopLevelGroups(DocumentModel context)
Returns the list of groups that are not members of other groups with the
given context.
|
List<String> |
UserManagerImpl.getUserIds(DocumentModel context) |
List<String> |
MultiTenantUserManager.getUserIds(DocumentModel context)
Returns the list of all user ids into the given context document.
|
DocumentModel |
UserManagerImpl.getUserModel(String userName,
DocumentModel context) |
DocumentModel |
MultiTenantUserManager.getUserModel(String userName,
DocumentModel context)
Returns the document model representing user with given id or null if it
does not exist into the given context document.
|
String[] |
UserManagerImpl.getUsersForPermission(String perm,
ACP acp,
DocumentModel context) |
String[] |
MultiTenantUserManager.getUsersForPermission(String perm,
ACP acp,
DocumentModel context)
For an ACP, get the list of user that has a permission into the given
context.
|
List<String> |
UserManagerImpl.getUsersInGroup(String groupId,
DocumentModel context) |
List<String> |
MultiTenantUserManager.getUsersInGroup(String groupId,
DocumentModel context)
Returns the list of users that belong to this group into the given
context
|
List<String> |
UserManagerImpl.getUsersInGroupAndSubGroups(String groupId,
DocumentModel context) |
List<String> |
MultiTenantUserManager.getUsersInGroupAndSubGroups(String groupId,
DocumentModel context)
Get users from a group and its subgroups into the given context
|
String |
UserMultiTenantManagement.groupnameTranformer(UserManager um,
String groupname,
DocumentModel context)
Transform the GroupName to add to tenant characteristic.
|
String |
DefaultUserMultiTenantManagement.groupnameTranformer(UserManager um,
String groupname,
DocumentModel context) |
DocumentModel |
UserMultiTenantManagement.groupTransformer(UserManager um,
DocumentModel group,
DocumentModel context)
Transform the Group DocumentModel store it into the tenant described by
the context
|
DocumentModel |
DefaultUserMultiTenantManagement.groupTransformer(UserManager um,
DocumentModel group,
DocumentModel context) |
void |
UserMultiTenantManagement.queryTransformer(UserManager um,
Map<String,Serializable> filter,
Set<String> fulltext,
DocumentModel context)
Transform filter and fulltext to fetch Groups for the given context and
the query specified with the given filter and fulltext.
|
void |
DefaultUserMultiTenantManagement.queryTransformer(UserManager um,
Map<String,Serializable> filter,
Set<String> fulltext,
DocumentModel context) |
DocumentModelList |
UserManagerImpl.searchGroups(Map<String,Serializable> filter,
Set<String> fulltext,
DocumentModel context) |
DocumentModelList |
MultiTenantUserManager.searchGroups(Map<String,Serializable> filter,
Set<String> fulltext,
DocumentModel context)
Returns groups matching given criteria with the given context.
|
DocumentModelList |
UserManagerImpl.searchGroups(String pattern,
DocumentModel context) |
DocumentModelList |
MultiTenantUserManager.searchGroups(String pattern,
DocumentModel context)
Search matching groups through their defined search fields into the given
context document.
|
DocumentModelList |
UserManagerImpl.searchUsers(Map<String,Serializable> filter,
Set<String> fulltext,
DocumentModel context) |
DocumentModelList |
MultiTenantUserManager.searchUsers(Map<String,Serializable> filter,
Set<String> fulltext,
DocumentModel context)
Returns users matching given criteria and with the given context.
|
DocumentModelList |
UserManagerImpl.searchUsers(Map<String,Serializable> filter,
Set<String> fulltext,
Map<String,String> orderBy,
DocumentModel context)
MULTI-TENANT-IMPLEMENTATION
|
DocumentModelList |
UserManagerImpl.searchUsers(String pattern,
DocumentModel context) |
DocumentModelList |
MultiTenantUserManager.searchUsers(String pattern,
DocumentModel context)
Returns users matching given pattern with the given context.
|
void |
NuxeoPrincipalImpl.setModel(DocumentModel model) |
void |
DetachedNuxeoPrincipal.setModel(DocumentModel model) |
void |
NuxeoPrincipalImpl.setModel(DocumentModel model,
boolean updateAllGroups)
Sets model and recomputes all groups.
|
void |
UserManagerImpl.updateGroup(DocumentModel groupModel) |
void |
FakeUserManagerImpl.updateGroup(DocumentModel groupModel) |
void |
UserManager.updateGroup(DocumentModel groupModel)
Updates group represented by given model.
|
void |
UserManagerImpl.updateGroup(DocumentModel groupModel,
DocumentModel context) |
void |
MultiTenantUserManager.updateGroup(DocumentModel groupModel,
DocumentModel context)
Updates group represented by given model with the given context.
|
void |
UserManagerImpl.updateUser(DocumentModel userModel) |
void |
FakeUserManagerImpl.updateUser(DocumentModel userModel) |
void |
UserManager.updateUser(DocumentModel userModel)
Updates user represented by given model.
|
void |
UserManagerImpl.updateUser(DocumentModel userModel,
DocumentModel context) |
void |
MultiTenantUserManager.updateUser(DocumentModel userModel,
DocumentModel context)
Updates user represented by given model into the given context document.
|
Constructor and Description |
---|
UserAdapterImpl(DocumentModel doc,
UserManager userManager) |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
AbstractGroupsPageProvider.computeCurrentPage() |
List<DocumentModel> |
UsersPageProvider.getCurrentPage() |
List<DocumentModel> |
GroupsPageProvider.getCurrentPage() |
Constructor and Description |
---|
SimpleUserPreferences(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
UserWorkspaceManagerActions.getCurrentUserPersonalWorkspace()
Gets the current user personal workspace.
|
DocumentModel |
UserWorkspaceService.getCurrentUserPersonalWorkspace(CoreSession userCoreSession,
DocumentModel context) |
DocumentModel |
UserWorkspaceService.getCurrentUserPersonalWorkspace(String userName,
DocumentModel currentDocument)
Gets the current user personal workspace from a lower level.
|
DocumentModel |
UserWorkspaceService.getUserPersonalWorkspace(NuxeoPrincipal principal,
DocumentModel context)
Gets a detached user workspace of a specified user depending of the
passed principal.
|
DocumentModel |
UserWorkspaceService.getUserPersonalWorkspace(String userName,
DocumentModel context)
Gets a detached user workspace of a specified user.
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
UserWorkspaceService.getCurrentUserPersonalWorkspace(CoreSession userCoreSession,
DocumentModel context) |
DocumentModel |
UserWorkspaceService.getCurrentUserPersonalWorkspace(String userName,
DocumentModel currentDocument)
Gets the current user personal workspace from a lower level.
|
DocumentModel |
UserWorkspaceService.getUserPersonalWorkspace(NuxeoPrincipal principal,
DocumentModel context)
Gets a detached user workspace of a specified user depending of the
passed principal.
|
DocumentModel |
UserWorkspaceService.getUserPersonalWorkspace(String userName,
DocumentModel context)
Gets a detached user workspace of a specified user.
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
AbstractUserWorkspaceImpl.getCurrentUserPersonalWorkspace(CoreSession userCoreSession,
DocumentModel context) |
DocumentModel |
AbstractUserWorkspaceImpl.getCurrentUserPersonalWorkspace(String userName,
DocumentModel currentDocument) |
DocumentModel |
AbstractUserWorkspaceImpl.getUserPersonalWorkspace(NuxeoPrincipal principal,
DocumentModel context) |
DocumentModel |
AbstractUserWorkspaceImpl.getUserPersonalWorkspace(String userName,
DocumentModel context) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
AbstractUserWorkspaceImpl.getCurrentUserPersonalWorkspace(CoreSession userCoreSession,
DocumentModel context) |
DocumentModel |
AbstractUserWorkspaceImpl.getCurrentUserPersonalWorkspace(String userName,
DocumentModel currentDocument) |
DocumentModel |
AbstractUserWorkspaceImpl.getUserPersonalWorkspace(NuxeoPrincipal principal,
DocumentModel context) |
DocumentModel |
AbstractUserWorkspaceImpl.getUserPersonalWorkspace(String userName,
DocumentModel context) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
UserWorkspaceCreateFromBlob.run(Blob blob) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
UserWorkspaceManagerActionsBean.getCurrentUserPersonalWorkspace() |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
VersioningManager.incrementMajor(DocumentModel doc)
Deprecated.
since 5.4
|
DocumentModel |
VersioningManager.incrementMinor(DocumentModel doc)
Deprecated.
since 5.4
|
Modifier and Type | Method and Description |
---|---|
VersionIncEditOptions |
VersioningManager.getVersionIncEditOptions(DocumentModel doc)
Get document increment options as defined by versioning rules.
|
String |
VersioningManager.getVersionLabel(DocumentModel doc)
Gets the label for the current version of a document, for the UI.
|
DocumentModel |
VersioningManager.incrementMajor(DocumentModel doc)
Deprecated.
since 5.4
|
DocumentModel |
VersioningManager.incrementMinor(DocumentModel doc)
Deprecated.
since 5.4
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
VersioningManagerImpl.incrementMajor(DocumentModel doc)
Deprecated.
|
DocumentModel |
VersioningManagerImpl.incrementMinor(DocumentModel doc)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
VersionIncEditOptions |
VersioningManagerImpl.getVersionIncEditOptions(DocumentModel doc) |
String |
VersioningManagerImpl.getVersionLabel(DocumentModel doc) |
DocumentModel |
VersioningManagerImpl.incrementMajor(DocumentModel doc)
Deprecated.
|
DocumentModel |
VersioningManagerImpl.incrementMinor(DocumentModel doc)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
TranscodedVideo |
VideoActions.getTranscodedVideo(DocumentModel doc,
String name) |
String |
VideoActions.getTranscodedVideoURL(DocumentModel doc,
String name) |
String |
VideoActions.getURLForPlayer(DocumentModel doc) |
String |
VideoActions.getURLForStaticPreview(DocumentModel videoDoc) |
VideoConversionStatus |
VideoActions.getVideoConversionStatus(DocumentModel doc,
String conversionName) |
void |
VideoActions.launchConversion(DocumentModel doc,
String conversionName) |
static void |
VideoHelper.updatePreviews(DocumentModel docModel,
Blob video)
Update the JPEG previews of a Video document from the video blob content
by taking a screen-shot of the movie at 10% of the duration to avoid
black screen fade in video.
|
static void |
VideoHelper.updatePreviews(DocumentModel docModel,
Blob video,
Double position,
List<Map<String,Object>> templates)
Update the JPEG previews of a Video document from the video blob content
by taking a screen-shot of the movie at timecode offset given in seconds.
|
static void |
VideoHelper.updateStoryboard(DocumentModel docModel,
Blob video)
Update the JPEG story board and duration in seconds of a Video document
from the video blob content.
|
static void |
VideoHelper.updateVideoInfo(DocumentModel docModel,
Blob video) |
Modifier and Type | Method and Description |
---|---|
Blob |
ThumbnailVideoFactory.computeThumbnail(DocumentModel doc,
CoreSession session) |
Object |
VideoDocumentAdapterFactory.getAdapter(DocumentModel doc,
Class<?> itf) |
Blob |
ThumbnailVideoFactory.getThumbnail(DocumentModel doc,
CoreSession session) |
Constructor and Description |
---|
VideoDocumentAdapter(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
void |
VideoImporter.updateDocument(DocumentModel doc,
Blob content) |
Modifier and Type | Method and Description |
---|---|
void |
VideoServiceImpl.launchAutomaticConversions(DocumentModel doc) |
void |
VideoService.launchAutomaticConversions(DocumentModel doc)
Launch all the registered automatic video conversions on the given
doc . |
void |
VideoServiceImpl.launchConversion(DocumentModel doc,
String conversionName) |
void |
VideoService.launchConversion(DocumentModel doc,
String conversionName)
Launch an asynchronously video conversion of the given
doc . |
Modifier and Type | Method and Description |
---|---|
List<StoryboardItem> |
StoryboardActions.getItems(DocumentModel doc) |
String |
StoryboardActions.getStoryboardItemsAsJsonSettings(DocumentModel doc) |
Constructor and Description |
---|
StoryboardItem(DocumentModel doc,
String basePropertyPath,
int position) |
Modifier and Type | Method and Description |
---|---|
Locale |
LocaleProvider.getLocale(DocumentModel userProfileDoc)
Gets the locale stored in the given user profile.
|
Locale |
DefaultLocaleProvider.getLocale(DocumentModel userProfileDoc) |
Modifier and Type | Method and Description |
---|---|
void |
DocumentStateLoader.fillProperties(DocumentModel doc,
List<DocumentProperty> props,
WSRemotingSession rs) |
void |
DocumentSchemaLoader.fillProperties(DocumentModel doc,
List<DocumentProperty> props,
WSRemotingSession rs) |
Modifier and Type | Method and Description |
---|---|
void |
WSRemotingSessionManagerImpl.fillProperties(DocumentModel doc,
List<DocumentProperty> props,
WSRemotingSession rs) |
Modifier and Type | Method and Description |
---|---|
boolean |
QuotaStatsServiceImpl.canSetMaxQuota(long maxQuota,
DocumentModel doc,
CoreSession session) |
boolean |
QuotaStatsService.canSetMaxQuota(long maxQuota,
DocumentModel doc,
CoreSession session)
Test to see if quota allowed.
|
long |
QuotaStatsServiceImpl.getQuotaFromParent(DocumentModel doc,
CoreSession session) |
long |
QuotaStatsService.getQuotaFromParent(DocumentModel doc,
CoreSession session)
Gets the quota from the first parent where quota has been set.
|
String |
QuotaStatsServiceImpl.getUserWorkspaceRootId(DocumentModel context,
CoreSession session) |
void |
QuotaStatsServiceImpl.launchSetMaxQuotaOnUserWorkspaces(long maxSize,
DocumentModel context,
CoreSession session) |
void |
QuotaStatsService.launchSetMaxQuotaOnUserWorkspaces(long maxQuota,
DocumentModel context,
CoreSession session)
Sets this maxQuota on all user workspaces
|
Modifier and Type | Method and Description |
---|---|
Long |
SetQuotaInfoOperation.run(DocumentModel doc) |
JsonAdapter |
GetQuotaInfoOperation.run(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
Object |
QuotaStatsAdapterFactory.getAdapter(DocumentModel doc,
Class<?> itf) |
Constructor and Description |
---|
QuotaStatsNonFolderishCountAdapter(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
QuotaAwareDocument.getDoc() |
DocumentModel |
QuotaAware.getDoc() |
Modifier and Type | Method and Description |
---|---|
Object |
QuotaAwareDocumentFactory.getAdapter(DocumentModel doc,
Class<?> adapter) |
static QuotaAwareDocument |
QuotaAwareDocumentFactory.make(DocumentModel doc,
boolean save) |
Constructor and Description |
---|
QuotaAwareDocument(DocumentModel doc) |
QuotaExceededException(DocumentModel targetDocument,
DocumentModel addedDocument,
long quotaValue) |
QuotaExceededException(DocumentModel targetDocument,
String message) |
SizeUpdateEventContext(CoreSession session,
BlobSizeInfo bsi,
String sourceEvent,
DocumentModel sourceDocument) |
SizeUpdateEventContext(CoreSession session,
DocumentEventContext evtCtx,
DocumentModel sourceDocument,
BlobSizeInfo bsi,
String sourceEvent) |
Modifier and Type | Method and Description |
---|---|
void |
LikeServiceImpl.cancel(String username,
DocumentModel doc) |
void |
LikeActions.cancelLike(Principal principal,
DocumentModel doc) |
void |
LikeServiceImpl.dislike(String username,
DocumentModel doc) |
long |
LikeServiceImpl.getDislikesCount(DocumentModel doc) |
long |
LikeActions.getLikesCount(DocumentModel doc) |
long |
LikeServiceImpl.getLikesCount(DocumentModel doc) |
LikeStatus |
LikeServiceImpl.getLikeStatus(DocumentModel doc) |
LikeStatus |
LikeServiceImpl.getLikeStatus(String username,
DocumentModel doc) |
ActivitiesList |
LikeServiceImpl.getMostLikedActivities(CoreSession session,
int limit,
DocumentModel source) |
ActivitiesList |
LikeServiceImpl.getMostLikedActivities(CoreSession session,
int limit,
DocumentModel source,
Date fromDt,
Date toDt) |
boolean |
LikeServiceImpl.hasUserDisliked(String username,
DocumentModel doc) |
boolean |
LikeActions.hasUserLiked(Principal principal,
DocumentModel doc) |
boolean |
LikeServiceImpl.hasUserLiked(String username,
DocumentModel doc) |
void |
LikeActions.like(Principal principal,
DocumentModel doc) |
void |
LikeServiceImpl.like(String username,
DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
void |
LikeService.cancel(String username,
DocumentModel doc)
Convenient method to cancel a like or dislike on a
DocumentModel . |
void |
LikeService.dislike(String username,
DocumentModel doc)
Convenient method to dislike a
DocumentModel . |
long |
LikeService.getDislikesCount(DocumentModel doc)
Convenient method to returns the dislikes count for a
DocumentModel . |
long |
LikeService.getLikesCount(DocumentModel doc)
Convenient method to returns the likes count for a
DocumentModel . |
LikeStatus |
LikeService.getLikeStatus(DocumentModel doc)
Convenient method to return the
LikeStatus for a DocumentModel . |
LikeStatus |
LikeService.getLikeStatus(String username,
DocumentModel doc)
|
ActivitiesList |
LikeService.getMostLikedActivities(CoreSession session,
int limit,
DocumentModel source)
An actitivitesList containing a documentActivity or a minimessageActivity
as target, the likes count as object, current user as actor and actor's
likes in context.
|
ActivitiesList |
LikeService.getMostLikedActivities(CoreSession session,
int limit,
DocumentModel source,
Date fromDt,
Date toDt)
An actitivitesList containing a documentActivity or a minimessageActivity
as target, the likes count as object, current user as actor and actor's
likes in context the result will be between two dates
|
boolean |
LikeService.hasUserDisliked(String username,
DocumentModel doc)
Returns
true if the given username already disliked the
doc , false otherwise. |
boolean |
LikeService.hasUserLiked(String username,
DocumentModel doc)
Returns
true if the given username already liked the
doc , false otherwise. |
void |
LikeService.like(String username,
DocumentModel doc)
Convenient method to like a
DocumentModel . |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
DirectoryEntry.getDocumentModel() |
Constructor and Description |
---|
DirectoryEntry(String dirName,
DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
JSONDocumentObject.doGet() |
DocumentModel |
JSONDocumentObject.doPut(DocumentModel inputDoc,
javax.ws.rs.core.HttpHeaders headers) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
JSONDocumentObject.doPost(DocumentModel inputDoc) |
DocumentModel |
JSONDocumentObject.doPut(DocumentModel inputDoc,
javax.ws.rs.core.HttpHeaders headers) |
DocumentModelList |
BulkDocumentsObject.doUpdate(DocumentModel updateDoc) |
DocumentObject |
JSONDocumentObject.newDocument(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
Paginable<DocumentModel> |
PageProviderAdapter.getProviderDocs(String providerName) |
Modifier and Type | Method and Description |
---|---|
static DocumentModel |
RestServerInit.getFile(int index,
CoreSession session) |
static DocumentModel |
RestServerInit.getFolder(int index,
CoreSession session) |
static DocumentModel |
RestServerInit.getNote(int index,
CoreSession session) |
Modifier and Type | Method and Description |
---|---|
static String |
JSONDocumentHelper.getDocAsJson(DocumentModel doc) |
static String |
JSONDocumentHelper.getDocAsJson(String[] schemas,
DocumentModel doc) |
static String |
JSONDocumentHelper.getDocsListAsJson(DocumentModel... docs) |
static String |
JSONDocumentHelper.getDocsListAsJson(String[] schemas,
DocumentModel... docs) |
Modifier and Type | Method and Description |
---|---|
boolean |
UserRelationshipActions.canViewProfile(DocumentModel userProfile) |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
UserRelationshipPageProvider.getCurrentPage() |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
CollaborationActions.getChangeableSocialDocument() |
DocumentModel |
CollaborationActions.getPrevious() |
DocumentModel |
SocialWorkspaceActions.getSocialWorkspaceContainer() |
Modifier and Type | Method and Description |
---|---|
void |
CollaborationActions.deleteSocialDocument(DocumentModel document) |
String |
CollaborationActions.editSocialDocument(DocumentModel document) |
SocialWorkspace |
SocialWorkspaceActions.getSocialWorkspace(DocumentModel doc) |
boolean |
SocialDocumentVisibilityActions.isPublic(DocumentModel document)
Indicates if the document passed as a parameter is visible by everybody
|
boolean |
SocialDocumentVisibilityActions.isRestricted(DocumentModel document)
Indicates if the document passed as a parameter is only visible by
members of the community
|
void |
SocialDocumentVisibilityActions.makePublic(DocumentModel document)
create or update a proxy of the social document passed as an argument in
the public social section of the social workspace.
|
void |
SocialDocumentVisibilityActions.restrictToMembers(DocumentModel document)
Hide the social document passed as parameter to non members of the social
collaboration workspace
|
static SocialWorkspace |
SocialWorkspaceActions.toSocialWorkspace(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
SubscriptionRequest.getDocument()
Deprecated.
|
DocumentModel |
SocialWorkspaceAdapter.getDocument() |
DocumentModel |
SocialWorkspace.getDocument()
Returns the underlying .
|
DocumentModel |
SocialDocumentAdapter.getPublicDocument() |
DocumentModel |
SocialDocument.getPublicDocument()
Return the public proxy of the source document if the source document is
public else return null.
|
DocumentModel |
SocialDocumentAdapter.getRestrictedDocument() |
DocumentModel |
SocialDocument.getRestrictedDocument()
If source document is not an Article return the private proxy of the
source document if the source document is private else return null
If is the source document is an Article return the source document if
private else return null.
|
DocumentModel |
SocialDocumentAdapter.makePublic() |
DocumentModel |
SocialDocument.makePublic()
Make this document public.
|
DocumentModel |
SocialDocumentAdapter.restrictToMembers() |
DocumentModel |
SocialDocument.restrictToMembers()
Make this document restricted to a
SocialWorkspace members. |
Modifier and Type | Method and Description |
---|---|
Object |
AdapterFactory.getAdapter(DocumentModel doc,
Class<?> itf) |
void |
SocialWorkspaceAdapter.setDocument(DocumentModel doc) |
void |
SocialWorkspace.setDocument(DocumentModel doc)
Sets the underlying .
|
Constructor and Description |
---|
ArticleAdapter(DocumentModel doc) |
SocialDocumentAdapter(DocumentModel sourceDocument) |
SocialWorkspaceAdapter(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
SocialWebEngineRoot.getCommentChildren(DocumentModel doc,
DocumentModel parent) |
List<DocumentModel> |
SocialWebEngineRoot.getComments(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
String |
SocialWebEngineRoot.computeDocumentURL(DocumentModel doc)
Computes and returns the URL for the given
doc , using the
document link builder sets in the
WebContext . |
Blob |
SocialWebEngineRoot.getAttachment(DocumentModel doc)
Returns the main blob for the given
doc , null if there is
no main file available. |
List<DocumentModel> |
SocialWebEngineRoot.getCommentChildren(DocumentModel doc,
DocumentModel parent) |
List<DocumentModel> |
SocialWebEngineRoot.getComments(DocumentModel doc) |
long |
SocialWebEngineRoot.getLikesCount(DocumentModel doc) |
boolean |
SocialWebEngineRoot.hasUserLiked(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
static String |
SocialWorkspaceHelper.getNewsItemsRootPath(DocumentModel socialWorkspace) |
static String |
SocialWorkspaceHelper.getPrivateSectionPath(DocumentModel socialWorkspace) |
static String |
SocialWorkspaceHelper.getPublicSectionPath(DocumentModel socialWorkspace) |
static String |
SocialWorkspaceHelper.getSocialWorkspaceAdministratorsGroupName(DocumentModel doc) |
static String |
SocialWorkspaceHelper.getSocialWorkspaceMembersGroupName(DocumentModel doc) |
static boolean |
SocialWorkspaceHelper.isSocialDocument(DocumentModel doc) |
static boolean |
SocialWorkspaceHelper.isSocialWorkspace(DocumentModel doc) |
static boolean |
SocialWorkspaceHelper.isSocialWorkspaceContainer(DocumentModel doc) |
static SocialDocument |
SocialWorkspaceHelper.toSocialDocument(DocumentModel doc) |
static SocialWorkspace |
SocialWorkspaceHelper.toSocialWorkspace(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
SocialWorkspaceServiceImpl.getSocialWorkspaceContainer(CoreSession session) |
DocumentModel |
SocialWorkspaceService.getSocialWorkspaceContainer(CoreSession session)
Returns Social Workspace Container and create it if needed.
|
Modifier and Type | Method and Description |
---|---|
SocialWorkspace |
SocialWorkspaceServiceImpl.getDetachedSocialWorkspace(DocumentModel doc) |
SocialWorkspace |
SocialWorkspaceService.getDetachedSocialWorkspace(DocumentModel doc)
Returns the
SocialWorkspace container of the given document if it
is in a Social Workspace even if the user does not have right on it,
null otherwise. |
SocialWorkspace |
SocialWorkspaceServiceImpl.getSocialWorkspace(DocumentModel doc) |
SocialWorkspace |
SocialWorkspaceService.getSocialWorkspace(DocumentModel doc)
Returns the
SocialWorkspace container of the given document if it
is part of a Social Workspace, null otherwise. |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
SocialRegistrationUserFactory.doAddDocumentPermission(CoreSession session,
DocumentModel registrationDoc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
SocialRegistrationUserFactory.doAddDocumentPermission(CoreSession session,
DocumentModel registrationDoc) |
void |
SocialRegistrationUserFactory.doPostAddDocumentPermission(CoreSession session,
DocumentModel registrationDoc,
DocumentModel document) |
Modifier and Type | Method and Description |
---|---|
List<Space> |
SpaceProvider.getAll(CoreSession session,
DocumentModel contextDocument) |
List<Space> |
AbstractSpaceProvider.getAll(CoreSession session,
DocumentModel contextDocument) |
Space |
SpaceProvider.getSpace(CoreSession session,
DocumentModel contextDocument,
String spaceName) |
Space |
AbstractSpaceProvider.getSpace(CoreSession session,
DocumentModel contextDocument,
String spaceName) |
Space |
SpaceProvider.getSpace(CoreSession session,
DocumentModel contextDocument,
String spaceName,
Map<String,String> parameters) |
Space |
AbstractSpaceProvider.getSpace(CoreSession session,
DocumentModel contextDocument,
String spaceName,
Map<String,String> parameters) |
Space |
SpaceManager.getSpace(String spaceProviderName,
CoreSession session,
DocumentModel contextDocument) |
Space |
SpaceManager.getSpace(String spaceProviderName,
CoreSession session,
DocumentModel contextDocument,
String spaceName) |
Space |
SpaceManager.getSpace(String spaceProviderName,
CoreSession session,
DocumentModel contextDocument,
String spaceName,
Map<String,String> parameters) |
Space |
SpaceManager.getSpace(String spaceProviderName,
DocumentModel contextDocument) |
Space |
SpaceManager.getSpace(String spaceProviderName,
DocumentModel contextDocument,
String spaceName) |
boolean |
SpaceProvider.isEmpty(CoreSession session,
DocumentModel contextDocument) |
boolean |
AbstractSpaceProvider.isEmpty(CoreSession session,
DocumentModel contextDocument) |
long |
SpaceProvider.size(CoreSession session,
DocumentModel contextDocument) |
long |
AbstractSpaceProvider.size(CoreSession session,
DocumentModel contextDocument) |
Modifier and Type | Method and Description |
---|---|
Space |
SpaceManagerImpl.getSpace(String spaceProviderName,
CoreSession session,
DocumentModel contextDocument) |
Space |
SpaceManagerImpl.getSpace(String spaceProviderName,
CoreSession session,
DocumentModel contextDocument,
String spaceName) |
Space |
SpaceManagerImpl.getSpace(String spaceProviderName,
CoreSession session,
DocumentModel contextDocument,
String spaceName,
Map<String,String> parameters) |
Space |
SpaceManagerImpl.getSpace(String spaceProviderName,
DocumentModel contextDocument) |
Space |
SpaceManagerImpl.getSpace(String spaceProviderName,
DocumentModel contextDocument,
String spaceName) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
DocSpaceImpl.getDocForData(WebContentData data) |
DocumentModel |
DocSpaceImpl.getDocument() |
DocumentModel |
DocGadgetImpl.getDocument() |
Modifier and Type | Method and Description |
---|---|
Object |
SpacesAdapterFactory.getAdapter(DocumentModel doc,
Class itf) |
Object |
SpacesAdapterComponent.getAdapter(DocumentModel doc,
Class itf) |
Constructor and Description |
---|
DocGadgetImpl(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
AuthorizedApplicationsActions.getAuthorizedApplications() |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
JSFDashboardActions.getSelectedDomain() |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
JSFDashboardActions.getUserDomains() |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
UserNotificationActions.getDocument(String docId) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
UserProfileActions.getCurrentUserModel() |
DocumentModel |
UserProfileActions.getSelectedUserProfile() |
DocumentModel |
UserProfileActions.getUserProfile() |
DocumentModel |
UserProfileServiceImpl.getUserProfile(DocumentModel userModel,
CoreSession session) |
DocumentModel |
UserProfileService.getUserProfile(DocumentModel userModel,
CoreSession session)
Get a DocumentModel containing both user and user profile schemas
|
DocumentModel |
UserProfileActions.getUserProfileDocument() |
DocumentModel |
UserProfileServiceImpl.getUserProfileDocument(CoreSession session) |
DocumentModel |
UserProfileService.getUserProfileDocument(CoreSession session)
Get the current user profile.
|
DocumentModel |
UserProfileActions.getUserProfileDocument(String userName) |
DocumentModel |
UserProfileServiceImpl.getUserProfileDocument(String userName,
CoreSession session) |
DocumentModel |
UserProfileService.getUserProfileDocument(String userName,
CoreSession session)
Get the profile of a specific user.
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
UserProfileServiceImpl.getUserProfile(DocumentModel userModel,
CoreSession session) |
DocumentModel |
UserProfileService.getUserProfile(DocumentModel userModel,
CoreSession session)
Get a DocumentModel containing both user and user profile schemas
|
Modifier and Type | Method and Description |
---|---|
Locale |
UserLocaleProvider.getLocale(DocumentModel userProfileDoc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
UserInvitationComponent.getOrCreateRootDocument(CoreSession session,
String configurationName) |
DocumentModel |
UserInvitationService.getRegistrationRulesDocument(CoreSession session,
String configurationName)
Get documentmodel that stores request configuration using
RegistrationConfiguration facet.
|
DocumentModel |
UserInvitationComponent.getRegistrationRulesDocument(CoreSession session,
String configurationName) |
DocumentModel |
UserInvitationService.getUserRegistrationModel(String configurationName)
Create a document model for the UserRegistration doctype.
|
DocumentModel |
UserInvitationComponent.getUserRegistrationModel(String configurationName) |
Modifier and Type | Method and Description |
---|---|
NuxeoPrincipal |
UserInvitationService.createUser(CoreSession session,
DocumentModel registrationDoc) |
NuxeoPrincipal |
UserInvitationComponent.createUser(CoreSession session,
DocumentModel registrationDoc) |
NuxeoPrincipal |
InvitationUserFactory.doCreateUser(CoreSession session,
DocumentModel registrationDoc)
Handle user creation
|
NuxeoPrincipal |
DefaultInvitationUserFactory.doCreateUser(CoreSession session,
DocumentModel registrationDoc) |
void |
InvitationUserFactory.doPostUserCreation(CoreSession session,
DocumentModel registrationDoc,
NuxeoPrincipal user)
Called just after the user is created
|
void |
DefaultInvitationUserFactory.doPostUserCreation(CoreSession session,
DocumentModel registrationDoc,
NuxeoPrincipal user) |
Object |
RegistrationRulesFactory.getAdapter(DocumentModel doc,
Class<?> itf) |
UserRegistrationConfiguration |
UserInvitationService.getConfiguration(DocumentModel requestDoc) |
UserRegistrationConfiguration |
UserInvitationComponent.getConfiguration(DocumentModel requestDoc) |
String |
UserInvitationService.submitRegistrationRequest(DocumentModel userRegistrationModel,
Map<String,Serializable> additionnalInfo,
UserInvitationService.ValidationMethod validationMethod,
boolean autoAccept)
Stores a registration request and return a unique ID for it
|
String |
UserInvitationComponent.submitRegistrationRequest(DocumentModel userRegistrationModel,
Map<String,Serializable> additionnalInfo,
UserInvitationService.ValidationMethod validationMethod,
boolean autoAccept) |
String |
UserInvitationService.submitRegistrationRequest(String configurationName,
DocumentModel userRegistrationModel,
Map<String,Serializable> additionnalInfo,
UserInvitationService.ValidationMethod validationMethod,
boolean autoAccept)
Stores a resgitration request like submitRegistrationRequest with
Document information
|
String |
UserInvitationComponent.submitRegistrationRequest(String configurationName,
DocumentModel userRegistrationModel,
Map<String,Serializable> additionnalInfo,
UserInvitationService.ValidationMethod validationMethod,
boolean autoAccept) |
Modifier and Type | Method and Description |
---|---|
void |
UserInvitationService.deleteRegistrationRequests(CoreSession session,
List<DocumentModel> registrationDoc)
Delete a registration document
|
void |
UserInvitationComponent.deleteRegistrationRequests(CoreSession session,
List<DocumentModel> registrationDocs) |
void |
UserInvitationService.reviveRegistrationRequests(CoreSession session,
List<DocumentModel> registrationDocs)
Send a mail to the invited user to revive his invitation If an error
occured while sending an email, it logs it and continue.
|
void |
UserInvitationComponent.reviveRegistrationRequests(CoreSession session,
List<DocumentModel> registrationDocs) |
Constructor and Description |
---|
RegistrationRules(DocumentModel requestContainer) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
RegistrationUserFactory.doAddDocumentPermission(CoreSession session,
DocumentModel registrationDoc) |
DocumentModel |
DefaultRegistrationUserFactory.doAddDocumentPermission(CoreSession session,
DocumentModel registrationDoc) |
Modifier and Type | Method and Description |
---|---|
void |
UserRegistrationService.addRightsOnDoc(CoreSession session,
DocumentModel registrationDoc)
Add an ACL with the right specified in the registration Doc or nothing,
if no rights needed.
|
void |
UserRegistrationComponent.addRightsOnDoc(CoreSession session,
DocumentModel registrationDoc) |
DocumentModel |
RegistrationUserFactory.doAddDocumentPermission(CoreSession session,
DocumentModel registrationDoc) |
DocumentModel |
DefaultRegistrationUserFactory.doAddDocumentPermission(CoreSession session,
DocumentModel registrationDoc) |
void |
RegistrationUserFactory.doPostAddDocumentPermission(CoreSession session,
DocumentModel registrationDoc,
DocumentModel document)
Called just after the right is setted
|
void |
DefaultRegistrationUserFactory.doPostAddDocumentPermission(CoreSession session,
DocumentModel registrationDoc,
DocumentModel document) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
UserRegistrationConfigurationActions.getConfigurationDocument() |
Modifier and Type | Method and Description |
---|---|
void |
UserRegistrationActions.acceptRegistrationRequest(DocumentModel request) |
void |
UserRegistrationActions.rejectRegistrationRequest(DocumentModel request) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
MainTabsActions.getDocumentFor(String mainTabId) |
DocumentModel |
MainTabsActions.getDocumentFor(String mainTabId,
DocumentModel defaultDocument) |
DocumentModel |
ImportActions.getImportDocumentModel() |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
EditorLinkActionsBean.getSearchDocumentResults() |
List<DocumentModel> |
EditorLinkActions.getSearchDocumentResults() |
Modifier and Type | Method and Description |
---|---|
ActionContext |
ActionContextProvider.createActionContext(DocumentModel document)
Returns an action context computed from current core session and current
user, and document given as parameter.
|
Action |
WebActionsBean.getActionForDocument(String actionId,
DocumentModel document,
boolean hideUnavailableAction) |
List<Action> |
WebActionsBean.getActionsListForDocument(String category,
DocumentModel document,
boolean hideUnavailableAction) |
boolean |
DeleteActionsBean.getCanDeleteItem(DocumentModel container) |
boolean |
DeleteActions.getCanDeleteItem(DocumentModel container) |
DocumentModel |
MainTabsActions.getDocumentFor(String mainTabId,
DocumentModel defaultDocument) |
boolean |
PopupHelper.isDocumentHasBlobAttached(DocumentModel documentModel) |
boolean |
PopupHelper.isDocumentHasBlobs(DocumentModel documentModel) |
String |
WebActionsBean.setCurrentTabAndNavigate(DocumentModel document,
String currentTabActionId) |
void |
MainTabsActions.setDocumentFor(String mainTabId,
DocumentModel doc)
Set the document used for a given
mainTabId . |
Modifier and Type | Method and Description |
---|---|
boolean |
DeleteActionsBean.checkDeletePermOnParents(List<DocumentModel> docs) |
boolean |
DeleteActions.checkDeletePermOnParents(List<DocumentModel> docsToDelete) |
String |
DeleteActionsBean.deleteSelection(List<DocumentModel> docs) |
String |
DeleteActions.deleteSelection(List<DocumentModel> docsToDelete)
Moves to trash (delete state) the documents.
|
String |
DeleteActionsBean.purgeSelection(List<DocumentModel> docs) |
String |
DeleteActions.purgeSelection(List<DocumentModel> docsToPurge)
Definitively deletes param documents.
|
String |
DeleteActionsBean.undeleteSelection(List<DocumentModel> docs) |
String |
DeleteActions.undeleteSelection(List<DocumentModel> docsToUndelete)
Undeletes the args docs from trash (recycle bin).
|
Modifier and Type | Method and Description |
---|---|
void |
InputController.logDocumentWithName(String someLogString,
DocumentModel document)
Logs a
DocumentModel name and the passed string (info). |
void |
InputController.logDocumentWithTitle(String someLogString,
DocumentModel document)
Logs a
DocumentModel title and the passed string (info). |
void |
InputController.removeDocumentFromList(List<DocumentModel> documentList,
DocumentModel document)
Utility method that helps remove a
DocumentModel from a list. |
Modifier and Type | Method and Description |
---|---|
void |
InputController.removeDocumentFromList(List<DocumentModel> documentList,
DocumentModel document)
Utility method that helps remove a
DocumentModel from a list. |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
BulkEditActions.getBulkEditDocumentModel() |
Modifier and Type | Method and Description |
---|---|
static void |
BulkEditHelper.copyMetadata(CoreSession session,
DocumentModel sourceDoc,
List<DocumentModel> targetDocs)
Deprecated.
since 5.7.3. Now in
BulkEditService . |
void |
BulkEditServiceImpl.updateDocuments(CoreSession session,
DocumentModel sourceDoc,
List<DocumentModel> targetDocs) |
void |
BulkEditService.updateDocuments(CoreSession session,
DocumentModel sourceDoc,
List<DocumentModel> targetDocs)
Copy all the marked properties (stored in the ContextData of
sourceDoc ) from sourceDoc to all the targetDocs . |
Modifier and Type | Method and Description |
---|---|
static void |
BulkEditHelper.copyMetadata(CoreSession session,
DocumentModel sourceDoc,
List<DocumentModel> targetDocs)
Deprecated.
since 5.7.3. Now in
BulkEditService . |
static List<String> |
BulkEditHelper.getCommonLayouts(TypeManager typeManager,
List<DocumentModel> docs)
Returns the common layouts of the
docs for the edit mode. |
static List<String> |
BulkEditHelper.getCommonLayouts(TypeManager typeManager,
List<DocumentModel> docs,
String mode)
Returns the common layouts of the
docs for the given layout
mode . |
static List<String> |
BulkEditHelper.getCommonSchemas(List<DocumentModel> docs)
Returns the common schemas of the
docs . |
void |
BulkEditServiceImpl.updateDocuments(CoreSession session,
DocumentModel sourceDoc,
List<DocumentModel> targetDocs) |
void |
BulkEditService.updateDocuments(CoreSession session,
DocumentModel sourceDoc,
List<DocumentModel> targetDocs)
Copy all the marked properties (stored in the ContextData of
sourceDoc ) from sourceDoc to all the targetDocs . |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
ClipboardActionsBean.getCurrentSelectedList() |
List<DocumentModel> |
ClipboardActions.getCurrentSelectedList()
Retries contents of current WorkList.
|
List<DocumentModel> |
ClipboardActionsBean.moveDocumentsToNewParent(DocumentModel destFolder,
List<DocumentModel> docs) |
Modifier and Type | Method and Description |
---|---|
String |
ClipboardActionsBean.exportWorklistAsZip(DocumentModel document) |
boolean |
ClipboardActionsBean.getCanMoveFromClipboardInside(DocumentModel document) |
boolean |
ClipboardActions.getCanMoveFromClipboardInside(DocumentModel document)
Checks if the documents from the clipboard can be moved into the given document
|
boolean |
ClipboardActionsBean.getCanMoveInside(String listName,
DocumentModel document)
Checks if the Move action is available in the context of the document
document.
|
boolean |
ClipboardActions.getCanMoveInside(String listName,
DocumentModel document)
Checks if the documents in a given worklist can be moved into the given document
|
boolean |
ClipboardActionsBean.getCanPasteFromClipboardInside(DocumentModel document) |
boolean |
ClipboardActions.getCanPasteFromClipboardInside(DocumentModel document) |
boolean |
ClipboardActionsBean.getCanPasteInside(String listName,
DocumentModel document) |
boolean |
ClipboardActions.getCanPasteInside(String listName,
DocumentModel document) |
List<DocumentModel> |
ClipboardActionsBean.moveDocumentsToNewParent(DocumentModel destFolder,
List<DocumentModel> docs) |
Modifier and Type | Method and Description |
---|---|
void |
ClipboardActionsBean.copySelection(List<DocumentModel> copiedDocs)
Deprecated.
|
void |
ClipboardActions.copySelection(List<DocumentModel> docCopied)
Called when the drag and drop is launched in the clipboard fragment.
|
String |
ClipboardActionsBean.exportWorklistAsZip(List<DocumentModel> documents) |
String |
ClipboardActions.exportWorklistAsZip(List<DocumentModel> documents) |
String |
ClipboardActionsBean.exportWorklistAsZip(List<DocumentModel> documents,
boolean exportAllBlobs) |
String |
ClipboardActions.exportWorklistAsZip(List<DocumentModel> documents,
boolean exportAllBlobs) |
File |
DocumentListZipExporter.exportWorklistAsZip(List<DocumentModel> documents,
CoreSession documentManager,
boolean exportAllBlobs) |
List<DocumentModel> |
ClipboardActionsBean.moveDocumentsToNewParent(DocumentModel destFolder,
List<DocumentModel> docs) |
String |
ClipboardActionsBean.pasteDocumentList(List<DocumentModel> docPaste) |
String |
ClipboardActions.pasteDocumentList(List<DocumentModel> docPaste)
Called when the drag and drop is launched in the body fragment.
|
String |
ClipboardActionsBean.pasteDocumentListInside(List<DocumentModel> docPaste,
String docId) |
String |
ClipboardActions.pasteDocumentListInside(List<DocumentModel> docPaste,
String docId) |
void |
ClipboardActionsBean.putSelectionInWorkList(List<DocumentModel> docsList) |
void |
ClipboardActions.putSelectionInWorkList(List<DocumentModel> docsList)
Copies docsList into the current WorkList.
|
void |
ClipboardActionsBean.putSelectionInWorkList(List<DocumentModel> docsList,
Boolean forceAppend) |
void |
ClipboardActions.putSelectionInWorkList(List<DocumentModel> docsList,
Boolean forceAppend) |
Constructor and Description |
---|
SummaryEntry(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
DocumentSuggestionActions.getDocumentWithId(String id) |
DocumentModel |
DocumentSuggestionActions.getDocumentWithPath(String path) |
DocumentModel |
WorkspaceActionsBean.getSelectedTemplate() |
DocumentModel |
WorkspaceActions.getSelectedTemplate() |
DocumentModel |
WorkspaceActionsBean.getTmpWorkspace() |
DocumentModel |
WorkspaceActions.getTmpWorkspace() |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
DocumentSuggestionActions.getDocSuggestions(Object input) |
Modifier and Type | Method and Description |
---|---|
void |
DocumentActions.followTransition(DocumentModel changedDocument) |
void |
DocumentActionsBean.followTransition(DocumentModel changedDocument) |
Map<String,List<ContentViewHeader>> |
DocumentContentViewActions.getAvailableContentViewsForDocument(DocumentModel doc) |
List<ContentViewHeader> |
DocumentContentViewActions.getAvailableContentViewsForDocument(DocumentModel doc,
String category) |
List<String> |
DocumentListingActionsBean.getAvailableLayoutsForDocument(DocumentModel doc)
Deprecated.
this information is now held by content views
|
Map<String,List<ContentViewHeader>> |
DocumentContentViewActions.getExportContentViewsForDocument(DocumentModel doc) |
String |
DocumentActionsBean.getFileName(DocumentModel doc) |
String |
DocumentListingActionsBean.getLayoutForDocument(DocumentModel doc)
Deprecated.
this information is now held by content views
|
List<ContentViewHeader> |
DocumentContentViewActions.getLocalConfiguredContentViews(DocumentModel doc) |
boolean |
DocumentContentViewActions.hasContentViewSupport(DocumentModel doc,
String category)
Returns true if content views are defined on given document for given
category.
|
String |
DocumentActions.saveDocument(DocumentModel newDocument)
Creates the given document.
|
String |
DocumentActionsBean.saveDocument(DocumentModel newDocument) |
void |
DocumentListingActionsBean.setLayoutForDocument(DocumentModel doc,
String layoutName)
Deprecated.
this information is now held by content views
|
String |
DocumentActions.updateDocument(DocumentModel document,
Boolean restoreCurrentTabs)
Saves changes held by the given document, and updates the current
document context with the new version.
|
String |
DocumentActionsBean.updateDocument(DocumentModel doc,
Boolean restoreCurrentTabs) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
NavigationContextBean.factoryChangeableDocument() |
DocumentModel |
NavigationContextBean.factoryCurrentContentRoot() |
DocumentModel |
NavigationContextBean.factoryCurrentDocument() |
DocumentModel |
NavigationContextBean.factoryCurrentDomain() |
DocumentModel |
NavigationContextBean.factoryCurrentSuperSpace() |
DocumentModel |
NavigationContextBean.factoryCurrentWorkspace() |
DocumentModel |
NavigationContextBean.getChangeableDocument() |
DocumentModel |
NavigationContextBean.getCurrentContentRoot() |
DocumentModel |
NavigationContextBean.getCurrentDocument() |
DocumentModel |
NavigationContextBean.getCurrentDomain() |
DocumentModel |
NavigationContextBean.getCurrentSuperSpace() |
DocumentModel |
NavigationContextBean.getCurrentWorkspace() |
Modifier and Type | Method and Description |
---|---|
String |
NavigationContextBean.getActionResult(DocumentModel doc,
UserAction action) |
String |
NavigationContextBean.navigateToDocument(DocumentModel doc) |
String |
NavigationContextBean.navigateToDocument(DocumentModel doc,
String viewId) |
String |
NavigationContextBean.navigateToDocument(DocumentModel docModel,
VersionModel versionModel) |
String |
NavigationContextBean.navigateToDocumentWithView(DocumentModel doc,
String viewId) |
void |
NavigationContextBean.setChangeableDocument(DocumentModel changeableDocument) |
void |
NavigationContextBean.setCurrentContentRoot(DocumentModel crDocumentModel) |
void |
NavigationContextBean.setCurrentDocument(DocumentModel documentModel) |
void |
NavigationContextBean.setCurrentDomain(DocumentModel domainDocModel) |
void |
NavigationContextBean.setCurrentWorkspace(DocumentModel workspaceDocModel) |
void |
NavigationContextBean.updateDocumentContext(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
DirectoryUIActionsBean.getCreationDirectoryEntry() |
DocumentModel |
DirectoryUIActionsBean.getSelectedDirectoryEntry() |
Modifier and Type | Method and Description |
---|---|
static String |
VocabularyTreeNode.computeLabel(Locale locale,
DocumentModel entry,
String schemaName) |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
DocumentsListsManagerBean.addToWorkingList(DocumentModel doc) |
List<DocumentModel> |
DocumentsListsManager.addToWorkingList(DocumentModel doc)
Adds one document to the default list.
|
List<DocumentModel> |
DocumentsListsManagerBean.addToWorkingList(List<DocumentModel> docList) |
List<DocumentModel> |
DocumentsListsManager.addToWorkingList(List<DocumentModel> docList)
Adds a list of DocumentModels to the default list.
|
List<DocumentModel> |
DocumentsListsManagerBean.addToWorkingList(String listName,
DocumentModel doc) |
List<DocumentModel> |
DocumentsListsManager.addToWorkingList(String listName,
DocumentModel doc)
Adds one document to the list listName.
|
List<DocumentModel> |
BaseDocumentsListsManager.addToWorkingList(String listName,
DocumentModel doc) |
List<DocumentModel> |
DocumentsListsManagerBean.addToWorkingList(String listName,
List<DocumentModel> docList) |
List<DocumentModel> |
DocumentsListsManager.addToWorkingList(String listName,
List<DocumentModel> docList)
Adds a list of DocumentModels to the list ListName.
|
List<DocumentModel> |
BaseDocumentsListsManager.addToWorkingList(String listName,
List<DocumentModel> docList) |
List<DocumentModel> |
DocumentsListsManagerBean.addToWorkingList(String listName,
List<DocumentModel> docList,
Boolean forceAppend) |
List<DocumentModel> |
DocumentsListsManager.addToWorkingList(String listName,
List<DocumentModel> docList,
Boolean forceAppend)
Adds a list of DocumentModels to the list ListName.
|
List<DocumentModel> |
BaseDocumentsListsManager.addToWorkingList(String listName,
List<DocumentModel> docList,
Boolean forceAppend) |
List<DocumentModel> |
DocumentsListsManagerBean.getWorkingList() |
List<DocumentModel> |
DocumentsListsManager.getWorkingList()
Returns the default list.
|
List<DocumentModel> |
DocumentsListsManagerBean.getWorkingList(String listName) |
List<DocumentModel> |
DocumentsListsManager.getWorkingList(String listName)
Returns the list listName.
|
List<DocumentModel> |
BaseDocumentsListsManager.getWorkingList(String listName) |
List<DocumentModel> |
DocumentsListsPersistenceManager.loadPersistentDocumentsLists(CoreSession currentSession,
String userName,
String listName) |
List<DocumentModel> |
DocumentsListsManagerBean.removeFromWorkingList(DocumentModel doc) |
List<DocumentModel> |
DocumentsListsManager.removeFromWorkingList(DocumentModel doc)
Removes one DocumentModel from the default list.
|
List<DocumentModel> |
DocumentsListsManagerBean.removeFromWorkingList(String listName,
DocumentModel doc) |
List<DocumentModel> |
DocumentsListsManager.removeFromWorkingList(String listName,
DocumentModel doc)
Removes one DocumentModel from the list ListName.
|
List<DocumentModel> |
BaseDocumentsListsManager.removeFromWorkingList(String listName,
DocumentModel doc) |
List<DocumentModel> |
DocumentsListsManagerBean.removeFromWorkingList(String listName,
List<DocumentModel> lst) |
List<DocumentModel> |
DocumentsListsManager.removeFromWorkingList(String listName,
List<DocumentModel> lst) |
List<DocumentModel> |
BaseDocumentsListsManager.removeFromWorkingList(String listName,
List<DocumentModel> lst) |
List<DocumentModel> |
DocumentsListsManagerBean.resetWorkingList() |
List<DocumentModel> |
DocumentsListsManager.resetWorkingList()
Removes DocumentModels from the default list.
|
List<DocumentModel> |
DocumentsListsManagerBean.resetWorkingList(List<DocumentModel> newDocList) |
List<DocumentModel> |
DocumentsListsManager.resetWorkingList(List<DocumentModel> newDocList)
Resets default list and fills it with newDocList.
|
List<DocumentModel> |
DocumentsListsManagerBean.resetWorkingList(String listName) |
List<DocumentModel> |
DocumentsListsManager.resetWorkingList(String listName)
Removes DocumentModels from the list ListName.
|
List<DocumentModel> |
BaseDocumentsListsManager.resetWorkingList(String listName) |
List<DocumentModel> |
DocumentsListsManagerBean.resetWorkingList(String listName,
List<DocumentModel> newDocList) |
List<DocumentModel> |
DocumentsListsManager.resetWorkingList(String listName,
List<DocumentModel> newDocList)
Resets list listName and fill it with newDocList.
|
List<DocumentModel> |
BaseDocumentsListsManager.resetWorkingList(String listName,
List<DocumentModel> newDocList) |
Modifier and Type | Method and Description |
---|---|
Boolean |
DocumentsListsPersistenceManager.addDocumentToPersistentList(String userName,
String listName,
DocumentModel doc) |
List<DocumentModel> |
DocumentsListsManagerBean.addToWorkingList(DocumentModel doc) |
List<DocumentModel> |
DocumentsListsManager.addToWorkingList(DocumentModel doc)
Adds one document to the default list.
|
List<DocumentModel> |
DocumentsListsManagerBean.addToWorkingList(String listName,
DocumentModel doc) |
List<DocumentModel> |
DocumentsListsManager.addToWorkingList(String listName,
DocumentModel doc)
Adds one document to the list listName.
|
List<DocumentModel> |
BaseDocumentsListsManager.addToWorkingList(String listName,
DocumentModel doc) |
void |
DocumentsListsManagerBean.refreshLists(DocumentModel currentDocument) |
void |
DocumentsListsManager.refreshLists(DocumentModel currentDocument)
Method called by Seam event service to reset lists.
|
void |
ConversationDocumentsListsManager.refreshLists(DocumentModel selectedDocument) |
void |
ConversationDocumentsListsManager.refreshLists(String eventName,
DocumentModel selectedDocument) |
void |
ConversationDocumentsListsManager.refreshListsOnDocumentSelectionChanged(DocumentModel selectedDocument) |
Boolean |
DocumentsListsPersistenceManager.removeDocumentFromPersistentList(String userName,
String listName,
DocumentModel doc) |
List<DocumentModel> |
DocumentsListsManagerBean.removeFromWorkingList(DocumentModel doc) |
List<DocumentModel> |
DocumentsListsManager.removeFromWorkingList(DocumentModel doc)
Removes one DocumentModel from the default list.
|
List<DocumentModel> |
DocumentsListsManagerBean.removeFromWorkingList(String listName,
DocumentModel doc) |
List<DocumentModel> |
DocumentsListsManager.removeFromWorkingList(String listName,
DocumentModel doc)
Removes one DocumentModel from the list ListName.
|
List<DocumentModel> |
BaseDocumentsListsManager.removeFromWorkingList(String listName,
DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
DocumentsListsManagerBean.addToWorkingList(List<DocumentModel> docList) |
List<DocumentModel> |
DocumentsListsManager.addToWorkingList(List<DocumentModel> docList)
Adds a list of DocumentModels to the default list.
|
List<DocumentModel> |
DocumentsListsManagerBean.addToWorkingList(String listName,
List<DocumentModel> docList) |
List<DocumentModel> |
DocumentsListsManager.addToWorkingList(String listName,
List<DocumentModel> docList)
Adds a list of DocumentModels to the list ListName.
|
List<DocumentModel> |
BaseDocumentsListsManager.addToWorkingList(String listName,
List<DocumentModel> docList) |
List<DocumentModel> |
DocumentsListsManagerBean.addToWorkingList(String listName,
List<DocumentModel> docList,
Boolean forceAppend) |
List<DocumentModel> |
DocumentsListsManager.addToWorkingList(String listName,
List<DocumentModel> docList,
Boolean forceAppend)
Adds a list of DocumentModels to the list ListName.
|
List<DocumentModel> |
BaseDocumentsListsManager.addToWorkingList(String listName,
List<DocumentModel> docList,
Boolean forceAppend) |
void |
DocumentsListsManagerBean.removeFromAllLists(List<DocumentModel> documentsToRemove) |
void |
DocumentsListsManager.removeFromAllLists(List<DocumentModel> documentsToRemove)
Removes documentsToRemove from all lists.
|
void |
BaseDocumentsListsManager.removeFromAllLists(List<DocumentModel> documentsToRemove) |
List<DocumentModel> |
DocumentsListsManagerBean.removeFromWorkingList(String listName,
List<DocumentModel> lst) |
List<DocumentModel> |
DocumentsListsManager.removeFromWorkingList(String listName,
List<DocumentModel> lst) |
List<DocumentModel> |
BaseDocumentsListsManager.removeFromWorkingList(String listName,
List<DocumentModel> lst) |
List<DocumentModel> |
DocumentsListsManagerBean.resetWorkingList(List<DocumentModel> newDocList) |
List<DocumentModel> |
DocumentsListsManager.resetWorkingList(List<DocumentModel> newDocList)
Resets default list and fills it with newDocList.
|
List<DocumentModel> |
DocumentsListsManagerBean.resetWorkingList(String listName,
List<DocumentModel> newDocList) |
List<DocumentModel> |
DocumentsListsManager.resetWorkingList(String listName,
List<DocumentModel> newDocList)
Resets list listName and fill it with newDocList.
|
List<DocumentModel> |
BaseDocumentsListsManager.resetWorkingList(String listName,
List<DocumentModel> newDocList) |
void |
DocumentsListsManagerBean.setWorkingList(List<DocumentModel> docList) |
void |
DocumentsListsManager.setWorkingList(List<DocumentModel> docList)
Updates the default list.
|
void |
DocumentsListsManagerBean.setWorkingList(String listName,
List<DocumentModel> docList) |
void |
DocumentsListsManager.setWorkingList(String listName,
List<DocumentModel> docList)
Updates the list listName.
|
void |
BaseDocumentsListsManager.setWorkingList(String listName,
List<DocumentModel> docList) |
Modifier and Type | Method and Description |
---|---|
String |
DocumentTemplatesActionsBean.createDocumentFromTemplate(DocumentModel doc) |
String |
DocumentTemplatesActions.createDocumentFromTemplate(DocumentModel doc)
Creates a Document from a template using the selectedTemplateId.
|
String |
DocumentTemplatesActionsBean.createDocumentFromTemplate(DocumentModel doc,
String templateId) |
String |
DocumentTemplatesActions.createDocumentFromTemplate(DocumentModel doc,
String templateId)
Creates a Document from a template.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
LockActionsBean.getCanLockDoc(DocumentModel document) |
Boolean |
LockActions.getCanLockDoc(DocumentModel document)
Tests if the user can get the lock of a document.
|
Boolean |
LockActionsBean.getCanUnlockDoc(DocumentModel document) |
Boolean |
LockActions.getCanUnlockDoc(DocumentModel document)
Tests if the user can unlock a document.
|
Map<String,Serializable> |
LockActionsBean.getLockDetails(DocumentModel document) |
Map<String,Serializable> |
LockActions.getLockDetails(DocumentModel document)
Gets the details about the lock of a document,who did the lock and when
the lock took place.
|
String |
LockActionsBean.lockDocument(DocumentModel document) |
String |
LockActions.lockDocument(DocumentModel document)
Gets the lock of the document.
|
String |
LockActionsBean.unlockDocument(DocumentModel document) |
String |
LockActions.unlockDocument(DocumentModel document)
Releases the lock of the document.
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
FileManageActionsBean.getChangeableDocument() |
Modifier and Type | Method and Description |
---|---|
String |
FileManageActionsBean.addBinaryFileFromPlugin(Blob blob,
String fullName,
DocumentModel targetContainer) |
BlobHolder |
BlobHolderGenerator.getBlobHolder(DocumentModel document) |
void |
FileManageActionsBean.setChangeableDocument(DocumentModel changeableDocument) |
void |
FileManageActionsBean.validateMultipleUploadForDocument(DocumentModel current) |
Modifier and Type | Method and Description |
---|---|
String |
LogoHelper.getLogoURL(DocumentModel doc) |
static List<String> |
EventManager.raiseEventsOnDocumentChange(DocumentModel document)
Fires the necessary events so that the nuxeo infrastructure components get
updated.
|
static List<String> |
EventManager.raiseEventsOnDocumentChildrenChange(DocumentModel document)
Fires the necessary events so that the nuxeo infrastructure components get
updated.
|
static void |
EventManager.raiseEventsOnDocumentCreate(DocumentModel document)
Dispatches an event to get interested components informed when a changeable
document was created (thus not saved) and before the form is displayed.
|
static List<String> |
EventManager.raiseEventsOnDocumentSelected(DocumentModel document)
Fires the necessary events so that the nuxeo infrastructure components get
updated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
LiveEditBootstrapHelper.isDocumentLiveEditable(DocumentModel documentModel,
String propertyName) |
boolean |
LiveEditBootstrapHelper.isDocumentLiveEditable(DocumentModel documentModel,
String schemaName,
String fieldName) |
boolean |
LiveEditBootstrapHelper.isLiveEditable(DocumentModel document,
Blob blob) |
Modifier and Type | Method and Description |
---|---|
Object |
SearchLocalConfigurationFactory.getAdapter(DocumentModel doc,
Class<?> itf) |
Constructor and Description |
---|
SearchLocalConfigurationAdapter(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
void |
LocaleStartup.setupLocale(DocumentModel userProfileDoc) |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
EditorImageActionsBean.getSearchImageResults() |
List<DocumentModel> |
EditorImageActions.getSearchImageResults() |
List<DocumentModel> |
EditorImageActionsBean.getSearchVideosResults() |
List<DocumentModel> |
EditorImageActions.getSearchVideosResults()
List of result of the searched the videos.
|
Modifier and Type | Method and Description |
---|---|
String |
EditorImageActionsBean.getURLVideo(DocumentModel video,
String type) |
String |
EditorImageActions.getURLVideo(DocumentModel video,
String type)
Get the URL of a transcoded video for a specific format.
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
GroupManagementActions.getNewGroup() |
DocumentModel |
UserManagementActions.getNewUser() |
DocumentModel |
GroupManagementActions.getSelectedGroup() |
DocumentModel |
UserManagementActions.getSelectedUser() |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
UserSuggestionActionsBean.getGroupsSuggestions(Object input) |
List<DocumentModel> |
UserSuggestionActionsBean.getUserSuggestions(Object input) |
Modifier and Type | Method and Description |
---|---|
void |
UserManagementActions.setSelectedUser(DocumentModel user) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
DocumentTreeNodeImpl.getDocument() |
DocumentModel |
DocumentTreeNode.getDocument()
Returns the document corresponding to this node
|
Modifier and Type | Method and Description |
---|---|
boolean |
BigFolderLeafFilter.accept(DocumentModel document)
Accepts if the document has the
BigFolder facet. |
boolean |
DocumentTreeNodeImpl.isSelected(DocumentModel currentDocument) |
boolean |
DocumentTreeNode.isSelected(DocumentModel currentDocument)
Returns true if node represents current document, or if it's the direct
parent of a non-folderish document that is not be represented in the
tree.
|
Constructor and Description |
---|
DocumentTreeNodeImpl(DocumentModel document,
Filter filter,
Filter leafFilter,
Sorter sorter,
String pageProviderName) |
DocumentTreeNodeImpl(DocumentModel document,
Filter filter,
Sorter sorter) |
DocumentTreeNodeImpl(String sessionId,
DocumentModel document,
Filter filter,
Filter leafFilter,
Sorter sorter,
String pageProviderName)
Deprecated.
since 5.9.1, sessionId not used.
|
DocumentTreeNodeImpl(String sessionId,
DocumentModel document,
Filter filter,
Sorter sorter)
Deprecated.
since 5.9.1, sessionId not used.
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
VersionedActionsBean.getSourceDocument() |
DocumentModel |
VersionedActions.getSourceDocument() |
DocumentModel |
VersionedActionsBean.getSourceDocument(DocumentModel document) |
DocumentModel |
VersionedActions.getSourceDocument(DocumentModel document) |
Modifier and Type | Method and Description |
---|---|
VersionIncEditOptions |
DocumentVersioningBean.getAvailableVersioningOptions(DocumentModel doc) |
Collection<VersionModel> |
DocumentVersioningBean.getItemVersioningHistory(DocumentModel document) |
Collection<VersionModel> |
DocumentVersioning.getItemVersioningHistory(DocumentModel document)
Returns the available versioning options for the document parameter and
state.
|
DocumentModel |
VersionedActionsBean.getSourceDocument(DocumentModel document) |
DocumentModel |
VersionedActions.getSourceDocument(DocumentModel document) |
Map<String,String> |
DocumentVersioningBean.getVersioningOptionsMap(DocumentModel doc) |
Map<String,String> |
DocumentVersioning.getVersioningOptionsMap(DocumentModel documentModel)
Creates a Map with versioning options (as keys) and labels (as map entry
values).
|
String |
DocumentVersioningBean.getVersionLabel(DocumentModel doc) |
String |
DocumentVersioning.getVersionLabel(DocumentModel document) |
void |
DocumentVersioningBean.setVersioningOptionInstanceId(DocumentModel docModel,
String optionId)
Deprecated.
|
void |
DocumentVersioning.setVersioningOptionInstanceId(DocumentModel document,
String optionId)
Deprecated.
since 5.7.3: document context map is now filled directly by
the widget
|
void |
DocumentVersioningBean.setVersioningOptionInstanceId(DocumentModel docModel,
VersioningActions option)
Deprecated.
|
void |
DocumentVersioning.setVersioningOptionInstanceId(DocumentModel document,
VersioningActions option)
Deprecated.
since 5.7.3: document context map is now filled directly by
the widget
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
SimpleBackend.copyItem(DocumentModel source,
PathRef targetParentRef) |
DocumentModel |
Backend.copyItem(DocumentModel source,
PathRef targetParentRef) |
DocumentModel |
AbstractVirtualBackend.copyItem(DocumentModel source,
PathRef targetParentRef) |
DocumentModel |
SimpleBackend.createFile(String parentPath,
String name) |
DocumentModel |
Backend.createFile(String parentPath,
String name) |
DocumentModel |
AbstractVirtualBackend.createFile(String parentPath,
String name) |
DocumentModel |
SimpleBackend.createFile(String parentPath,
String name,
Blob content) |
DocumentModel |
Backend.createFile(String parentPath,
String name,
Blob content) |
DocumentModel |
AbstractVirtualBackend.createFile(String parentPath,
String name,
Blob content) |
DocumentModel |
SimpleBackend.createFolder(String parentPath,
String name) |
DocumentModel |
Backend.createFolder(String parentPath,
String name) |
DocumentModel |
AbstractVirtualBackend.createFolder(String parentPath,
String name) |
DocumentModel |
PathCache.get(String path) |
DocumentModel |
SimpleBackend.getDocument(String location) |
DocumentModel |
Backend.getDocument(String location) |
DocumentModel |
AbstractVirtualBackend.getDocument(String location) |
DocumentModel |
SimpleBackend.moveItem(DocumentModel source,
DocumentRef targetParentRef,
String name) |
DocumentModel |
Backend.moveItem(DocumentModel source,
DocumentRef targetParentRef,
String name) |
DocumentModel |
AbstractVirtualBackend.moveItem(DocumentModel source,
DocumentRef targetParentRef,
String name) |
DocumentModel |
SimpleBackend.moveItem(DocumentModel source,
PathRef targetParentRef) |
DocumentModel |
Backend.moveItem(DocumentModel source,
PathRef targetParentRef) |
DocumentModel |
AbstractVirtualBackend.moveItem(DocumentModel source,
PathRef targetParentRef) |
DocumentModel |
SimpleBackend.resolveLocation(String location) |
DocumentModel |
Backend.resolveLocation(String location) |
DocumentModel |
AbstractVirtualBackend.resolveLocation(String location) |
DocumentModel |
SimpleBackend.updateDocument(DocumentModel doc,
String name,
Blob content) |
DocumentModel |
Backend.updateDocument(DocumentModel doc,
String name,
Blob content) |
DocumentModel |
AbstractVirtualBackend.updateDocument(DocumentModel doc,
String name,
Blob content) |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
SimpleBackend.getChildren(DocumentRef ref) |
List<DocumentModel> |
Backend.getChildren(DocumentRef ref) |
List<DocumentModel> |
AbstractVirtualBackend.getChildren(DocumentRef ref) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
SimpleBackend.copyItem(DocumentModel source,
PathRef targetParentRef) |
DocumentModel |
Backend.copyItem(DocumentModel source,
PathRef targetParentRef) |
DocumentModel |
AbstractVirtualBackend.copyItem(DocumentModel source,
PathRef targetParentRef) |
String |
SimpleBackend.getDisplayName(DocumentModel doc) |
String |
Backend.getDisplayName(DocumentModel doc) |
String |
AbstractVirtualBackend.getDisplayName(DocumentModel doc) |
DocumentModel |
SimpleBackend.moveItem(DocumentModel source,
DocumentRef targetParentRef,
String name) |
DocumentModel |
Backend.moveItem(DocumentModel source,
DocumentRef targetParentRef,
String name) |
DocumentModel |
AbstractVirtualBackend.moveItem(DocumentModel source,
DocumentRef targetParentRef,
String name) |
DocumentModel |
SimpleBackend.moveItem(DocumentModel source,
PathRef targetParentRef) |
DocumentModel |
Backend.moveItem(DocumentModel source,
PathRef targetParentRef) |
DocumentModel |
AbstractVirtualBackend.moveItem(DocumentModel source,
PathRef targetParentRef) |
void |
PathCache.put(String path,
DocumentModel model) |
void |
SimpleBackend.renameItem(DocumentModel source,
String destinationName) |
void |
Backend.renameItem(DocumentModel source,
String destinationName) |
void |
AbstractVirtualBackend.renameItem(DocumentModel source,
String destinationName) |
DocumentModel |
SimpleBackend.updateDocument(DocumentModel doc,
String name,
Blob content) |
DocumentModel |
Backend.updateDocument(DocumentModel doc,
String name,
Blob content) |
DocumentModel |
AbstractVirtualBackend.updateDocument(DocumentModel doc,
String name,
Blob content) |
Constructor and Description |
---|
FileResource(String path,
DocumentModel doc,
javax.servlet.http.HttpServletRequest request,
Backend backend) |
FolderResource(String path,
DocumentModel doc,
javax.servlet.http.HttpServletRequest request,
Backend backend) |
Modifier and Type | Method and Description |
---|---|
void |
TestFormInstance.fillDocument(DocumentModel doc)
TODO XXX implement it
|
void |
FormInstance.fillDocument(DocumentModel doc) |
void |
FormData.fillDocument(DocumentModel doc) |
void |
FormData.fillDocumentFromForm(DocumentModel doc) |
void |
FormData.fillDocumentFromMultiPartForm(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
Validator.validate(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
String |
ModuleResource.getLink(DocumentModel doc) |
String |
WebContext.getUrlPath(DocumentModel document)
Get a suitable URI path for the given Nuxeo document, that can be used to
invoke this document.
|
DocumentModel |
Validator.validate(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
String |
ModuleRoot.getLink(DocumentModel doc)
You should override this method to resolve objects to links.
|
String |
AbstractWebContext.getUrlPath(DocumentModel document)
This method is working only for root objects that implement
ModuleResource |
Constructor and Description |
---|
DocumentTree(WebContext ctx,
DocumentModel rootDoc) |
Modifier and Type | Method and Description |
---|---|
static AggregateEsBase<? extends Bucket> |
AggregateFactory.create(AggregateDefinition def,
DocumentModel searchDocumentModel) |
Constructor and Description |
---|
AggregateEsBase(AggregateDefinition definition,
DocumentModel searchDocument) |
DateHistogramAggregate(AggregateDefinition definition,
DocumentModel searchDocument) |
DateRangeAggregate(AggregateDefinition definition,
DocumentModel searchDocument) |
HistogramAggregate(AggregateDefinition definition,
DocumentModel searchDocument) |
RangeAggregate(AggregateDefinition definition,
DocumentModel searchDocument) |
SignificantTermAggregate(AggregateDefinition definition,
DocumentModel searchDocument) |
TermAggregate(AggregateDefinition definition,
DocumentModel searchDocument) |
Modifier and Type | Method and Description |
---|---|
org.elasticsearch.action.search.SearchRequestBuilder |
ESAuditBackend.buildSearchQuery(String fixedPart,
PredicateDefinition[] predicates,
DocumentModel searchDocumentModel) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
IndexingCommands.getTargetDocument() |
DocumentModel |
IndexingCommand.getTargetDocument() |
Modifier and Type | Method and Description |
---|---|
IndexingCommand |
IndexingCommand.clone(DocumentModel newDoc) |
Constructor and Description |
---|
IndexingCommand(DocumentModel targetDocument,
boolean sync,
boolean recurse) |
IndexingCommand(DocumentModel targetDocument,
String command,
boolean sync,
boolean recurse) |
IndexingCommands(DocumentModel targetDocument) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
JsonDocumentModelReader.getDocumentModel() |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
ElasticSearchNxqlPageProvider.getCurrentPage() |
List<DocumentModel> |
ElasticSearchNativePageProvider.getCurrentPage() |
Modifier and Type | Method and Description |
---|---|
static org.elasticsearch.index.query.QueryBuilder |
PageProviderQueryBuilder.makeQuery(DocumentModel model,
WhereClauseDefinition whereClause,
Object[] params,
boolean useNativeQuery)
Create a ES request from a PP whereClause
|
Modifier and Type | Method and Description |
---|---|
Object |
YUILayoutAdapterFactory.getAdapter(DocumentModel doc,
Class itf) |
Constructor and Description |
---|
YUILayoutAdapterImpl(DocumentModel doc) |
Constructor and Description |
---|
FolderGson(DocumentModel folder,
String previewDocId) |
Constructor and Description |
---|
FoldersListGson(Collection<DocumentModel> children,
CoreSession session) |
Modifier and Type | Method and Description |
---|---|
Class<?> |
WebContentSaverServiceImpl.getWebContentAdapterFor(DocumentModel doc) |
Class<?> |
WebContentSaverService.getWebContentAdapterFor(DocumentModel doc) |
Class<?> |
WebContentSaverServiceImpl.getWebContentDAOFor(DocumentModel doc) |
Class<?> |
WebContentSaverService.getWebContentDAOFor(DocumentModel doc) |
WebContentData |
WebContentSaverServiceImpl.read(DocumentModel doc,
CoreSession session) |
WebContentData |
WebContentSaverService.read(DocumentModel doc,
CoreSession session) |
Modifier and Type | Method and Description |
---|---|
T |
AbstractWebContentDAO.read(DocumentModel doc,
CoreSession session) |
Constructor and Description |
---|
AbstractWebContentAdapter(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
T |
WebContentDAO.read(DocumentModel doc,
CoreSession session) |
Constructor and Description |
---|
HTMLAdapter(DocumentModel doc) |
Constructor and Description |
---|
OpenSocialAdapter(DocumentModel doc) |
Constructor and Description |
---|
PictureAdapter(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
Object |
WebContentAdapterFactory.getAdapter(DocumentModel doc,
Class itf) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
BookFileManagerPlugin.create(CoreSession documentManager,
Blob content,
String path,
boolean overwrite,
String filename,
TypeManager typeService) |
DocumentModel |
BookManagerBean.BookInfo.getDocument() |
Modifier and Type | Method and Description |
---|---|
void |
BookEventListener.process(DocumentModel doc) |
void |
BookISBNEventListener.process(DocumentModel doc) |
Constructor and Description |
---|
BookManagerBean.BookInfo(DocumentModel doc,
List<String> labels) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
SearchUIServiceImpl.saveSearch(CoreSession session,
ContentView searchContentView,
String title) |
DocumentModel |
SearchUIService.saveSearch(CoreSession session,
ContentView searchContentView,
String title)
Save the current search in the user workspace with the given title.
|
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
SearchUIServiceImpl.getCurrentUserSavedSearches(CoreSession session) |
List<DocumentModel> |
SearchUIService.getCurrentUserSavedSearches(CoreSession session)
Returns the current user saved searches, located into its own user
workspace.
|
List<DocumentModel> |
SearchUIServiceImpl.getSharedSavedSearches(CoreSession session) |
List<DocumentModel> |
SearchUIService.getSharedSavedSearches(CoreSession session)
Returns all the accessible saved searches except the ones for the current
user.
|
Modifier and Type | Method and Description |
---|---|
List<ContentViewHeader> |
SearchUIServiceImpl.getContentViewHeaders(ActionContext actionContext,
DocumentModel doc) |
List<ContentViewHeader> |
SearchUIService.getContentViewHeaders(ActionContext actionContext,
DocumentModel doc)
Returns the list of Content view headers associated to a search and
depending of a local configuration.
|
Modifier and Type | Method and Description |
---|---|
Object |
SearchConfigurationFactory.getAdapter(DocumentModel doc,
Class<?> itf) |
Constructor and Description |
---|
SearchConfigurationAdapter(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
List<ContentViewHeader> |
SearchUIConfigurationActions.getNotSelectedContentViewHeaders(DocumentModel document) |
List<ContentViewHeader> |
SearchUIConfigurationActions.getSelectedContentViewHeaders(DocumentModel document) |
void |
SearchUIActions.loadSavedSearch(String contentViewName,
DocumentModel searchDocument) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
Snapshot.getDocument() |
DocumentModel |
SnapshotableAdapter.getDocument() |
DocumentModel |
Snapshot.restore(String versionLabel) |
DocumentModel |
SnapshotableAdapter.restore(String versionLabel) |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
Snapshot.getChildren() |
List<DocumentModel> |
SnapshotableAdapter.getChildren() |
Modifier and Type | Method and Description |
---|---|
Object |
SnapshotAdapterFactory.getAdapter(DocumentModel doc,
Class<?> adapter) |
Constructor and Description |
---|
SnapshotableAdapter(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
CreateTreeSnapshot.run(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
CreateTreeSnapshot.run(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
VFolderPageProvider.getCurrentPage() |
Modifier and Type | Method and Description |
---|---|
PublishedDocument |
FolderishProxyFactory.publishDocument(DocumentModel doc,
PublicationNode targetNode,
Map<String,String> params) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
AbstractTemplateDocument.getAdaptedDoc() |
DocumentModel |
AbstractTemplateDocument.save() |
Modifier and Type | Method and Description |
---|---|
Object |
TemplateAdapterFactory.getAdapter(DocumentModel doc,
Class adapterClass) |
static boolean |
TemplateAdapterFactory.isAdaptable(DocumentModel doc,
Class<?> adapterClass)
Checks if the document can be adapted.
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
TemplateBasedDocumentAdapterImpl.getSourceTemplateDoc(String templateName) |
DocumentModel |
TemplateBasedDocumentAdapterImpl.initializeFromTemplate(boolean save) |
DocumentModel |
TemplateBasedDocumentAdapterImpl.initializeFromTemplate(String templateName,
boolean save) |
DocumentModel |
TemplateBasedDocumentAdapterImpl.removeTemplateBinding(String templateName,
boolean save) |
DocumentModel |
TemplateBasedDocumentAdapterImpl.saveParams(String templateName,
List<TemplateInput> params,
boolean save) |
DocumentModel |
TemplateBasedDocumentAdapterImpl.setTemplate(DocumentModel template,
boolean save) |
Modifier and Type | Method and Description |
---|---|
void |
TemplateBindings.save(DocumentModel doc) |
DocumentModel |
TemplateBasedDocumentAdapterImpl.setTemplate(DocumentModel template,
boolean save) |
Constructor and Description |
---|
TemplateBasedDocumentAdapterImpl(DocumentModel doc) |
TemplateBindings(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
TemplateSourceDocumentAdapterImpl.saveParams(List<TemplateInput> params,
boolean save) |
Constructor and Description |
---|
TemplateSourceDocumentAdapterImpl(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
TemplateProcessorService.detachTemplateBasedDocument(DocumentModel targetDoc,
String templateName,
boolean save)
Detach a Template from a
DocumentModel |
DocumentModel |
TemplateProcessorService.makeTemplateBasedDocument(DocumentModel targetDoc,
DocumentModel sourceTemplateDoc,
boolean save)
Associate a
DocumentModel to a TemplateSourceDocument . |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
TemplateProcessorService.getAvailableTemplateDocs(CoreSession session,
String targetType)
Find
TemplateSourceDocument s that can be bound to a given doc
type. |
Modifier and Type | Method and Description |
---|---|
void |
TemplateProcessorService.addContextExtensions(DocumentModel currentDocument,
DocumentWrapper wrapper,
Map<String,Object> ctx) |
DocumentModel |
TemplateProcessorService.detachTemplateBasedDocument(DocumentModel targetDoc,
String templateName,
boolean save)
Detach a Template from a
DocumentModel |
List<TemplateBasedDocument> |
TemplateProcessorService.getLinkedTemplateBasedDocuments(DocumentModel source)
Retrieve the DocumentModels using a given
TemplateSourceDocument |
DocumentModel |
TemplateProcessorService.makeTemplateBasedDocument(DocumentModel targetDoc,
DocumentModel sourceTemplateDoc,
boolean save)
Associate a
DocumentModel to a TemplateSourceDocument . |
void |
TemplateProcessorService.registerTypeMapping(DocumentModel doc)
Update Type2Template Mapping from the data contained in the source
DocumentModel.
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
TemplateSourceDocument.getAdaptedDoc()
Return the underlying adapted
DocumentModel s |
DocumentModel |
TemplateBasedDocument.getAdaptedDoc()
Return the underlying adapted
DocumentModel |
DocumentModel |
TemplateBasedDocument.getSourceTemplateDoc(String templateName)
Retrieve the Template
DocumentModel for a given template name |
DocumentModel |
TemplateBasedDocument.initializeFromTemplate(String templateName,
boolean save)
Initialize the template parameters from the associated template
|
DocumentModel |
TemplateBasedDocument.removeTemplateBinding(String templateName,
boolean save)
Detach a template from the underlying
DocumentModel |
DocumentModel |
TemplateSourceDocument.save()
Save changes in the underlying
DocumentModel |
DocumentModel |
TemplateSourceDocument.saveParams(List<TemplateInput> params,
boolean save)
Save parameters changes
|
DocumentModel |
TemplateBasedDocument.saveParams(String templateName,
List<TemplateInput> params,
boolean save)
Save parameters changes.
|
DocumentModel |
TemplateBasedDocument.setTemplate(DocumentModel template,
boolean save)
Associate the document to a Template.
|
Modifier and Type | Method and Description |
---|---|
DocumentModel |
TemplateBasedDocument.setTemplate(DocumentModel template,
boolean save)
Associate the document to a Template.
|
Modifier and Type | Method and Description |
---|---|
Object |
ContextExtensionFactory.getExtension(DocumentModel currentDocument,
DocumentWrapper wrapper,
Map<String,Object> ctx)
Called before redering to let you add objects inside the rendering
context.
|
Object |
DocumentWrapper.wrap(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
Blob |
RenderWithTemplateOperation.run(DocumentModel targetDocument) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
AbstractContextBuilder.build(DocumentModel doc,
DocumentWrapper nuxeoWrapper,
String templateName) |
Map<String,Object> |
AbstractContextBuilder.build(DocumentModel doc,
String templateName) |
Object |
SimpleBeanWrapper.wrap(DocumentModel doc) |
Constructor and Description |
---|
BlobHolderWrapper(DocumentModel doc) |
SimpleDocumentWrapper(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
Object |
FunctionsExtensionFactory.getExtension(DocumentModel currentDocument,
DocumentWrapper wrapper,
Map<String,Object> ctx) |
Object |
CoreExtensionFactory.getExtension(DocumentModel currentDocument,
DocumentWrapper wrapper,
Map<String,Object> ctx) |
Object |
AuditExtensionFactory.getExtension(DocumentModel currentDocument,
DocumentWrapper wrapper,
Map<String,Object> ctx) |
Constructor and Description |
---|
ContextFunctions(DocumentModel doc,
DocumentWrapper nuxeoWrapper) |
CoreExtensions(DocumentModel doc,
DocumentWrapper nuxeoWrapper) |
Modifier and Type | Method and Description |
---|---|
Object |
ExtensionFactory.getExtension(DocumentModel doc,
DocumentWrapper wrapper,
Map<String,Object> ctx) |
Constructor and Description |
---|
JAXRSExtensions(DocumentModel doc,
DocumentWrapper nuxeoWrapper,
String templateName) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
BidirectionalTemplateProcessor.updateDocumentFromBlob(TemplateBasedDocument templateDocument,
String templateName) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
WordXMLRawTemplateProcessor.updateDocumentFromBlob(TemplateBasedDocument templateDocument,
String templateName) |
Modifier and Type | Method and Description |
---|---|
static String |
FieldDefinitionGenerator.generate(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
boolean |
TemplateBasedRenditionProvider.isAvailable(DocumentModel doc,
RenditionDefinition def) |
boolean |
HtmlRenditionProvider.isAvailable(DocumentModel doc,
RenditionDefinition def) |
List<Blob> |
TemplateBasedRenditionProvider.render(DocumentModel doc,
RenditionDefinition definition) |
List<Blob> |
HtmlRenditionProvider.render(DocumentModel doc,
RenditionDefinition definition) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
TemplateProcessorComponent.detachTemplateBasedDocument(DocumentModel targetDoc,
String templateName,
boolean save) |
DocumentModel |
TemplateProcessorComponent.makeTemplateBasedDocument(DocumentModel targetDoc,
DocumentModel sourceTemplateDoc,
boolean save) |
Modifier and Type | Method and Description |
---|---|
List<DocumentModel> |
TemplateProcessorComponent.getAvailableTemplateDocs(CoreSession session,
String targetType) |
Modifier and Type | Method and Description |
---|---|
void |
TemplateProcessorComponent.addContextExtensions(DocumentModel currentDocument,
DocumentWrapper wrapper,
Map<String,Object> ctx) |
DocumentModel |
TemplateProcessorComponent.detachTemplateBasedDocument(DocumentModel targetDoc,
String templateName,
boolean save) |
List<TemplateBasedDocument> |
TemplateProcessorComponent.getLinkedTemplateBasedDocuments(DocumentModel source) |
DocumentModel |
TemplateProcessorComponent.makeTemplateBasedDocument(DocumentModel targetDoc,
DocumentModel sourceTemplateDoc,
boolean save) |
void |
TemplateProcessorComponent.registerTypeMapping(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
BaseTemplateAction.resolveTemplateById(String uuid) |
Modifier and Type | Method and Description |
---|---|
Object |
LocalThemeConfigAdapterFactory.getAdapter(DocumentModel doc,
Class<?> itf) |
static LocalThemeConfig |
LocalThemeHelper.getLocalThemeConfig(DocumentModel doc) |
Constructor and Description |
---|
LocalThemeConfigAdapter(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
static Path |
JsonAdapter.getRelativePath(DocumentModel rootDoc,
DocumentModel doc) |
Constructor and Description |
---|
SiteDocumentTree(WebContext ctx,
DocumentModel rootDoc) |
Modifier and Type | Method and Description |
---|---|
static DocumentModel |
SiteUtils.createDocument(javax.servlet.http.HttpServletRequest request,
CoreSession session,
String parentPath,
String documentType)
Creates a document type that is received as parameter, as document model.
|
static DocumentModel |
SiteUtils.getFirstWebSiteParent(CoreSession session,
DocumentModel doc)
Gets the first mini-site parent.
|
static DocumentModel |
SiteUtils.getPageForComment(DocumentModel comment)
Retrieves the WebPage where this WebComment was published.
|
Modifier and Type | Method and Description |
---|---|
static void |
ContextTransmitterHelper.feedContext(DocumentModel doc) |
static Blob |
SiteUtils.getBlob(DocumentModel d,
String xpath) |
static boolean |
SiteUtils.getBoolean(DocumentModel d,
String xpath) |
static boolean |
SiteUtils.getBoolean(DocumentModel d,
String xpath,
boolean defaultValue) |
static DocumentModel |
SiteUtils.getFirstWebSiteParent(CoreSession session,
DocumentModel doc)
Gets the first mini-site parent.
|
static GregorianCalendar |
SiteUtils.getGregorianCalendar(DocumentModel d,
String xpath) |
static javax.ws.rs.core.Response |
SiteUtils.getLogoResponse(DocumentModel document) |
static String |
SiteUtils.getModerationType(CoreSession session,
DocumentModel doc) |
static ArrayList<String> |
SiteUtils.getModerators(CoreSession session,
DocumentModel doc) |
static Long |
SiteUtils.getNumber(DocumentModel d,
String xpath) |
static Long |
SiteUtils.getNumber(DocumentModel d,
String xpath,
Long defaultValue) |
static int |
SiteUtils.getNumberCommentsForPage(CoreSession session,
DocumentModel page)
Gets the number of comments added on a page (published actually, if the
moderation is on).
|
static DocumentModel |
SiteUtils.getPageForComment(DocumentModel comment)
Retrieves the WebPage where this WebComment was published.
|
static String |
SiteUtils.getPagePath(DocumentModel ws,
DocumentModel documentModel)
Returns the path for a webPage from a webSite.
|
static String |
SiteUtils.getString(DocumentModel d,
String xpath) |
static String |
SiteUtils.getString(DocumentModel d,
String xpath,
String defaultValue) |
static ArrayList<String> |
SiteUtils.getUsersWithPermission(CoreSession session,
DocumentModel doc,
Set<String> permissions) |
static List<String> |
SitesRelationsWikiHelper.getWordLinks(DocumentModel doc) |
static boolean |
SiteUtils.isCurrentModerated(CoreSession session,
DocumentModel doc) |
static boolean |
SiteUtils.isModeratedByCurrentUser(CoreSession session,
DocumentModel doc) |
static void |
SitesRelationsWikiHelper.updateRelations(DocumentModel doc,
List<String> linksList) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
NuxeoListItem.getDoc() |
DocumentModel |
WSSBackendAdapter.getDocument(String location) |
Modifier and Type | Method and Description |
---|---|
WSSListItem |
WSSBackendAdapter.moveItem(DocumentModel model,
String destination) |
Constructor and Description |
---|
NuxeoListItem(DocumentModel doc,
String corePathPrefix,
String urlRoot) |
Copyright © 2014 Nuxeo SA. All rights reserved.