Modifier and Type | Method and Description |
---|---|
static BundleGroupDocAdapter |
BundleGroupDocAdapter.create(BundleGroup bundleGroup,
CoreSession session,
String containerPath) |
static BundleInfoDocAdapter |
BundleInfoDocAdapter.create(BundleInfo bundleInfo,
CoreSession session,
String containerPath) |
static ComponentInfoDocAdapter |
ComponentInfoDocAdapter.create(ComponentInfo componentInfo,
CoreSession session,
String containerPath) |
static ExtensionInfoDocAdapter |
ExtensionInfoDocAdapter.create(ExtensionInfo xi,
CoreSession session,
String containerPath) |
static ExtensionPointInfoDocAdapter |
ExtensionPointInfoDocAdapter.create(ExtensionPointInfo xpi,
CoreSession session,
String containerPath) |
static OperationInfo |
OperationInfoDocAdapter.create(OperationInfo oi,
CoreSession session,
String containerPath)
Creates an actual document from the
OperationInfo . |
static SeamComponentInfo |
SeamComponentInfoDocAdapter.create(SeamComponentInfo sci,
CoreSession session,
String containerPath) |
static ServiceInfoDocAdapter |
ServiceInfoDocAdapter.create(ServiceInfo si,
CoreSession session,
String containerPath) |
Modifier and Type | Class and Description |
---|---|
class |
AutomationScriptingException |
Constructor and Description |
---|
AutomationScriptingException(ClientException cause) |
AutomationScriptingException(String message,
ClientException cause) |
Modifier and Type | Class and Description |
---|---|
class |
BinaryMetadataException |
Constructor and Description |
---|
BinaryMetadataException(ClientException cause) |
BinaryMetadataException(String message,
ClientException cause) |
Modifier and Type | Method and Description |
---|---|
void |
BinaryMetadataWorkListener.handleEvent(Event event) |
void |
BinaryMetadataSyncListener.handleEvent(Event event) |
Modifier and Type | Method and Description |
---|---|
void |
BoxAdapter.save(CoreSession session)
Update the document (nx/box sides) thanks to a box item
|
void |
BoxAdapter.setCreator(String value) |
void |
BoxAdapter.setDescription(String value) |
void |
BoxAdapter.setTitle(String value) |
Constructor and Description |
---|
BoxAdapter(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
String |
BoxCollaborationObject.doGetCollaboration(String collaborationId) |
String |
BoxCollaborationObject.doGetCollaborations() |
String |
BoxCollaborationObject.doPostCollaboration(String jsonBoxCollaboration) |
String |
BoxCollaborationObject.doPutCollaboration(String collaborationId,
String jsonBoxCollaboration) |
void |
BoxCollaborationObject.doRemoveCollaboration(String collaborationId)
Delete specific ACL for a given folder id
|
Modifier and Type | Method and Description |
---|---|
void |
BoxCommentObject.doDeleteComment(String commentId) |
String |
BoxCommentObject.doGetComment(String commentId) |
String |
BoxCommentObject.doGetComments() |
String |
BoxCommentObject.doPostComment(String jsonBoxComment) |
String |
BoxCommentObject.doPutComment(String commentId,
String jsonBoxComment) |
Modifier and Type | Method and Description |
---|---|
void |
BoxCommentAdapter.save(CoreSession session)
Update the comment (nx/box sides)
|
Constructor and Description |
---|
BoxCommentAdapter(DocumentModel doc)
Instantiate the adapter and the Box Comment from Nuxeo Document and load its properties into json format
|
Modifier and Type | Method and Description |
---|---|
void |
BoxFileObject.doDeleteFile(String fileId) |
String |
BoxFileObject.doGetFile(String fileId) |
String |
BoxFileObject.doPostFile(InputStream uploadedInputStream,
String fileName,
String parentId) |
String |
BoxFileObject.doUpdateFile(String fileId,
String jsonBoxFile) |
Modifier and Type | Method and Description |
---|---|
BoxCollection |
BoxFileAdapter.getComments() |
Constructor and Description |
---|
BoxFileAdapter(DocumentModel doc)
Instantiate the adapter and the Box File from Nuxeo Document and load its properties into json format
|
Modifier and Type | Method and Description |
---|---|
void |
BoxFolderObject.doDeleteFolder(String folderId) |
String |
BoxFolderObject.doGetFolder(String folderId) |
String |
BoxFolderObject.doPostFolder(String jsonBoxFolder) |
String |
BoxFolderObject.doPutFolder(String folderId,
String jsonBoxFolder) |
Modifier and Type | Method and Description |
---|---|
BoxCollaboration |
BoxFolderAdapter.getCollaboration(String collaborationId) |
BoxCollection |
BoxFolderAdapter.getCollaborations() |
BoxCollection |
BoxFolderAdapter.getItemCollection(CoreSession session,
String limit,
String offset,
String fields)
Fill item collection entries box object
|
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 |
BoxItemObject.doGetItems(String offset,
String limit,
String fields) |
Modifier and Type | Method and Description |
---|---|
String |
BoxSearchObject.doSearch(String query,
String offset,
String limit)
The string in query to search for; can be matched against item names, descriptions, text content of a file, and
other fields of the different item types.
|
Modifier and Type | Method and Description |
---|---|
BoxCollaboration |
BoxService.getBoxCollaboration(BoxFolderAdapter boxItem,
ACE ace,
String collaborationId) |
BoxCollaboration |
BoxServiceImpl.getBoxCollaboration(BoxFolderAdapter boxFolderAdapter,
ACE ace,
String collaborationId) |
List<BoxTypedObject> |
BoxService.getBoxDocumentCollection(DocumentModelList documentModels,
String fields) |
List<BoxTypedObject> |
BoxServiceImpl.getBoxDocumentCollection(DocumentModelList documentModels,
String fields) |
BoxCollection |
BoxService.searchBox(String term,
CoreSession session,
String limit,
String offset) |
BoxCollection |
BoxServiceImpl.searchBox(String term,
CoreSession session,
String limit,
String offset) |
Modifier and Type | Method and Description |
---|---|
String |
ExternalLinkManager.confirm() |
Modifier and Type | Method and Description |
---|---|
boolean |
PDFCreator.createPDF(String title,
OutputStream out) |
String |
PDFExportActions.exportSelectionAsPDF() |
Modifier and Type | Method and Description |
---|---|
void |
DamBulkEditActions.addTagsOnSelection(List<DocumentModel> selectedDocuments,
DocumentModel bulkEditDoc) |
void |
DamSearchActions.clearSearch() |
List<Type> |
DamImportActions.getAllowedImportFolderSubTypes() |
List<javax.faces.model.SelectItem> |
DamSearchActions.getAllSavedSearchesSelectItems() |
String |
DamSearchActions.getAssetPermanentLinkUrl()
Deprecated.
since 5.9.5. Use
DamActions.getAssetPermanentLinkUrl(boolean) . |
String |
DamActions.getAssetPermanentLinkUrl(boolean newConversation)
Returns the permanent link of an asset.
|
boolean |
DamActions.getCanCreateInAssetLibrary() |
Set<ContentViewHeader> |
DamSearchActions.getContentViewHeaders() |
String |
DamSearchActions.getJSONContentViewState() |
String |
DamSearchActions.getSearchPermanentLinkUrl()
Compute a permanent link for the current search.
|
String |
DamImportActions.getSelectedImportFolderId() |
String |
DamImportActions.getSelectedNewAssetType()
Gets the selected new asset type.
|
String |
DamImportActions.importAssets() |
String |
DamSearchActions.loadPermanentLink(DocumentView docView) |
void |
DamSearchActions.loadSavedSearch(String contentViewName,
DocumentModel searchDocument) |
void |
DamSearchActions.onContentViewPageProviderChanged(String contentViewName) |
void |
DamSearchActions.refreshAndRewind() |
void |
DamImportActions.saveNewAsset() |
String |
DamSearchActions.saveSearch() |
void |
DamActions.selectDocument(DocumentModel doc) |
void |
DamImportActions.selectNewAssetType() |
void |
DamSearchActions.setCurrentContentViewName(String contentViewName) |
void |
DamSearchActions.setCurrentSelectedSavedSearchId(String selectedSavedSearchId) |
void |
DamActions.setSelectedDocumentId(String selectedDocumentId) |
void |
DamSearchActions.setState(String state) |
String |
DamActions.updateCurrentDocument() |
void |
DamSearchActions.updateCurrentDocument() |
void |
DamSearchActions.updateCurrentDocument(PageProvider<DocumentModel> pageProvider) |
String |
DamActions.viewInDAM()
Deprecated.
since 5.9.5. Use
#getAssetPermanentLinkUrl . |
String |
DamActions.viewInDM() |
Modifier and Type | Class and Description |
---|---|
class |
NuxeoDriveContribException
Exception raised when no contributions to the
FileSystemItemAdapterService are found or the component is not
ready, ie. |
class |
RootlessItemException
Exception raised when recursive factory calls failed to find the ancestry to a the top level folder.
|
Modifier and Type | Method and Description |
---|---|
boolean |
FileSystemItem.canMove(FolderItem dest) |
FileItem |
FolderItem.createFile(Blob blob) |
FolderItem |
FolderItem.createFolder(String name) |
void |
FileSystemItem.delete() |
Blob |
FileItem.getBlob() |
List<FileSystemItem> |
FolderItem.getChildren() |
String |
FileItem.getDownloadURL() |
FileSystemItem |
FileSystemItem.move(FolderItem dest) |
void |
FileSystemItem.rename(String name) |
void |
FileItem.setBlob(Blob blob) |
Constructor and Description |
---|
NuxeoDriveContribException(ClientException cause) |
NuxeoDriveContribException(String message,
ClientException cause) |
RootlessItemException(ClientException cause) |
RootlessItemException(String message,
ClientException cause) |
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultSyncRootFolderItem.canMove(FolderItem dest) |
boolean |
AbstractVirtualFolderItem.canMove(FolderItem dest) |
abstract boolean |
AbstractFileSystemItem.canMove(FolderItem dest) |
boolean |
AbstractDocumentBackedFileSystemItem.canMove(FolderItem dest) |
FileItem |
DocumentBackedFolderItem.createFile(Blob blob) |
FileItem |
CollectionSyncRootFolderItem.createFile(Blob blob) |
FileItem |
AbstractVirtualFolderItem.createFile(Blob blob) |
FolderItem |
DocumentBackedFolderItem.createFolder(String name) |
FolderItem |
CollectionSyncRootFolderItem.createFolder(String name) |
FolderItem |
AbstractVirtualFolderItem.createFolder(String name) |
void |
DefaultSyncRootFolderItem.delete() |
void |
AbstractVirtualFolderItem.delete() |
abstract void |
AbstractFileSystemItem.delete() |
void |
AbstractDocumentBackedFileSystemItem.delete() |
Blob |
DocumentBackedFileItem.getBlob() |
List<FileSystemItem> |
DocumentBackedFolderItem.getChildren() |
List<FileSystemItem> |
DefaultTopLevelFolderItem.getChildren() |
List<FileSystemItem> |
CollectionSyncRootFolderItem.getChildren() |
abstract List<FileSystemItem> |
AbstractVirtualFolderItem.getChildren() |
static String |
FileSystemItemHelper.getDigest(Blob blob,
String digestAlgorithm)
Gets the digest of the given blob.
|
String |
DocumentBackedFileItem.getDownloadURL() |
FileSystemItem |
DefaultSyncRootFolderItem.move(FolderItem dest) |
FileSystemItem |
AbstractVirtualFolderItem.move(FolderItem dest) |
abstract FileSystemItem |
AbstractFileSystemItem.move(FolderItem dest) |
FileSystemItem |
AbstractDocumentBackedFileSystemItem.move(FolderItem dest) |
void |
DocumentBackedFolderItem.rename(String name) |
void |
DocumentBackedFileItem.rename(String name) |
void |
AbstractVirtualFolderItem.rename(String name) |
abstract void |
AbstractFileSystemItem.rename(String name) |
void |
DocumentBackedFileItem.setBlob(Blob blob) |
Modifier and Type | Method and Description |
---|---|
void |
UserSyncRootParentFolderItem.delete() |
List<FileSystemItem> |
UserSyncRootParentFolderItem.getChildren() |
List<FileSystemItem> |
SharedSyncRootParentFolderItem.getChildren() |
List<FileSystemItem> |
PermissionTopLevelFolderItem.getChildren() |
FileSystemItem |
UserSyncRootParentFolderItem.move(FolderItem dest) |
void |
UserSyncRootParentFolderItem.rename(String name) |
Constructor and Description |
---|
PermissionTopLevelFolderItem(String factoryName,
Principal principal,
String folderName,
List<String> childrenFactoryNames) |
SharedSyncRootParentFolderItem(String factoryName,
Principal principal,
String parentId,
String parentPath,
String folderName) |
UserSyncRootParentFolderItem(String factoryName,
DocumentModel doc,
FolderItem parentItem,
String folderName) |
UserSyncRootParentFolderItem(String factoryName,
DocumentModel doc,
FolderItem parentItem,
String folderName,
boolean relaxSyncRootConstraint) |
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) |
FolderItem |
PermissionTopLevelFactory.getTopLevelFolderItem(Principal principal) |
FolderItem |
UserSyncRootParentFactory.getVirtualFolderItem(Principal principal) |
FolderItem |
SharedSyncRootParentFactory.getVirtualFolderItem(Principal principal) |
FolderItem |
PermissionTopLevelFactory.getVirtualFolderItem(Principal principal) |
void |
UserSyncRootParentFactory.handleParameters(Map<String,String> parameters) |
void |
PermissionTopLevelFactory.handleParameters(Map<String,String> parameters) |
void |
PermissionSyncRootFactory.handleParameters(Map<String,String> parameters) |
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 |
---|---|
void |
UserWorkspaceTopLevelFolderItem.delete() |
List<FileSystemItem> |
UserWorkspaceTopLevelFolderItem.getChildren() |
List<FileSystemItem> |
UserWorkspaceSyncRootParentFolderItem.getChildren() |
FileSystemItem |
UserWorkspaceTopLevelFolderItem.move(FolderItem dest) |
void |
UserWorkspaceTopLevelFolderItem.rename(String name) |
Constructor and Description |
---|
UserWorkspaceSyncRootParentFolderItem(String factoryName,
Principal principal,
String parentId,
String parentPath,
String folderName) |
UserWorkspaceTopLevelFolderItem(String factoryName,
DocumentModel userWorkspace,
String folderName,
String syncRootParentFactoryName) |
UserWorkspaceTopLevelFolderItem(String factoryName,
DocumentModel userWorkspace,
String folderName,
String syncRootParentFactoryName,
boolean relaxSyncRootConstraint) |
Modifier and Type | Method and Description |
---|---|
FolderItem |
UserWorkspaceTopLevelFactory.getTopLevelFolderItem(Principal principal) |
FolderItem |
UserWorkspaceTopLevelFactory.getVirtualFolderItem(Principal principal) |
FolderItem |
UserWorkspaceSyncRootParentFactory.getVirtualFolderItem(Principal principal) |
void |
UserWorkspaceTopLevelFactory.handleParameters(Map<String,String> parameters) |
void |
UserWorkspaceSyncRootFactory.handleParameters(Map<String,String> parameters) |
boolean |
UserWorkspaceTopLevelFactory.isFileSystemItem(DocumentModel doc,
boolean includeDeleted,
boolean relaxSyncRootConstraint) |
Modifier and Type | Method and Description |
---|---|
void |
NuxeoDriveFileSystemDeletionListener.handleEvent(Event event) |
void |
NuxeoDriveCacheInvalidationListener.handleEvent(Event event) |
Modifier and Type | Method and Description |
---|---|
List<String> |
GetRepositoriesOperation.run() |
Blob |
NuxeoDriveGetTopLevelChildren.run()
Deprecated.
|
Blob |
NuxeoDriveGetChangeSummary.run() |
Blob |
NuxeoDriveFileSystemItemExists.run() |
Blob |
NuxeoDriveGenerateConflictedItemName.run() |
Blob |
NuxeoDriveCreateFolder.run() |
Blob |
NuxeoDriveGetFileSystemItem.run() |
void |
NuxeoDriveDelete.run() |
Blob |
NuxeoDriveGetChildren.run() |
DocumentModelList |
NuxeoDriveGetRootsOperation.run() |
Blob |
NuxeoDriveMove.run() |
Blob |
NuxeoDriveGetClientUpdateInfo.run() |
Blob |
NuxeoDriveRename.run() |
Blob |
NuxeoDriveCanMove.run() |
Blob |
NuxeoDriveGetTopLevelFolder.run() |
Blob |
NuxeoDriveCreateFile.run(Blob blob) |
Blob |
NuxeoDriveUpdateFile.run(Blob blob) |
void |
NuxeoDriveSetSynchronizationOperation.run(DocumentModel doc) |
DocumentModel |
NuxeoDriveAddToLocallyEditedCollection.run(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
static void |
NuxeoDriveIntegrationTestsHelper.cleanUp(CoreSession session) |
static String |
NuxeoDriveIntegrationTestsHelper.getDefaultDomainPath(CoreSession session) |
void |
NuxeoDriveTearDownIntegrationTests.run() |
Blob |
NuxeoDriveSetupIntegrationTests.run() |
void |
NuxeoDriveSetVersioningOptions.run() |
Modifier and Type | Method and Description |
---|---|
boolean |
NuxeoDriveActions.canEditDocument(DocumentModel doc) |
boolean |
NuxeoDriveActions.canNavigateToCurrentSynchronizationRoot() |
boolean |
NuxeoDriveActions.canSynchronizeCurrentDocument() |
boolean |
NuxeoDriveActions.canUnSynchronizeCurrentDocument() |
DocumentModel |
NuxeoDriveActions.getCurrentSynchronizationRoot() |
String |
NuxeoDriveActions.getDriveEditURL()
NuxeoDriveActions.NXDRIVE_PROTOCOL must be handled by a protocol handler configured on the client side (either on the
browser, or on the OS). |
DocumentModelList |
NuxeoDriveActions.getSynchronizationRoots() |
boolean |
NuxeoDriveActions.isCurrentDocumentUserWorkspace() |
String |
NuxeoDriveActions.navigateToCurrentSynchronizationRoot() |
String |
NuxeoDriveActions.synchronizeCurrentDocument() |
void |
NuxeoDriveActions.unsynchronizeCurrentDocument() |
void |
NuxeoDriveActions.unsynchronizeRoot(DocumentModel syncRoot) |
String |
NuxeoDriveActions.updateCurrentDocument()
Update document model and redirect to drive view.
|
Modifier and Type | Class and Description |
---|---|
class |
TooManyChangesException
Exception thrown by
FileSystemChangeFinder when too many document changes are found in the audit logs. |
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. |
boolean |
FileSystemItemManager.canMove(String srcId,
String destId,
Principal principal)
Return true if the
FileSystemItem with the given source id can be moved to the FileSystemItem
with the given destination id for the given principal. |
FileItem |
FileSystemItemManager.createFile(String parentId,
Blob blob,
Principal principal)
Creates a file with the given blob in the
FileSystemItem with the given id for the given principal. |
FolderItem |
FileSystemItemManager.createFolder(String parentId,
String name,
Principal principal)
Creates a folder with the given name in the
FileSystemItem with the given id for the given principal. |
void |
FileSystemItemManager.delete(String id,
Principal principal)
Deletes the
FileSystemItem with the given id for the given principal. |
void |
FileSystemItemManager.delete(String id,
String parentId,
Principal principal)
Deletes the
FileSystemItem with the given id and parent id for the given principal. |
boolean |
FileSystemItemManager.exists(String id,
Principal principal)
Returns true if a
FileSystemItem with the given id exists for the given principal. |
boolean |
FileSystemItemFactory.exists(String id,
Principal principal)
Returns true if a
FileSystemItem with the given id exists for the given principal. |
Set<String> |
FileSystemItemAdapterService.getActiveFileSystemItemFactories()
Gets the active
FileSystemItem factory names. |
FileSystemChangeSummary |
NuxeoDriveManager.getChangeSummary(Principal principal,
Map<String,Set<IdRef>> lastSyncRootRefs,
long lastSuccessfulSync)
Gets a summary of document changes in all repositories for the given user's synchronization roots, since the
user's device last successful synchronization date.
|
FileSystemChangeSummary |
NuxeoDriveManager.getChangeSummaryIntegerBounds(Principal principal,
Map<String,Set<IdRef>> lastSyncRootRefs,
long lowerBound)
Gets a summary of document changes in all repositories for the given user's synchronization roots, from the lower
bound sent by the user's device.
|
List<FileSystemItem> |
FileSystemItemManager.getChildren(String id,
Principal principal)
Gets the children of the
FileSystemItem with the given id for the given principal. |
Map<String,Set<String>> |
NuxeoDriveManager.getCollectionSyncRootMemberIds(Principal principal)
Fetch all the collection sync root member ids for a given user.
|
DocumentModel |
FileSystemItemFactory.getDocumentByFileSystemId(String id,
Principal principal)
Deprecated.
since 7.2
|
List<FileSystemItemChange> |
FileSystemChangeFinder.getFileSystemChanges(CoreSession session,
Set<IdRef> lastActiveRootRefs,
SynchronizationRoots activeRoots,
long lastSuccessfulSyncDate,
long syncDate,
int limit)
Gets the changes in the repository against which the given session is bound for the given synchronization root
paths, since the given last successful synchronization date and without exceeding the given limit.
|
List<FileSystemItemChange> |
FileSystemChangeFinder.getFileSystemChangesIntegerBounds(CoreSession session,
Set<IdRef> lastActiveRootRefs,
SynchronizationRoots activeRoots,
Set<String> collectionSyncRootMemberIds,
long lowerBound,
long upperBound,
int limit)
Gets the changes in the repository against which the given session is bound for the given synchronization root
paths, between the given lower and upper integer bounds and without exceeding the given limit.
|
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. |
FileSystemItem |
FileSystemItemManager.getFileSystemItemById(String id,
Principal principal)
Gets the
FileSystemItem with the given id for the given principal. |
FileSystemItem |
FileSystemItemFactory.getFileSystemItemById(String id,
Principal principal)
Gets the
FileSystemItem with the given id using a core session fetched with the given principal. |
FileSystemItem |
FileSystemItemManager.getFileSystemItemById(String id,
String parentId,
Principal principal)
Gets the
FileSystemItem with the given id and parent id for the given principal. |
FileSystemItem |
FileSystemItemFactory.getFileSystemItemById(String id,
String parentId,
Principal principal)
Gets the
FileSystemItem with the given id and parent id using a core session fetched with the given
principal. |
FileSystemItemFactory |
FileSystemItemAdapterService.getFileSystemItemFactoryForId(String id)
Gets the
FileSystemItemFactory that can handle the the given FileSystemItem id. |
String |
VirtualFolderItemFactory.getFolderName() |
CoreSession |
FileSystemItemManager.getSession(String repositoryName,
Principal principal)
Deprecated.
since 7.2, use
CoreInstance.openCoreSession(String, Principal) instead. |
Set<IdRef> |
NuxeoDriveManager.getSynchronizationRootReferences(CoreSession session)
Fetch the list of synchronization root refs for a given user and a given session repository.
|
Map<String,SynchronizationRoots> |
NuxeoDriveManager.getSynchronizationRoots(Principal principal)
Fetch all the synchronization root references and paths for a given user.
|
List<FileSystemItem> |
FileSystemItemManager.getTopLevelChildren(Principal principal)
Deprecated.
use getTopLevelFolder#getChildren instead
|
FolderItem |
FileSystemItemManager.getTopLevelFolder(Principal principal)
Gets the top level
FolderItem for the given principal. |
FolderItem |
TopLevelFolderItemFactory.getTopLevelFolderItem(Principal principal) |
TopLevelFolderItemFactory |
FileSystemItemAdapterService.getTopLevelFolderItemFactory()
Gets the
TopLevelFolderItemFactory . |
FolderItem |
VirtualFolderItemFactory.getVirtualFolderItem(Principal principal)
Returns the (unique) virtual
FolderItem . |
VirtualFolderItemFactory |
FileSystemItemAdapterService.getVirtualFolderItemFactory(String factoryName)
Gets the
VirtualFolderItemFactory for the given factory name. |
void |
NuxeoDriveManager.handleFolderDeletion(IdRef ref)
Method to be called by a CoreEvent listener monitoring documents deletions to cleanup references to recently
deleted documents and invalidate the caches.
|
void |
FileSystemItemFactory.handleParameters(Map<String,String> parameters)
Handles the factory parameters contributed through the
fileSystemItemFactory contribution. |
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. |
FileSystemItem |
FileSystemItemManager.move(String srcId,
String destId,
Principal principal)
Moves the
FileSystemItem with the given source id to the FileSystemItem with the given
destination id for the given principal. |
boolean |
VersioningFileSystemItemFactory.needsVersioning(DocumentModel doc)
Returns true if the given
DocumentModel needs to be versioned. |
void |
NuxeoDriveManager.registerSynchronizationRoot(Principal principal,
DocumentModel newRootContainer,
CoreSession session) |
FileSystemItem |
FileSystemItemManager.rename(String id,
String name,
Principal principal)
Renames the
FileSystemItem with the given id with the given name for the given principal. |
void |
NuxeoDriveManager.unregisterSynchronizationRoot(Principal principal,
DocumentModel rootContainer,
CoreSession session) |
FileItem |
FileSystemItemManager.updateFile(String id,
Blob blob,
Principal principal)
Updates the
FileSystemItem with the given id with the given blob for the given principal. |
FileItem |
FileSystemItemManager.updateFile(String id,
String parentId,
Blob blob,
Principal principal)
Updates the
FileSystemItem with the given id and parent id with the given blob for the given principal. |
Modifier and Type | Method and Description |
---|---|
void |
NuxeoDriveManagerImpl.addToLocallyEditedCollection(CoreSession session,
DocumentModel doc) |
boolean |
FileSystemItemManagerImpl.canMove(String srcId,
String destId,
Principal principal) |
FileItem |
FileSystemItemManagerImpl.createFile(String parentId,
Blob blob,
Principal principal) |
FolderItem |
FileSystemItemManagerImpl.createFolder(String parentId,
String name,
Principal principal) |
void |
FileSystemItemManagerImpl.delete(String id,
Principal principal) |
void |
FileSystemItemManagerImpl.delete(String id,
String parentId,
Principal principal) |
boolean |
FileSystemItemManagerImpl.exists(String id,
Principal principal) |
boolean |
AbstractVirtualFolderItemFactory.exists(String id,
Principal principal) |
boolean |
AbstractFileSystemItemFactory.exists(String id,
Principal principal)
The default factory considers that a
FileSystemItem with the given id exists if the backing
DocumentModel can be fetched and AbstractFileSystemItemFactory.isFileSystemItem(DocumentModel) returns true. |
Set<String> |
FileSystemItemAdapterServiceImpl.getActiveFileSystemItemFactories() |
FileSystemChangeSummary |
NuxeoDriveManagerImpl.getChangeSummary(Principal principal,
Map<String,Set<IdRef>> lastSyncRootRefs,
long lastSuccessfulSync)
Uses the
AuditChangeFinder to get the summary of document changes for the given user and last successful
synchronization date. |
FileSystemChangeSummary |
NuxeoDriveManagerImpl.getChangeSummaryIntegerBounds(Principal principal,
Map<String,Set<IdRef>> lastSyncRootRefs,
long lowerBound)
Uses the
AuditChangeFinder to get the summary of document changes for the given user and lower bound. |
List<FileSystemItem> |
FileSystemItemManagerImpl.getChildren(String id,
Principal principal) |
Map<String,Set<String>> |
NuxeoDriveManagerImpl.getCollectionSyncRootMemberIds(Principal principal) |
DocumentModel |
AbstractVirtualFolderItemFactory.getDocumentByFileSystemId(String id,
Principal principal)
Deprecated.
|
DocumentModel |
AbstractFileSystemItemFactory.getDocumentByFileSystemId(String id,
Principal principal)
Deprecated.
|
TopLevelFolderItemFactory |
TopLevelFolderItemFactoryDescriptor.getFactory() |
List<FileSystemItemChange> |
AuditChangeFinder.getFileSystemChanges(CoreSession session,
Set<IdRef> lastActiveRootRefs,
SynchronizationRoots activeRoots,
long lastSuccessfulSyncDate,
long syncDate,
int limit)
To be deprecated (in fact make throw
UnsupportedOperationException ), keeping old method based on log date
for backward compatibility. |
List<FileSystemItemChange> |
AuditChangeFinder.getFileSystemChangesIntegerBounds(CoreSession session,
Set<IdRef> lastActiveRootRefs,
SynchronizationRoots activeRoots,
Set<String> collectionSyncRootMemberIds,
long lowerBound,
long upperBound,
int limit) |
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) |
FileSystemItem |
FileSystemItemManagerImpl.getFileSystemItemById(String id,
Principal principal) |
FileSystemItem |
AbstractVirtualFolderItemFactory.getFileSystemItemById(String id,
Principal principal) |
FileSystemItem |
AbstractFileSystemItemFactory.getFileSystemItemById(String id,
Principal principal) |
FileSystemItem |
FileSystemItemManagerImpl.getFileSystemItemById(String id,
String parentId,
Principal principal) |
FileSystemItem |
AbstractVirtualFolderItemFactory.getFileSystemItemById(String id,
String parentId,
Principal principal) |
FileSystemItem |
AbstractFileSystemItemFactory.getFileSystemItemById(String id,
String parentId,
Principal principal) |
FileSystemItemFactory |
FileSystemItemAdapterServiceImpl.getFileSystemItemFactoryForId(String id)
Iterates on the ordered contributed file system item factories until if finds one that can handle the given
FileSystemItem id. |
CoreSession |
FileSystemItemManagerImpl.getSession(String repositoryName,
Principal principal)
Deprecated.
|
Set<IdRef> |
NuxeoDriveManagerImpl.getSynchronizationRootReferences(CoreSession session) |
Map<String,SynchronizationRoots> |
NuxeoDriveManagerImpl.getSynchronizationRoots(Principal principal) |
List<FileSystemItem> |
FileSystemItemManagerImpl.getTopLevelChildren(Principal principal) |
FolderItem |
FileSystemItemManagerImpl.getTopLevelFolder(Principal principal) |
FolderItem |
DefaultTopLevelFolderItemFactory.getTopLevelFolderItem(Principal principal) |
TopLevelFolderItemFactory |
FileSystemItemAdapterServiceImpl.getTopLevelFolderItemFactory() |
FolderItem |
DefaultTopLevelFolderItemFactory.getVirtualFolderItem(Principal principal) |
abstract FolderItem |
AbstractVirtualFolderItemFactory.getVirtualFolderItem(Principal principal) |
VirtualFolderItemFactory |
FileSystemItemAdapterServiceImpl.getVirtualFolderItemFactory(String factoryName) |
void |
NuxeoDriveManagerImpl.handleFolderDeletion(IdRef deleted) |
void |
DefaultFileSystemItemFactory.handleParameters(Map<String,String> parameters) |
void |
AbstractVirtualFolderItemFactory.handleParameters(Map<String,String> parameters) |
void |
AbstractSyncRootFolderItemFactory.handleParameters(Map<String,String> parameters)
No parameters by default.
|
abstract void |
AbstractFileSystemItemFactory.handleParameters(Map<String,String> parameters) |
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) |
FileSystemItem |
FileSystemItemManagerImpl.move(String srcId,
String destId,
Principal principal) |
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) |
FileSystemItem |
FileSystemItemManagerImpl.rename(String id,
String name,
Principal principal) |
void |
NuxeoDriveManagerImpl.unregisterSynchronizationRoot(Principal principal,
DocumentModel rootContainer,
CoreSession session) |
FileItem |
FileSystemItemManagerImpl.updateFile(String id,
Blob blob,
Principal principal) |
FileItem |
FileSystemItemManagerImpl.updateFile(String id,
String parentId,
Blob blob,
Principal principal) |
Modifier and Type | Method and Description |
---|---|
String |
EasyShare.getFileName(DocumentModel doc) |
javax.ws.rs.core.Response |
EasyShare.getFileStream(String fileId) |
abstract Object |
EasyShareUnrestrictedRunner.run(CoreSession coreSession,
IdRef docId) |
Modifier and Type | Method and Description |
---|---|
void |
ActivityRepositoryInitializationHandler.doInitializeRepository(CoreSession session) |
ActivityStreamFilter |
ActivityStreamFilterDescriptor.getActivityStreamFilter() |
String |
DefaultActivityLinkBuilder.getUserAvatarURL(CoreSession session,
String username) |
static String |
ActivityMessageHelper.getUserAvatarURL(CoreSession session,
String username) |
String |
ActivityLinkBuilder.getUserAvatarURL(CoreSession session,
String username) |
void |
ActivityStreamListener.handleEvent(EventBundle events) |
Map<String,Object> |
ActivityReplyMessage.toMap(CoreSession session,
Locale locale) |
Map<String,Object> |
ActivityMessage.toMap(CoreSession session,
Locale locale) |
Map<String,Object> |
ActivityReplyMessage.toMap(CoreSession session,
Locale locale,
String activityLinkBuilderName) |
Map<String,Object> |
ActivityMessage.toMap(CoreSession session,
Locale locale,
String activityLinkBuilderName) |
Modifier and Type | Method and Description |
---|---|
String |
AdminViewManager.exit() |
Modifier and Type | Method and Description |
---|---|
String |
OAuth2ServiceProvidersActionBean.getAuthorizationURL(String entryId) |
Modifier and Type | Method and Description |
---|---|
void |
StatsTaskRunner.run() |
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.
|
DocumentModelList |
AgendaComponent.listEvents(CoreSession session,
String path,
Date dtStart,
Date dtEnd) |
DocumentModelList |
AgendaService.listEvents(CoreSession session,
String path,
Date dtStart,
Date dtEnd)
List user readable agendum between both date
|
DocumentModelList |
AgendaComponent.listEvents(CoreSession session,
String path,
int limit) |
DocumentModelList |
AgendaService.listEvents(CoreSession session,
String path,
int limit)
List incoming user readable agendum with a limit
|
Modifier and Type | Method and Description |
---|---|
PaginableDocumentModelListImpl |
ListAgendaEvents.run() |
void |
CreateAgendaEvent.run() |
Modifier and Type | Method and Description |
---|---|
void |
OperationEventListener.handleEvent(Event event) |
void |
PostCommitOperationEventListener.handleEvent(EventBundle events) |
boolean |
EventHandler.isEnabled(OperationContext ctx,
EventContext eventCtx,
boolean quick)
Checks if this handler should run for the event and operation context.
|
Modifier and Type | Method and Description |
---|---|
void |
FireEvent.run() |
Modifier and Type | Method and Description |
---|---|
Blob |
AttachBlob.run(Blob blob) |
Modifier and Type | Method and Description |
---|---|
BusinessAdapter |
BusinessUpdateOperation.run(BusinessAdapter input) |
BusinessAdapter |
BusinessFetchOperation.run(BusinessAdapter input) |
BusinessAdapter |
BusinessCreateOperation.run(BusinessAdapter input) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
RemovePermission.run(DocumentModel doc) |
DocumentModel |
GetLiveDocument.run(DocumentModel input) |
DocumentModel |
CreateProxyLive.run(DocumentModel input) |
DocumentModel |
AddPermission.run(DocumentModel doc) |
DocumentModel |
RemovePermission.run(DocumentRef docRef) |
DocumentModel |
AddPermission.run(DocumentRef docRef) |
Modifier and Type | Method and Description |
---|---|
static List<MailBox> |
MailBox.fetchPersonsFromList(List<String> values,
boolean isStrict)
Fetch for each string given the mailbox target associated see
|
static List<MailBox> |
MailBox.fetchPersonsFromString(String value,
boolean isStrict)
Resolve value to find the mailbox associated.
|
Constructor and Description |
---|
MailBox(DocumentModel user,
boolean isStrict) |
MailBox(String info,
boolean isStrict) |
MailBox(String address,
String firstname,
String lastname) |
Modifier and Type | Method and Description |
---|---|
String |
DocumentWrapper.getDescription() |
DocumentWrapper |
DocumentWrapper.getDomain() |
String |
DocumentWrapper.getLifeCycle() |
DocumentWrapper |
DocumentWrapper.getParent() |
DocumentWrapper |
DocumentWrapper.getParent(String type) |
Serializable |
DocumentWrapper.getProperty(String key) |
Serializable |
DocumentWrapper.getPropertyValue(String key) |
String |
DocumentWrapper.getTitle() |
DocumentWrapper |
DocumentWrapper.getWorkspace() |
boolean |
DocumentWrapper.isDownloadable() |
void |
DocumentWrapper.setProperty(String key,
Serializable value) |
void |
DocumentWrapper.setPropertyValue(String key,
Serializable value) |
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 |
---|---|
void |
PrincipalHelper.EmailCollector.collect(NuxeoGroup group) |
void |
PrincipalHelper.EmailCollector.collect(NuxeoPrincipal principal) |
void |
PrincipalHelper.collectObjectsFromGroup(String groupId,
boolean resolveGroups,
org.nuxeo.ecm.automation.features.PrincipalHelper.Collector<?> collector) |
HashSet<?> |
PrincipalHelper.collectObjectsMatchingPermission(DocumentModel input,
String permission,
boolean ignoreGroups,
boolean resolveGroups,
org.nuxeo.ecm.automation.features.PrincipalHelper.Collector<?> collector) |
<T> List<T> |
PlatformFunctions.concatenateIntoList(List<T> list,
Object... values)
Concatenate into the list given as first argument other arguments.
|
<T> List<T> |
PlatformFunctions.concatenateValuesAsNewList(Object... values)
Idem than concatenateInto except that a new list is created.
|
Set<String> |
PrincipalHelper.getEmailsForPermission(DocumentModel input,
String permission,
boolean ignoreGroups) |
Set<String> |
PrincipalHelper.getEmailsFromGroup(String groupId,
boolean resolveGroups) |
Set<NuxeoPrincipal> |
PrincipalHelper.getPrincipalsForPermission(DocumentModel input,
String permission,
boolean ignoreGroups,
boolean resolveGroups) |
Set<NuxeoPrincipal> |
PrincipalHelper.getPrincipalsFromGroup(String groupId,
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.
|
Set<String> |
PrincipalHelper.getUserNamesFromGroup(String groupId,
boolean resolveGroups,
boolean prefixIds) |
void |
PrincipalHelper.resolveGroups(NuxeoGroup group,
org.nuxeo.ecm.automation.features.PrincipalHelper.Collector<?> collector) |
Modifier and Type | Method and Description |
---|---|
void |
VocabularyEnricher.enrich(org.codehaus.jackson.JsonGenerator jg,
RestEvaluationContext ec)
Deprecated.
|
void |
UserPermissionsContentEnricher.enrich(org.codehaus.jackson.JsonGenerator jg,
RestEvaluationContext ec)
Deprecated.
|
void |
ThumbnailContentEnricher.enrich(org.codehaus.jackson.JsonGenerator jg,
RestEvaluationContext ec)
Deprecated.
|
void |
PreviewContentEnricher.enrich(org.codehaus.jackson.JsonGenerator jg,
RestEvaluationContext ec)
Deprecated.
|
void |
ContentEnricher.enrich(org.codehaus.jackson.JsonGenerator jg,
RestEvaluationContext ec)
Deprecated.
|
void |
ChildrenEnricher.enrich(org.codehaus.jackson.JsonGenerator jg,
RestEvaluationContext ec)
Deprecated.
|
void |
BreadcrumbEnricher.enrich(org.codehaus.jackson.JsonGenerator jg,
RestEvaluationContext ec)
Deprecated.
|
void |
ACLContentEnricher.enrich(org.codehaus.jackson.JsonGenerator jg,
RestEvaluationContext ec)
Deprecated.
|
void |
ContentEnricherServiceImpl.writeContext(org.codehaus.jackson.JsonGenerator jg,
RestEvaluationContext ec)
Deprecated.
|
void |
ContentEnricherService.writeContext(org.codehaus.jackson.JsonGenerator jg,
RestEvaluationContext ec)
Deprecated.
Write some JSon for a given evaluation context.
|
Modifier and Type | Method and Description |
---|---|
void |
EntityWriter.writeEntity(org.codehaus.jackson.JsonGenerator jg,
T item) |
Modifier and Type | Method and Description |
---|---|
static void |
JSONDocumentModelReader.applyPropertyValues(DocumentModel src,
DocumentModel dst) |
Modifier and Type | Method and Description |
---|---|
Object |
BatchManagerComponent.execute(String batchId,
String chainOrOperationId,
CoreSession session,
Map<String,Object> contextParams,
Map<String,Object> operationParams) |
Object |
BatchManager.execute(String batchId,
String chainOrOperationId,
CoreSession session,
Map<String,Object> contextParams,
Map<String,Object> operationParams)
Executes the chain or operation on the
Blobs from the given batchId . |
Object |
BatchManagerComponent.execute(String batchId,
String fileIdx,
String chainOrOperationId,
CoreSession session,
Map<String,Object> contextParams,
Map<String,Object> operationParams) |
Object |
BatchManager.execute(String batchId,
String fileIdx,
String chainOrOperationId,
CoreSession session,
Map<String,Object> contextParams,
Map<String,Object> operationParams)
Executes the chain or operation on the
Blob from the given batchId and fileIdx . |
Object |
BatchManagerComponent.executeAndClean(String batchId,
String chainOrOperationId,
CoreSession session,
Map<String,Object> contextParams,
Map<String,Object> operationParams) |
Object |
BatchManager.executeAndClean(String batchId,
String chainOrOperationId,
CoreSession session,
Map<String,Object> contextParams,
Map<String,Object> operationParams)
Executes the chain or operation on the
Blobs from the given batchId . |
Modifier and Type | Method and Description |
---|---|
Blob |
GetUserTasks.run() |
Modifier and Type | Method and Description |
---|---|
void |
TaskEndedEventListener.handleEvent(Event event) |
Modifier and Type | Method and Description |
---|---|
String |
BusinessBeanAdapter.getDescription() |
String |
BusinessBeanAdapter.getNote() |
String |
BusinessBeanAdapter.getTitle() |
void |
BusinessBeanAdapter.setDescription(String value) |
void |
BusinessBeanAdapter.setNote(String value) |
void |
BusinessBeanAdapter.setTitle(String value) |
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.
|
void |
CollectionManager.addToNewCollection(String newTitle,
String newDescription,
List<DocumentModel> documentListToBeAdded,
CoreSession documentManager)
Add a list of 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.
|
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.
|
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 |
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.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 |
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) |
void |
CollectionManagerImpl.addToNewCollection(String newTitle,
String newDescription,
List<DocumentModel> documentListToBeAdded,
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) |
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) |
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 |
FavoritesManagerImpl.isFavorite(DocumentModel document,
CoreSession session) |
boolean |
CollectionManagerImpl.isInCollection(DocumentModel collection,
DocumentModel document,
CoreSession session) |
void |
CollectionManagerImpl.processCopiedCollection(DocumentModel collection) |
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 |
Collection.addDocument(String documentId) |
void |
CollectionMember.addToCollection(String collectionId) |
List<String> |
Collection.getCollectedDocumentIds() |
List<String> |
CollectionMember.getCollectionIds() |
void |
Collection.removeDocument(String documentId) |
void |
CollectionMember.removeFromCollection(String documentId) |
void |
CollectionMember.setCollectionIds(List<String> collectionIds) |
void |
Collection.setDocumentIds(List<String> documentIds) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
CreateCollectionOperation.run() |
DocumentModel |
RemoveFromCollectionOperation.run(DocumentModel doc) |
DocumentModel |
CreateCollectionOperation.run(DocumentModel doc) |
DocumentModel |
AddToCollectionOperation.run(DocumentModel doc) |
DocumentModelList |
RemoveFromCollectionOperation.run(DocumentModelList docs) |
DocumentModelList |
AddToCollectionOperation.run(DocumentModelList docs) |
Modifier and Type | Method and Description |
---|---|
void |
DuplicatedCollectionListener.handleEvent(Event event) |
void |
RemovedCollectionListener.handleEvent(EventBundle bundle) |
Modifier and Type | Method and Description |
---|---|
void |
CollectionBulkEditActions.addCollectionsOnEvent(List<DocumentModel> documents,
DocumentModel doc) |
void |
FavoritesActionBean.addCurrentDocumentToFavorites() |
void |
CollectionActionsBean.addCurrentDocumentToSelectedCollection() |
void |
CollectionActionsBean.addCurrentSelectionToSelectedCollection() |
void |
CollectionActionsBean.addDocUidsToBeAddedToCurrentCollection() |
void |
CollectionActionsBean.addToSelectedCollection(List<DocumentModel> documentListToBeAdded) |
boolean |
CollectionActionsBean.canAddToCollection(DocumentModel collection) |
boolean |
CollectionActionsBean.canAddToDocsToCurrentCollection() |
boolean |
CollectionActionsBean.canAddToSelectedCollection() |
boolean |
FavoritesActionBean.canCurrentDocumentBeAddedToFavorites() |
boolean |
FavoritesActionBean.canCurrentDocumentBeRemovedFromFavorites() |
boolean |
CollectionActionsBean.canManage(DocumentModel collection) |
boolean |
CollectionActionsBean.canRemoveFromCollection() |
boolean |
CollectionActionsBean.canRemoveFromCollection(DocumentModel collection) |
List<DocumentModel> |
CurrentDocumentCollectionBean.getCurrentDocumentCollections() |
DocumentModel |
FavoritesActionBean.getCurrentFavorites() |
String |
CollectionActionsBean.getSelectedCollectionDescription() |
boolean |
CollectionActionsBean.hasCurrentDocumentVisibleCollection() |
void |
CollectionActionsBean.removeCurrentDocumentFromCollection(javax.faces.event.ActionEvent event) |
void |
FavoritesActionBean.removeCurrentDocumentFromFavorites() |
void |
CollectionActionsBean.removeCurrentSelectionFromCollection() |
void |
CollectionActionsBean.removeFromCollection(DocumentModel collection,
List<DocumentModel> documentListToBeRemoved) |
Modifier and Type | Class and Description |
---|---|
class |
ConcurrentUpdateException
An exception thrown if a concurrent update was detected.
|
class |
ConnectionException |
class |
DocumentSecurityException
Class for Security Exceptions
|
class |
NotConnectedException |
class |
RecoverableClientException
Exception that can be handled at UI level to display a dedicated user message
|
Modifier and Type | Method and Description |
---|---|
static ClientException |
ClientException.wrap(Throwable exception) |
Modifier and Type | Method and Description |
---|---|
void |
DocumentModel.accept(PropertyVisitor visitor,
Object arg)
Method that implement the visitor pattern.
|
<T extends DetachedAdapter> |
CoreSession.adaptFirstMatchingDocumentWithFacet(DocumentRef docRef,
String facet,
Class<T> adapterClass)
Find the first parent with the given
facet and adapt it on the adapterClass . |
<T extends DetachedAdapter> |
AbstractSession.adaptFirstMatchingDocumentWithFacet(DocumentRef docRef,
String facet,
Class<T> adapterClass) |
void |
CoreSession.applyDefaultPermissions(String userOrGroupName)
Applies default Read permissions on root JCR Document for the given user or group name.
|
void |
AbstractSession.applyDefaultPermissions(String userOrGroupName) |
void |
DocumentModel.attach(String sid)
Reattaches a document impl to an existing session.
|
void |
CoreSession.cancel()
Cancels any pending change made through this session.
|
boolean |
CoreSession.canRemoveDocument(DocumentRef docRef)
Check if a document can be removed.
|
boolean |
AbstractSession.canRemoveDocument(DocumentRef docRef) |
DocumentRef |
CoreSession.checkIn(DocumentRef docRef,
VersioningOption option,
String checkinComment)
Checks in a modified document, creating a new version.
|
DocumentRef |
AbstractSession.checkIn(DocumentRef docRef,
VersioningOption option,
String checkinComment) |
DocumentModel |
CoreSession.checkIn(DocumentRef docRef,
VersionModel version)
Deprecated.
|
DocumentModel |
AbstractSession.checkIn(DocumentRef docRef,
VersionModel ver)
Deprecated.
|
DocumentRef |
DocumentModel.checkIn(VersioningOption option,
String checkinComment)
Checks in a document and returns the created version.
|
void |
DocumentModel.checkOut()
Checks out a document.
|
void |
CoreSession.checkOut(DocumentRef docRef)
Checks out a versioned document.
|
void |
AbstractSession.checkOut(DocumentRef docRef) |
void |
CoreInstance.cleanupThisThread() |
void |
CoreSession.connect(String repositoryName,
NuxeoPrincipal principal)
NOT PUBLIC, DO NOT CALL.
|
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) |
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) |
void |
DocumentModel.copyContent(DocumentModel sourceDoc)
Copies all the data from a source document.
|
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) |
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) |
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) |
DocumentModel |
CoreSession.createDocumentModel(String parentPath,
String name,
String typeName)
Creates a document model using required information.
|
DocumentModel |
AbstractSession.createDocumentModel(String parentPath,
String name,
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) |
void |
DocumentModel.detach(boolean loadAll)
Detaches the documentImpl from its existing session, so that it can survive beyond the session's closing.
|
boolean |
CoreSession.exists(DocumentRef docRef)
Tests if the document pointed by the given reference exists and is accessible.
|
boolean |
AbstractSession.exists(DocumentRef docRef) |
boolean |
CoreSession.followTransition(DocumentModel doc,
String transition)
Follows a given life cycle transition.
|
boolean |
AbstractSession.followTransition(DocumentModel docModel,
String transition) |
boolean |
CoreSession.followTransition(DocumentRef docRef,
String transition)
Follows a given life cycle transition.
|
boolean |
AbstractSession.followTransition(DocumentRef docRef,
String transition) |
boolean |
DocumentModel.followTransition(String transition)
Follows a given life cycle transition.
|
ACP |
DocumentModel.getACP()
Gets the access control policy (ACP) for this document.
|
ACP |
CoreSession.getACP(DocumentRef docRef)
Gets the document access control policy.
|
ACP |
AbstractSession.getACP(DocumentRef docRef) |
Collection<String> |
DocumentModel.getAllowedStateTransitions()
Gets the allowed state transitions for this document.
|
Collection<String> |
CoreSession.getAllowedStateTransitions(DocumentRef docRef)
Gets the allowed state transitions for this document.
|
Collection<String> |
AbstractSession.getAllowedStateTransitions(DocumentRef docRef) |
List<String> |
CoreSession.getAvailableSecurityPermissions()
Retrieves the available security permissions existing in the system.
|
List<String> |
AbstractSession.getAvailableSecurityPermissions() |
DocumentRef |
CoreSession.getBaseVersion(DocumentRef docRef)
Gets the version to which a checked in document is linked.
|
DocumentRef |
AbstractSession.getBaseVersion(DocumentRef docRef) |
Map<String,String> |
DocumentModel.getBinaryFulltext()
Gets the fulltext extracted from the binary fields.
|
Map<String,String> |
CoreSession.getBinaryFulltext(DocumentRef ref)
Gets the fulltext extracted from the binary fields.
|
Map<String,String> |
AbstractSession.getBinaryFulltext(DocumentRef ref) |
String |
DocumentModel.getCacheKey()
Returns a cache key.
|
String |
DocumentModel.getCheckinComment()
Returns the checkin comment if the document model is a version.
|
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) |
DocumentModelList |
CoreSession.getChildren(DocumentRef parent)
Gets the children of the given parent.
|
DocumentModelList |
AbstractSession.getChildren(DocumentRef parent) |
DocumentModelList |
CoreSession.getChildren(DocumentRef parent,
String type)
Gets the children of the given parent filtered according to the given document type.
|
DocumentModelList |
AbstractSession.getChildren(DocumentRef parent,
String type) |
DocumentModelList |
CoreSession.getChildren(DocumentRef parent,
String type,
Filter filter,
Sorter sorter)
Same as
CoreSession.getChildren(DocumentRef, String, String, Filter, Sorter) without specific permission filtering. |
DocumentModelList |
AbstractSession.getChildren(DocumentRef parent,
String type,
Filter filter,
Sorter sorter) |
DocumentModelList |
CoreSession.getChildren(DocumentRef parent,
String type,
String perm)
Gets the children of the given parent filtered according to the given document type and permission.
|
DocumentModelList |
AbstractSession.getChildren(DocumentRef parent,
String type,
String perm) |
DocumentModelList |
CoreSession.getChildren(DocumentRef parent,
String type,
String perm,
Filter filter,
Sorter sorter)
Same as
CoreSession.getChildren(DocumentRef, String, String) but the result is filtered and then sorted using the
specified filter and sorter. |
DocumentModelList |
AbstractSession.getChildren(DocumentRef parent,
String type,
String perm,
Filter filter,
Sorter sorter) |
DocumentModelIterator |
CoreSession.getChildrenIterator(DocumentRef parent)
Gets an iterator to the children of the given parent.
|
DocumentModelIterator |
AbstractSession.getChildrenIterator(DocumentRef parent) |
DocumentModelIterator |
CoreSession.getChildrenIterator(DocumentRef parent,
String type)
Gets an iterator to the children of the given parent filtered according to the given document type.
|
DocumentModelIterator |
AbstractSession.getChildrenIterator(DocumentRef parent,
String type) |
DocumentModelIterator |
CoreSession.getChildrenIterator(DocumentRef parent,
String type,
String perm,
Filter filter)
Gets the children of the given parent filtered according to the given document type and permission.
|
DocumentModelIterator |
AbstractSession.getChildrenIterator(DocumentRef parent,
String type,
String perm,
Filter filter) |
List<DocumentRef> |
CoreSession.getChildrenRefs(DocumentRef parentRef,
String perm)
Gets the references of the children.
|
List<DocumentRef> |
AbstractSession.getChildrenRefs(DocumentRef parentRef,
String perm) |
String |
DocumentModel.getCurrentLifeCycleState()
Returns the life cycle of the document.
|
String |
CoreSession.getCurrentLifeCycleState(DocumentRef docRef)
Returns the life cycle of the document.
|
String |
AbstractSession.getCurrentLifeCycleState(DocumentRef docRef) |
DataModel |
CoreSession.getDataModel(DocumentRef docRef,
Schema schema)
Retrieves a data model given a document reference and a schema.
|
DataModel |
AbstractSession.getDataModel(DocumentRef docRef,
Schema schema) |
DataModel |
DocumentModel.getDataModel(String schema)
Gets the data model corresponding to the given schema.
|
Object[] |
CoreSession.getDataModelsField(DocumentRef[] docRefs,
String schema,
String field)
Retrieves the given field value from the given schema for all the given documents.
|
Object[] |
AbstractSession.getDataModelsField(DocumentRef[] docRefs,
String schema,
String field) |
Object[] |
CoreSession.getDataModelsFieldUp(DocumentRef docRef,
String schema,
String field)
Retrieves the given field value from the given schema for the given document along with all its parent documents.
|
Object[] |
AbstractSession.getDataModelsFieldUp(DocumentRef docRef,
String schema,
String field) |
DocumentModel |
CoreSession.getDocument(DocumentRef docRef)
Gets a document model given its reference.
|
DocumentModel |
AbstractSession.getDocument(DocumentRef docRef) |
DocumentModelList |
CoreSession.getDocuments(DocumentRef[] docRefs)
Gets a list of documents given their references.
|
DocumentModelList |
AbstractSession.getDocuments(DocumentRef[] docRefs) |
<T extends Serializable> |
CoreSession.getDocumentSystemProp(DocumentRef ref,
String systemProperty,
Class<T> type)
Gets system property of the specified type for the document ref.
|
<T extends Serializable> |
AbstractSession.getDocumentSystemProp(DocumentRef ref,
String systemProperty,
Class<T> type) |
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) |
DocumentModelList |
CoreSession.getFiles(DocumentRef parent)
Same as
CoreSession.getChildren(DocumentRef) but returns only non-folder documents. |
DocumentModelList |
AbstractSession.getFiles(DocumentRef parent) |
DocumentModelList |
CoreSession.getFiles(DocumentRef parent,
Filter filter,
Sorter sorter)
Same as
CoreSession.getFiles(org.nuxeo.ecm.core.api.DocumentRef) but uses an optional filter and sorter on the result. |
DocumentModelList |
AbstractSession.getFiles(DocumentRef parent,
Filter filter,
Sorter sorter) |
DocumentModelList |
CoreSession.getFolders(DocumentRef parent)
Same as
CoreSession.getChildren(DocumentRef) but returns only folder documents. |
DocumentModelList |
AbstractSession.getFolders(DocumentRef parent) |
DocumentModelList |
CoreSession.getFolders(DocumentRef parent,
Filter filter,
Sorter sorter)
Same as
CoreSession.getFolders(DocumentRef) but uses an optional filter and sorter on the result. |
DocumentModelList |
AbstractSession.getFolders(DocumentRef parent,
Filter filter,
Sorter sorter) |
DocumentModel |
CoreSession.getLastDocumentVersion(DocumentRef docRef)
Gets the document corresponding to the last version for the given document.
|
DocumentModel |
AbstractSession.getLastDocumentVersion(DocumentRef docRef) |
DocumentRef |
CoreSession.getLastDocumentVersionRef(DocumentRef docRef)
Gets the document reference corresponding to the last version for the given document.
|
DocumentRef |
AbstractSession.getLastDocumentVersionRef(DocumentRef docRef) |
VersionModel |
CoreSession.getLastVersion(DocumentRef docRef)
Deprecated.
|
VersionModel |
AbstractSession.getLastVersion(DocumentRef docRef) |
String |
DocumentModel.getLifeCyclePolicy()
Returns the life cycle policy of the document.
|
String |
CoreSession.getLifeCyclePolicy(DocumentRef docRef)
Returns the life cycle policy of the document.
|
String |
AbstractSession.getLifeCyclePolicy(DocumentRef docRef) |
String |
CoreSession.getLock(DocumentRef doc)
Deprecated.
since 5.4.2, use
CoreSession.getLockInfo(org.nuxeo.ecm.core.api.DocumentRef) instead |
String |
AbstractSession.getLock(DocumentRef docRef)
Deprecated.
|
Lock |
DocumentModel.getLockInfo()
Gets the lock info on the document.
|
Lock |
CoreSession.getLockInfo(DocumentRef docRef)
Gets the lock info on the given document.
|
Lock |
AbstractSession.getLockInfo(DocumentRef docRef) |
DocumentModel |
CoreSession.getParentDocument(DocumentRef docRef)
Gets the parent document or null if this is the root document.
|
DocumentModel |
AbstractSession.getParentDocument(DocumentRef docRef) |
DocumentRef |
CoreSession.getParentDocumentRef(DocumentRef docRef)
Returns the parent ref of the document referenced by
docRef or null if this is the root document. |
DocumentRef |
AbstractSession.getParentDocumentRef(DocumentRef docRef) |
DocumentRef[] |
CoreSession.getParentDocumentRefs(DocumentRef docRef)
Creates an array with all parent refs starting from the given document up to the root.
|
DocumentRef[] |
AbstractSession.getParentDocumentRefs(DocumentRef docRef) |
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) |
DocumentPart |
DocumentModel.getPart(String schema)
Get a document part given its schema name
|
DocumentPart[] |
DocumentModel.getParts()
Gets this document's parts.
|
Map<String,Object> |
DocumentModel.getProperties(String schemaName)
Gets the values from the given data model as a map.
|
Property |
DocumentModel.getProperty(String xpath)
Gets a property given a xpath.
|
Object |
DocumentModel.getProperty(String schemaName,
String name)
Gets a property from the given schema.
|
Serializable |
DocumentModel.getPropertyValue(String xpath)
Gets a property value given a xpath.
|
DocumentModelList |
CoreSession.getProxies(DocumentRef docRef,
DocumentRef folderRef)
Finds the proxies for a document.
|
DocumentModelList |
AbstractSession.getProxies(DocumentRef docRef,
DocumentRef folderRef) |
String[] |
CoreSession.getProxyVersions(DocumentRef docRef,
DocumentRef folderRef)
Deprecated.
|
String[] |
AbstractSession.getProxyVersions(DocumentRef docRef,
DocumentRef folderRef) |
DocumentModel |
CoreSession.getRootDocument()
Gets the root document of this repository.
|
DocumentModel |
AbstractSession.getRootDocument() |
abstract Session |
AbstractSession.getSession()
Internal method: Gets the current session based on the client session id.
|
DocumentModel |
CoreSession.getSourceDocument(DocumentRef docRef)
Gets the head (live) document for this document.
|
DocumentModel |
AbstractSession.getSourceDocument(DocumentRef docRef) |
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) |
<T extends Serializable> |
DocumentModel.getSystemProp(String systemProperty,
Class<T> type)
Gets system property of the specified type.
|
String |
DocumentModel.getTitle()
Get a text suitable to be shown in a UI for this document.
|
DocumentModel |
CoreSession.getVersion(String versionableId,
VersionModel versionModel)
Deprecated.
use version ids directly
|
DocumentModel |
AbstractSession.getVersion(String versionableId,
VersionModel versionModel) |
String |
CoreSession.getVersionLabel(DocumentModel docModel)
Gets the version label for a document, according to the versioning service.
|
String |
AbstractSession.getVersionLabel(DocumentModel docModel) |
List<DocumentModel> |
CoreSession.getVersions(DocumentRef docRef)
Retrieves all the versions for a specified document.
|
List<DocumentModel> |
AbstractSession.getVersions(DocumentRef docRef) |
String |
DocumentModel.getVersionSeriesId()
Gets the version series id for this document.
|
String |
CoreSession.getVersionSeriesId(DocumentRef docRef)
Gets the version series id for a document.
|
String |
AbstractSession.getVersionSeriesId(DocumentRef docRef) |
List<VersionModel> |
CoreSession.getVersionsForDocument(DocumentRef docRef)
Retrieves all the versions for a specified document.
|
List<VersionModel> |
AbstractSession.getVersionsForDocument(DocumentRef docRef) |
List<DocumentRef> |
CoreSession.getVersionsRefs(DocumentRef docRef)
Gets the references of the versions of the document.
|
List<DocumentRef> |
AbstractSession.getVersionsRefs(DocumentRef docRef) |
DocumentModel |
CoreSession.getWorkingCopy(DocumentRef docRef)
Gets the working copy (live document) for a proxy or a version.
|
DocumentModel |
AbstractSession.getWorkingCopy(DocumentRef docRef) |
boolean |
CoreSession.hasChildren(DocumentRef docRef)
Tests if the document has any children.
|
boolean |
AbstractSession.hasChildren(DocumentRef docRef) |
boolean |
CoreSession.hasPermission(DocumentRef docRef,
String permission)
Checks if the principal that created the client session has the given privilege on the referred document.
|
boolean |
AbstractSession.hasPermission(DocumentRef docRef,
String permission) |
boolean |
CoreSession.hasPermission(Principal principal,
DocumentRef docRef,
String permission)
Checks if a given principal has the given privilege on the referred document.
|
boolean |
AbstractSession.hasPermission(Principal principal,
DocumentRef docRef,
String permission) |
void |
CoreSession.importDocuments(List<DocumentModel> docModels)
Low-level import of documents, reserved for the administrator.
|
void |
AbstractSession.importDocuments(List<DocumentModel> docModels) |
void |
AbstractSession.internalCheckOut(DocumentRef docRef) |
boolean |
DocumentModel.isCheckedOut()
Tests if the document is checked out.
|
boolean |
CoreSession.isCheckedOut(DocumentRef docRef)
Returns whether the current document is checked-out or not.
|
boolean |
AbstractSession.isCheckedOut(DocumentRef docRef) |
boolean |
CoreSession.isDirty(DocumentRef doc)
Deprecated.
since 5.4, use
CoreSession.isCheckedOut(org.nuxeo.ecm.core.api.DocumentRef) instead |
boolean |
AbstractSession.isDirty(DocumentRef docRef)
Deprecated.
|
boolean |
DocumentModel.isDownloadable()
Checks if this document can be downloaded.
|
boolean |
DocumentModel.isLatestMajorVersion()
Checks if a document is the latest major version in the version series.
|
boolean |
DocumentModel.isLatestVersion()
Checks if a document is the latest version in the version series.
|
boolean |
DocumentModel.isMajorVersion()
Checks if a document is a major version.
|
boolean |
DocumentModel.isVersionSeriesCheckedOut()
Checks if there is a checked out working copy for the version series of this document.
|
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) |
void |
CoreSession.move(List<DocumentRef> src,
DocumentRef dst)
Bulk move.
|
void |
AbstractSession.move(List<DocumentRef> src,
DocumentRef dst) |
CoreSession |
CoreInstance.open(String repositoryName,
Map<String,Serializable> context)
Deprecated.
since 5.9.3, use
CoreInstance.openCoreSession(java.lang.String) instead. |
static CoreSession |
CoreInstance.openCoreSession(String repositoryName)
Opens a
CoreSession for the currently logged-in user. |
static CoreSession |
CoreInstance.openCoreSession(String repositoryName,
Map<String,Serializable> context)
NOT PUBLIC, DO NOT CALL.
|
static CoreSession |
CoreInstance.openCoreSession(String repositoryName,
NuxeoPrincipal principal)
Opens a
CoreSession for the given principal. |
static CoreSession |
CoreInstance.openCoreSession(String repositoryName,
Principal principal)
Opens a
CoreSession for the given principal. |
static CoreSession |
CoreInstance.openCoreSession(String repositoryName,
String username)
Opens a
CoreSession for the given user. |
static CoreSession |
CoreInstance.openCoreSessionSystem(String repositoryName)
Opens a
CoreSession for a system user. |
void |
CoreSession.orderBefore(DocumentRef parent,
String src,
String dest)
Given a parent document, order the source child before the destination child.
|
void |
AbstractSession.orderBefore(DocumentRef parent,
String src,
String dest) |
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) |
DocumentModelList |
CoreSession.query(String query)
Executes the given NXQL query an returns the result.
|
DocumentModelList |
AbstractSession.query(String query) |
DocumentModelList |
CoreSession.query(String query,
Filter filter)
Executes the given NXQL query and returns the result that matches the filter.
|
DocumentModelList |
AbstractSession.query(String query,
Filter filter) |
DocumentModelList |
CoreSession.query(String query,
Filter filter,
int max)
Executes the given NXQL query and returns the result that matches the filter.
|
DocumentModelList |
AbstractSession.query(String query,
Filter filter,
int max) |
DocumentModelList |
CoreSession.query(String query,
Filter filter,
long limit,
long offset,
boolean countTotal)
Executes the given NXQL query and returns the result that matches the filter.
|
DocumentModelList |
AbstractSession.query(String query,
Filter filter,
long limit,
long offset,
boolean countTotal) |
DocumentModelList |
CoreSession.query(String query,
Filter filter,
long limit,
long offset,
long countUpTo)
Executes the given NXQL query and returns the result that matches the filter.
|
DocumentModelList |
AbstractSession.query(String query,
Filter filter,
long limit,
long offset,
long countUpTo) |
DocumentModelList |
CoreSession.query(String query,
int max)
Executes the given NXQL query an returns the result.
|
DocumentModelList |
AbstractSession.query(String query,
int max) |
DocumentModelList |
CoreSession.query(String query,
String queryType,
Filter filter,
long limit,
long offset,
boolean countTotal)
Executes the given query and returns the result that matches the filter.
|
DocumentModelList |
AbstractSession.query(String query,
String queryType,
Filter filter,
long limit,
long offset,
boolean countTotal) |
DocumentModelList |
CoreSession.query(String query,
String queryType,
Filter filter,
long limit,
long offset,
long countUpTo)
Executes the given query and returns the result that matches the filter.
|
DocumentModelList |
AbstractSession.query(String query,
String queryType,
Filter filter,
long limit,
long offset,
long countUpTo) |
IterableQueryResult |
CoreSession.queryAndFetch(String query,
String queryType,
Object... params) |
IterableQueryResult |
AbstractSession.queryAndFetch(String query,
String queryType,
Object... params) |
void |
DocumentModel.refresh()
Same as
DocumentModel.refresh(REFRESH_DEFAULT) . |
void |
DocumentModel.refresh(int refreshFlags,
String[] schemas)
Refresh document data from server.
|
DocumentModel.DocumentModelRefresh |
CoreSession.refreshDocument(DocumentRef ref,
int refreshFlags,
String[] schemas)
Internal method - it is used internally by
DocumentModel.refresh() |
DocumentModel.DocumentModelRefresh |
AbstractSession.refreshDocument(DocumentRef ref,
int refreshFlags,
String[] schemas) |
void |
CoreSession.reinitLifeCycleState(DocumentRef docRef)
Reinitializes the life cycle state of the document to its default state.
|
void |
AbstractSession.reinitLifeCycleState(DocumentRef docRef) |
void |
CoreSession.removeChildren(DocumentRef docRef)
Removes all children from the given document.
|
void |
AbstractSession.removeChildren(DocumentRef docRef) |
void |
CoreSession.removeDocument(DocumentRef docRef)
Removes this document and all its children, if any.
|
void |
AbstractSession.removeDocument(DocumentRef docRef) |
void |
CoreSession.removeDocuments(DocumentRef[] docRefs)
Bulk method to remove documents.
|
void |
AbstractSession.removeDocuments(DocumentRef[] docRefs)
Implementation uses the fact that the lexicographic ordering of paths is a refinement of the "contains" partial
ordering.
|
Lock |
DocumentModel.removeLock()
Removes the lock on the document.
|
Lock |
CoreSession.removeLock(DocumentRef docRef)
Removes the lock on the given document.
|
Lock |
AbstractSession.removeLock(DocumentRef docRef) |
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.
|
abstract void |
UnrestrictedSessionRunner.run()
This method will be called by
UnrestrictedSessionRunner.runUnrestricted() with UnrestrictedSessionRunner.session available as an unrestricted
session. |
void |
UnrestrictedSessionRunner.runUnrestricted()
Calls the
UnrestrictedSessionRunner.run() method with an unrestricted UnrestrictedSessionRunner.session . |
void |
CoreSession.save()
Saves any pending changes done until now through this session.
|
void |
AbstractSession.save() |
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 |
DocumentModel.setACP(ACP acp,
boolean overwrite)
Sets the ACP for this document model.
|
void |
CoreSession.setACP(DocumentRef docRef,
ACP acp,
boolean overwrite)
Sets the ACP for this document.
|
void |
AbstractSession.setACP(DocumentRef docRef,
ACP newAcp,
boolean overwrite) |
<T extends Serializable> |
CoreSession.setDocumentSystemProp(DocumentRef ref,
String systemProperty,
T value)
Sets given value as a system property.
|
<T extends Serializable> |
AbstractSession.setDocumentSystemProp(DocumentRef ref,
String systemProperty,
T value) |
Lock |
DocumentModel.setLock()
Sets a lock on the document.
|
Lock |
CoreSession.setLock(DocumentRef docRef)
Sets a lock on the given document.
|
Lock |
AbstractSession.setLock(DocumentRef docRef) |
void |
CoreSession.setLock(DocumentRef doc,
String key)
Deprecated.
since 5.4.2, use
CoreSession.setLock(DocumentRef) instead |
void |
AbstractSession.setLock(DocumentRef docRef,
String key)
Deprecated.
|
void |
DocumentModel.setLock(String key)
Deprecated.
since 5.4.2, use
DocumentModel.setLock(java.lang.String) instead |
void |
NuxeoPrincipal.setModel(DocumentModel model) |
void |
DocumentModel.setProperties(String schemaName,
Map<String,Object> data)
Sets values for the given data model.
|
void |
DocumentModel.setProperty(String schemaName,
String name,
Object value)
Sets the property value from the given schema.
|
void |
DocumentModel.setPropertyValue(String xpath,
Serializable value)
Sets a property value given a xpath.
|
void |
DocumentModel.unlock()
Deprecated.
since 5.4.2, use
DocumentModel.removeLock() instead |
String |
CoreSession.unlock(DocumentRef docRef)
Deprecated.
since 5.4.2, use
CoreSession.removeLock(org.nuxeo.ecm.core.api.DocumentRef) instead |
String |
AbstractSession.unlock(DocumentRef docRef)
Deprecated.
|
static DocumentModel |
DocumentModelFactory.writeDocumentModel(DocumentModel docModel,
Document doc)
Writes a document model to a document.
|
Constructor and Description |
---|
ClientException(ClientException cause) |
ClientException(String message,
ClientException cause) |
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 |
---|---|
Blob |
SimpleBlobHolder.getBlob() |
Blob |
DocumentStringBlobHolder.getBlob() |
Blob |
DocumentBlobHolder.getBlob() |
Blob |
BlobHolder.getBlob()
Returns the Blob held inside the object.
|
abstract Blob |
AbstractBlobHolder.getBlob() |
List<Blob> |
SimpleBlobHolder.getBlobs() |
List<Blob> |
DocumentBlobHolder.getBlobs() |
List<Blob> |
BlobHolder.getBlobs()
Returns a list of blobs, if holder implementation supports multiple blobs.
|
List<Blob> |
AbstractBlobHolder.getBlobs() |
String |
BlobHolder.getFilePath()
Returns a filesystem-like path to represent the held blob.
|
String |
AbstractBlobHolder.getFilePath() |
String |
DocumentBlobHolder.getHash() |
String |
BlobHolder.getHash()
Returns a hash for the held blob.
|
String |
AbstractBlobHolder.getHash() |
Calendar |
SimpleBlobHolder.getModificationDate() |
Calendar |
DocumentBlobHolder.getModificationDate() |
Calendar |
BlobHolder.getModificationDate()
Returns the held blob modification date.
|
abstract Calendar |
AbstractBlobHolder.getModificationDate() |
Serializable |
SimpleBlobHolderWithProperties.getProperty(String name) |
Serializable |
SimpleBlobHolder.getProperty(String name) |
Serializable |
DocumentBlobHolder.getProperty(String name) |
Serializable |
BlobHolder.getProperty(String name)
Returns a named property.
|
void |
DocumentStringBlobHolder.setBlob(Blob blob) |
void |
DocumentBlobHolder.setBlob(Blob blob) |
void |
BlobHolder.setBlob(Blob blob)
Sets a blob in the object.
|
void |
AbstractBlobHolder.setBlob(Blob blob) |
Modifier and Type | Method and Description |
---|---|
void |
SimpleDocumentModel.accept(PropertyVisitor visitor,
Object arg) |
void |
DocumentModelImpl.accept(PropertyVisitor visitor,
Object arg) |
void |
DocumentModelImpl.attach(String sid) |
DocumentRef |
SimpleDocumentModel.checkIn(VersioningOption option,
String description) |
DocumentRef |
DocumentModelImpl.checkIn(VersioningOption option,
String description) |
void |
SimpleDocumentModel.checkOut() |
void |
DocumentModelImpl.checkOut() |
void |
SimpleDocumentModel.copyContent(DocumentModel sourceDoc) |
void |
DocumentModelImpl.copyContent(DocumentModel sourceDoc) |
void |
DocumentModelImpl.detach(boolean loadAll) |
boolean |
SimpleDocumentModel.followTransition(String transition) |
boolean |
DocumentModelImpl.followTransition(String transition) |
ACP |
SimpleDocumentModel.getACP() |
ACP |
DocumentModelImpl.getACP() |
Collection<String> |
SimpleDocumentModel.getAllowedStateTransitions() |
Collection<String> |
DocumentModelImpl.getAllowedStateTransitions() |
Map<String,String> |
SimpleDocumentModel.getBinaryFulltext() |
Map<String,String> |
DocumentModelImpl.getBinaryFulltext() |
String |
SimpleDocumentModel.getCacheKey() |
String |
DocumentModelImpl.getCacheKey() |
String |
DocumentModelImpl.getCheckinComment() |
String |
SimpleDocumentModel.getCurrentLifeCycleState() |
String |
DocumentModelImpl.getCurrentLifeCycleState() |
DataModel |
SimpleDocumentModel.getDataModel(String schema) |
DataModel |
DocumentModelImpl.getDataModel(String schema) |
String |
SimpleDocumentModel.getLifeCyclePolicy() |
String |
DocumentModelImpl.getLifeCyclePolicy() |
Lock |
SimpleDocumentModel.getLockInfo() |
Lock |
DocumentModelImpl.getLockInfo() |
DocumentPart |
SimpleDocumentModel.getPart(String schema) |
DocumentPart |
DocumentModelImpl.getPart(String schema) |
DocumentPart[] |
SimpleDocumentModel.getParts() |
DocumentPart[] |
DocumentModelImpl.getParts() |
Map<String,Object> |
SimpleDocumentModel.getProperties(String schemaName) |
Map<String,Object> |
DocumentModelImpl.getProperties(String schemaName) |
Property |
SimpleDocumentModel.getProperty(String xpath) |
Property |
DocumentModelImpl.getProperty(String xpath) |
Object |
SimpleDocumentModel.getProperty(String schemaName,
String name) |
Object |
DocumentModelImpl.getProperty(String schemaName,
String name) |
Serializable |
SimpleDocumentModel.getPropertyValue(String xpath) |
Serializable |
DocumentModelImpl.getPropertyValue(String xpath) |
<T extends Serializable> |
SimpleDocumentModel.getSystemProp(String systemProperty,
Class<T> type) |
<T extends Serializable> |
DocumentModelImpl.getSystemProp(String systemProperty,
Class<T> type) |
String |
SimpleDocumentModel.getTitle() |
String |
DocumentModelImpl.getTitle()
Gets the title from the dublincore schema.
|
String |
SimpleDocumentModel.getVersionSeriesId() |
String |
DocumentModelImpl.getVersionSeriesId() |
boolean |
SimpleDocumentModel.isCheckedOut() |
boolean |
DocumentModelImpl.isCheckedOut() |
boolean |
SimpleDocumentModel.isDownloadable() |
boolean |
DocumentModelImpl.isDownloadable() |
boolean |
SimpleDocumentModel.isLatestMajorVersion() |
boolean |
DocumentModelImpl.isLatestMajorVersion() |
boolean |
SimpleDocumentModel.isLatestVersion() |
boolean |
DocumentModelImpl.isLatestVersion() |
boolean |
SimpleDocumentModel.isMajorVersion() |
boolean |
DocumentModelImpl.isMajorVersion() |
boolean |
SimpleDocumentModel.isVersionSeriesCheckedOut() |
boolean |
DocumentModelImpl.isVersionSeriesCheckedOut() |
void |
SimpleDocumentModel.refresh() |
void |
DocumentModelImpl.refresh() |
void |
SimpleDocumentModel.refresh(int refreshFlags,
String[] schemas) |
void |
DocumentModelImpl.refresh(int refreshFlags,
String[] schemas) |
Lock |
SimpleDocumentModel.removeLock() |
Lock |
DocumentModelImpl.removeLock() |
void |
SimpleDocumentModel.setACP(ACP acp,
boolean overwrite) |
void |
DocumentModelImpl.setACP(ACP acp,
boolean overwrite) |
Lock |
SimpleDocumentModel.setLock() |
Lock |
DocumentModelImpl.setLock() |
void |
SimpleDocumentModel.setLock(String key) |
void |
DocumentModelImpl.setLock(String key)
Deprecated.
|
void |
SimpleDocumentModel.setProperties(String schemaName,
Map<String,Object> data) |
void |
DocumentModelImpl.setProperties(String schemaName,
Map<String,Object> data) |
void |
SimpleDocumentModel.setProperty(String schemaName,
String name,
Object value) |
void |
DocumentModelImpl.setProperty(String schemaName,
String name,
Object value) |
void |
SimpleDocumentModel.setPropertyValue(String xpath,
Serializable value) |
void |
DocumentModelImpl.setPropertyValue(String xpath,
Serializable value) |
void |
SimpleDocumentModel.unlock() |
void |
DocumentModelImpl.unlock() |
Constructor and Description |
---|
DocumentModelChildrenIterator(CoreSession session,
DocumentRef parentRef,
String type,
Filter filter) |
Modifier and Type | Method and Description |
---|---|
void |
LocalSession.connect(String repositoryName,
NuxeoPrincipal principal) |
Modifier and Type | Method and Description |
---|---|
void |
LocalConfiguration.save(CoreSession session)
Save this LocalConfiguration.
|
void |
AbstractLocalConfiguration.save(CoreSession session) |
Modifier and Type | Class and Description |
---|---|
class |
InvalidPropertyValueException |
class |
PropertyAccessException |
class |
PropertyConversionException |
class |
PropertyException |
class |
PropertyNotFoundException
Exception indicating a property not found.
|
class |
ReadOnlyPropertyException |
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) |
String |
PathSegmentServiceDefault.generatePathSegment(String s) |
String |
PathSegmentServiceCompat.generatePathSegment(String s) |
String |
PathSegmentService.generatePathSegment(String s)
Generate the path segment to use from a string.
|
String |
PathSegmentComponent.generatePathSegment(String s) |
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 |
---|---|
CoreSession |
Repository.open()
Deprecated.
since 5.9.3, use
CoreInstance.openCoreSession(java.lang.String) instead. |
CoreSession |
Repository.open(Map<String,Serializable> context)
Deprecated.
since 5.9.3, use
CoreInstance.openCoreSession(java.lang.String) instead. |
Modifier and Type | Method and Description |
---|---|
String[] |
PermissionProvider.getAliasPermissions(String perm) |
String[] |
PermissionProvider.getSubPermissions(String perm) |
List<UserVisiblePermission> |
PermissionProvider.getUserVisiblePermissionDescriptors() |
List<UserVisiblePermission> |
PermissionProvider.getUserVisiblePermissionDescriptors(String typeName) |
Modifier and Type | Method and Description |
---|---|
Blob |
ThumbnailAdapter.computeThumbnail(CoreSession session) |
Blob |
Thumbnail.computeThumbnail(CoreSession session) |
Blob |
ThumbnailServiceImpl.computeThumbnail(DocumentModel doc,
CoreSession session) |
Blob |
ThumbnailService.computeThumbnail(DocumentModel doc,
CoreSession session)
Compute the thumbnail (related to the document type/facet)
|
Blob |
ThumbnailAdapter.getThumbnail(CoreSession session) |
Blob |
Thumbnail.getThumbnail(CoreSession session) |
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) |
void |
ThumbnailAdapter.save(CoreSession session) |
Modifier and Type | Class and Description |
---|---|
class |
DocumentValidationException
Exception thrown when some process failed due to
ConstraintViolation . |
Modifier and Type | Class and Description |
---|---|
class |
ConversionException
Base exception raised by the
ConversionService . |
class |
ConverterNotAvailable |
class |
ConverterNotRegistered
Exception thrown when selected converter is not registered.
|
Modifier and Type | Method and Description |
---|---|
void |
EventService.fireEvent(Event event)
Fires an event.
|
void |
EventProducer.fireEvent(Event event) |
void |
EventService.fireEvent(String name,
EventContext context)
Fires an event given its name and a context.
|
void |
EventService.fireEventBundle(EventBundle event)
Fires all recorded events in a transaction.
|
void |
EventProducer.fireEventBundle(EventBundle event) |
void |
EventService.fireEventBundleSync(EventBundle event)
Fires an event bundle in synchronous mode.
|
void |
EventListener.handleEvent(Event event)
Handle the given event.
|
void |
PostCommitEventListener.handleEvent(EventBundle events)
Handles the set of events that were raised during the life of an user operation.
|
Modifier and Type | Method and Description |
---|---|
void |
ShallowDocumentModel.accept(PropertyVisitor visitor,
Object arg) |
DocumentRef |
ShallowDocumentModel.checkIn(VersioningOption option,
String checkinComment) |
void |
ShallowDocumentModel.checkOut() |
void |
ShallowDocumentModel.copyContent(DocumentModel sourceDoc) |
void |
EventServiceImpl.fireEvent(Event event) |
void |
EventServiceImpl.fireEvent(String name,
EventContext context) |
void |
EventServiceImpl.fireEventBundle(EventBundle event) |
void |
EventServiceImpl.fireEventBundleSync(EventBundle event) |
boolean |
ShallowDocumentModel.followTransition(String transition) |
ACP |
ShallowDocumentModel.getACP() |
Collection<String> |
ShallowDocumentModel.getAllowedStateTransitions() |
Map<String,String> |
ShallowDocumentModel.getBinaryFulltext() |
String |
ShallowDocumentModel.getCacheKey() |
String |
ShallowDocumentModel.getCurrentLifeCycleState() |
DataModel |
ShallowDocumentModel.getDataModel(String schema) |
String |
ShallowDocumentModel.getLifeCyclePolicy() |
Lock |
ShallowDocumentModel.getLockInfo() |
DocumentPart |
ShallowDocumentModel.getPart(String schema) |
DocumentPart[] |
ShallowDocumentModel.getParts() |
Map<String,Object> |
ShallowDocumentModel.getProperties(String schemaName) |
Property |
ShallowDocumentModel.getProperty(String xpath) |
Object |
ShallowDocumentModel.getProperty(String schemaName,
String name) |
Serializable |
ShallowDocumentModel.getPropertyValue(String xpath) |
<T extends Serializable> |
ShallowDocumentModel.getSystemProp(String systemProperty,
Class<T> type) |
String |
ShallowDocumentModel.getTitle() |
String |
ShallowDocumentModel.getVersionSeriesId() |
void |
AbstractLongRunningListener.handleEvent(EventBundle events) |
boolean |
ShallowDocumentModel.isCheckedOut() |
boolean |
ShallowDocumentModel.isDownloadable() |
boolean |
ShallowDocumentModel.isLatestMajorVersion() |
boolean |
ShallowDocumentModel.isLatestVersion() |
boolean |
ShallowDocumentModel.isMajorVersion() |
boolean |
ShallowDocumentModel.isVersionSeriesCheckedOut() |
void |
ShallowDocumentModel.refresh() |
void |
ShallowDocumentModel.refresh(int refreshFlags,
String[] schemas) |
Lock |
ShallowDocumentModel.removeLock() |
void |
ShallowDocumentModel.setACP(ACP acp,
boolean overwrite) |
Lock |
ShallowDocumentModel.setLock() |
void |
ShallowDocumentModel.setLock(String key) |
void |
ShallowDocumentModel.setProperties(String schemaName,
Map<String,Object> data) |
void |
ShallowDocumentModel.setProperty(String schemaName,
String name,
Object value) |
void |
ShallowDocumentModel.unlock() |
Modifier and Type | Class and Description |
---|---|
class |
JMSBusNotActiveException |
static class |
SerializableEventBundle.CannotReconstruct |
Modifier and Type | Method and Description |
---|---|
void |
JmsEventForwarder.handleEvent(EventBundle events) |
Modifier and Type | Method and Description |
---|---|
void |
ScriptingEventListener.handleEvent(Event event) |
void |
ScriptingPostCommitEventListener.handleEvent(EventBundle bundle) |
Modifier and Type | Method and Description |
---|---|
DocumentReader |
DocumentReaderFactory.createDocReader(Map<String,Object> params) |
DocumentTranslationMap |
DocumentsExporter.exportDocs(OutputStream out) |
DocumentTranslationMap |
IODocumentManager.exportDocuments(OutputStream out,
String repo,
Collection<DocumentRef> sources,
boolean recurse,
String format) |
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 . |
DocumentTranslationMap |
DocumentsImporter.importDocs(InputStream sourceInputStream) |
DocumentTranslationMap |
IODocumentManager.importDocuments(InputStream in,
String repo,
DocumentRef root) |
Modifier and Type | Method and Description |
---|---|
DocumentTranslationMap |
IODocumentManagerImpl.exportDocuments(OutputStream out,
String repo,
Collection<DocumentRef> sources,
boolean recurse,
String format) |
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 . |
DocumentTranslationMap |
IODocumentManagerImpl.importDocuments(InputStream in,
String repo,
DocumentRef root) |
Modifier and Type | Method and Description |
---|---|
DocumentReader |
DocumentTreeReaderFactory.createDocReader(Map<String,Object> params) |
static DocumentsListReader |
DocumentsListReader.createDocumentsListReader(CoreSession session,
Collection<DocumentRef> docRefsList) |
Constructor and Description |
---|
DocumentChildrenReader(CoreSession session,
DocumentModel root)
Deprecated.
|
DocumentChildrenReader(CoreSession session,
DocumentRef root)
Deprecated.
|
DocumentTreeReader(CoreSession session,
DocumentModel root) |
DocumentTreeReader(CoreSession session,
DocumentModel root,
boolean excludeRoot) |
DocumentTreeReader(CoreSession session,
DocumentRef root) |
SingleDocumentReader(CoreSession session,
DocumentRef root) |
TypedSingleDocumentReader(CoreSession session,
DocumentRef root) |
Modifier and Type | Method and Description |
---|---|
static void |
DocumentModelJsonReader.applyPropertyValues(DocumentModel src,
DocumentModel dst) |
Modifier and Type | Class and Description |
---|---|
class |
MarshallingException
|
Constructor and Description |
---|
MarshallingException(ClientException cause) |
MarshallingException(String message,
ClientException cause) |
Modifier and Type | Method and Description |
---|---|
void |
BulkLifeCycleChangeListener.handleEvent(EventBundle events) |
Modifier and Type | Method and Description |
---|---|
ProbeStatus |
Probe.run() |
Modifier and Type | Method and Description |
---|---|
void |
EventCounterListener.handleEvent(EventBundle events) |
Modifier and Type | Method and Description |
---|---|
void |
DocumentStoreManager.doInitializeRepository(CoreSession session) |
void |
DocumentModelStatusPersister.StatusFetcher.run() |
Modifier and Type | Method and Description |
---|---|
void |
EmptyNameFixer.handleEvent(Event event) |
void |
DuplicatedNameFixer.handleEvent(Event event) |
Modifier and Type | Method and Description |
---|---|
static InputStream |
NuxeoObjectData.getIconStream(String iconPath,
org.apache.chemistry.opencmis.commons.server.CallContext context) |
Modifier and Type | Method and Description |
---|---|
static String |
Helper.createUserWorkspace(CoreSession repo,
String username) |
Modifier and Type | Method and Description |
---|---|
<T> T |
PersistenceProvider.run(Boolean needActiveSession,
PersistenceProvider.RunCallback<T> callback) |
void |
PersistenceProvider.run(Boolean needActiveSession,
PersistenceProvider.RunVoid callback) |
T |
PersistenceProvider.RunCallback.runWith(javax.persistence.EntityManager em) |
void |
PersistenceProvider.RunVoid.runWith(javax.persistence.EntityManager em) |
Modifier and Type | Method and Description |
---|---|
abstract void |
RepositoryInitializationHandler.doInitializeRepository(CoreSession session) |
void |
RepositoryInitializationHandler.initializeRepository(CoreSession session)
Must be implemented by custom initializers.
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
CommentService.deleteComment() |
Modifier and Type | Method and Description |
---|---|
String[] |
DefaultPermissionProvider.getAliasPermissions(String perm) |
String[] |
DefaultPermissionProvider.getSubPermissions(String perm) |
List<UserVisiblePermission> |
DefaultPermissionProvider.getUserVisiblePermissionDescriptors() |
List<UserVisiblePermission> |
DefaultPermissionProvider.getUserVisiblePermissionDescriptors(String typeName) |
Modifier and Type | Method and Description |
---|---|
void |
SQLRepositoryTestCase.openSession() |
CoreSession |
SQLRepositoryTestCase.openSessionAs(NuxeoPrincipal principal) |
CoreSession |
SQLRepositoryTestCase.openSessionAs(String username) |
Modifier and Type | Method and Description |
---|---|
void |
DummyBeforeModificationListener.handleEvent(Event event)
Called on aboutToCreate and beforeDocumentModification events.
|
void |
DummyAsyncRetryListener.handleEvent(EventBundle events) |
Modifier and Type | Method and Description |
---|---|
ProbeStatus |
ActiveSessionsProbe.run() |
Modifier and Type | Method and Description |
---|---|
CoreSession |
RepositorySettings.openSession()
Opens a
CoreSession for the currently logged-in user. |
CoreSession |
RepositorySettings.openSessionAs(Principal principal)
Opens a
CoreSession for the given principal. |
CoreSession |
RepositorySettings.openSessionAs(String username)
Opens a
CoreSession for the given user. |
CoreSession |
RepositorySettings.openSessionAs(String username,
boolean isAdmin,
boolean isAnonymous) |
CoreSession |
RepositorySettings.openSessionAsAdminUser(String username) |
CoreSession |
RepositorySettings.openSessionAsAnonymousUser(String username) |
CoreSession |
RepositorySettings.openSessionAsSystemUser() |
void |
NoopRepositoryInit.populate(CoreSession session) |
void |
DefaultRepositoryInit.populate(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
void |
RepositoryInit.populate(CoreSession session)
Creates the default objects in an empty repository.
|
Modifier and Type | Method and Description |
---|---|
void |
TransientStorageGCTrigger.handleEvent(Event event) |
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?
|
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.
|
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.purgeDocuments(CoreSession session,
List<DocumentRef> docRefs) |
void |
TrashService.purgeDocuments(CoreSession session,
List<DocumentRef> docRefs)
Purges (completely deletes) 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<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) |
void |
OrphanVersionRemoverListener.handleEvent(EventBundle events) |
void |
VersionRemovalPolicy.removeVersions(Session session,
Document doc,
CoreSession coreSession)
Removes the versions when a given working document is about to be removed.
|
void |
DefaultVersionRemovalPolicy.removeVersions(Session session,
Document doc,
CoreSession coreSession) |
Modifier and Type | Method and Description |
---|---|
CoreSession |
AbstractWork.initSession()
May be called by implementing classes to open a session on the repository.
|
CoreSession |
AbstractWork.initSession(String repositoryName)
May be called by implementing classes to open a session on the given repository.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultCSVImporterDocumentFactory.createDocument(CoreSession session,
String parentPath,
String name,
String type,
Map<String,Serializable> values) |
void |
CSVImporterDocumentFactory.createDocument(CoreSession session,
String parentPath,
String name,
String type,
Map<String,Serializable> values) |
boolean |
DefaultCSVImporterDocumentFactory.exists(CoreSession session,
String parentPath,
String name,
String type,
Map<String,Serializable> values) |
boolean |
CSVImporterDocumentFactory.exists(CoreSession session,
String parentPath,
String name,
String type,
Map<String,Serializable> values) |
void |
DefaultCSVImporterDocumentFactory.updateDocument(CoreSession session,
DocumentRef docRef,
Map<String,Serializable> values) |
void |
CSVImporterDocumentFactory.updateDocument(CoreSession session,
DocumentRef docRef,
Map<String,Serializable> values) |
Modifier and Type | Class and Description |
---|---|
class |
ContentDiffException
Content diff exception.
|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
ContentProperty.setSubProperty(String subPropertyName,
String subPropertyValue) |
Modifier and Type | Method and Description |
---|---|
DocumentDiff |
DocumentDiffService.diff(CoreSession session,
DocumentModel leftDoc,
DocumentModel rightDoc)
Makes a diff between leftDoc and rightDoc.
|
DocumentDiff |
DocumentDiffService.diff(String leftXML,
String rightXML)
Makes a diff between leftXML and rightXML.
|
static Field |
ComplexPropertyHelper.getComplexFieldItem(Field field,
String complexItemName) |
static List<Field> |
ComplexPropertyHelper.getComplexFieldItems(Field field) |
List<DiffDisplayBlock> |
DiffDisplayService.getDiffDisplayBlocks(DocumentDiff docDiff,
DocumentModel leftDoc,
DocumentModel rightDoc) |
static Field |
ComplexPropertyHelper.getField(String schemaName,
String fieldName) |
static String |
ComplexPropertyHelper.getFieldType(Field field) |
static Field |
ComplexPropertyHelper.getListFieldItem(Field field) |
Modifier and Type | Method and Description |
---|---|
static PropertyDiff |
FieldDiffHelper.applyPropertyHierarchyToDiff(PropertyDiff firstPropertyDiff,
List<PropertyHierarchyNode> propertyHierarchy)
Sets the property diff hierarchy.
|
static boolean |
FieldDiffHelper.computeFieldDiff(DocumentDiff docDiff,
org.custommonkey.xmlunit.NodeDetail controlNodeDetail,
org.custommonkey.xmlunit.NodeDetail testNodeDetail,
int fieldDifferenceCount,
org.custommonkey.xmlunit.Difference difference)
Computes a field diff.
|
DocumentDiff |
DocumentDiffServiceImpl.diff(CoreSession session,
DocumentModel leftDoc,
DocumentModel rightDoc)
Makes a diff between leftDoc and rightDoc.
|
DocumentDiff |
DocumentDiffServiceImpl.diff(String leftXML,
String rightXML)
Makes a diff between leftXML and rightXML.
|
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 |
---|---|
void |
DocumentDiffRepositoryInit.populate(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
String |
DiffActionsBean.getContentDiffFancyBoxURL(String propertyLabel,
String propertyXPath)
Gets the content diff fancybox URL for the property with xpath
propertyXPath . |
String |
DiffActionsBean.getContentDiffFancyBoxURL(String propertyLabel,
String propertyXPath,
String conversionType)
Gets the content diff fancybox URL for the property with xpath
propertyXPath using conversionType
. |
String |
DiffActionsBean.getContentDiffURL(String docLeftId,
String docRightId,
String propertyXPath,
String conversionTypeParam)
Gets the content diff URL of two documents independently of the current document
|
List<DiffDisplayBlock> |
DiffActionsBean.getDefaultDiffDisplayBlocks()
Gets the document diff.
|
String |
DiffActionsBean.prepareCurrentDefaultSelectionDiff()
Prepares a diff of the current default selection.
|
String |
DiffActionsBean.prepareCurrentDocumentSelectionDiff()
Prepares a diff of the current document selection.
|
String |
DiffActionsBean.prepareCurrentSectionSelectionDiff()
Prepares a diff of the current section selection.
|
String |
DiffActionsBean.prepareCurrentTrashSelectionDiff()
Prepares a diff of the current document trash selection.
|
String |
DiffActionsBean.prepareCurrentVersionDiff()
Prepares a diff of the selected version with the live doc.
|
String |
DiffActionsBean.prepareCurrentVersionDiff(String versionLabel)
Prepare a diff of the current document with a specific version
|
String |
DiffActionsBean.prepareCurrentVersionSelectionDiff()
Prepares a diff of the current version selection.
|
String |
DiffActionsBean.prepareWorkingListDiff(String listName)
Prepares a diff of the
listName working list. |
String |
DiffActionsBean.refresh()
Refreshes the diff between leftDoc and rightDoc.
|
Modifier and Type | Class and Description |
---|---|
class |
DirectoryEntryNotFoundException
Specific exception thrown when a directory entry is not found
|
class |
DirectoryException
An exception thrown when a communication error occurs during an operation on an NXDirectory.
|
class |
OperationNotAllowedException
Exception thrown when an operation is not allowed on a given directory entry.
|
class |
SizeLimitExceededException |
Modifier and Type | Method and Description |
---|---|
void |
AbstractDirectory.addReference(Reference reference) |
void |
AbstractDirectory.addReferences(Reference[] references) |
boolean |
Session.authenticate(String username,
String password)
Checks that the credentials provided by the UserManager match those registered in the directory.
|
DocumentModel |
Session.createEntry(DocumentModel entry)
Creates an entry in a directory.
|
DocumentModel |
Session.createEntry(Map<String,Object> fieldMap)
Creates an entry in a directory.
|
void |
Session.deleteEntry(DocumentModel docModel)
Deletes a directory entry.
|
void |
Session.deleteEntry(String id)
Deletes a directory entry by id.
|
void |
Session.deleteEntry(String id,
Map<String,String> map)
Deletes a directory entry by id and secondary ids.
|
DocumentModelList |
Session.getEntries()
Deprecated.
since 6.0 Use query method instead with parameters
|
String |
Session.getIdField()
The Id field is the name of the field that is used a primary key: unique and not null value in the whole
directory.
|
String |
Session.getPasswordField() |
List<String> |
Session.getProjection(Map<String,Serializable> filter,
Set<String> fulltext,
String columnName) |
List<String> |
Session.getProjection(Map<String,Serializable> filter,
String columnName)
Executes a query using filter and return only the column columnName.
|
boolean |
Session.hasEntry(String id)
Returns true if session has an entry with given id.
|
boolean |
Session.isAuthenticating()
Tells whether the directory implementation can be used as an authenticating backend for the UserManager (based on
login / password check).
|
boolean |
Session.isReadOnly() |