@Role
public interface RequestFactory
| Modifier and Type | Method and Description |
|---|---|
CopyRequest |
createCopyAsRequest(org.xwiki.model.reference.EntityReference sourceReference,
org.xwiki.model.reference.EntityReference copyReference)
Creates a request to copy the specified entity with a different reference.
|
CopyRequest |
createCopyAsRequest(org.xwiki.model.reference.EntityReference reference,
String copyName)
Creates a request to copy the specified entity with a different name.
|
CopyRequest |
createCopyRequest(Collection<org.xwiki.model.reference.EntityReference> sources,
org.xwiki.model.reference.EntityReference destination)
Creates a request to copy the specified source entities to the specified destination entity.
|
CopyRequest |
createCopyRequest(org.xwiki.model.reference.EntityReference source,
org.xwiki.model.reference.EntityReference destination)
Creates a request to copy the specified source entity to the specified destination entity.
|
CreateRequest |
createCreateRequest(Collection<org.xwiki.model.reference.EntityReference> entityReferences)
Creates a request to create the specified entities.
|
EntityRequest |
createDeleteRequest(Collection<org.xwiki.model.reference.EntityReference> entityReferences)
Creates a request to delete the specified entities.
|
MoveRequest |
createMoveRequest(Collection<org.xwiki.model.reference.EntityReference> sources,
org.xwiki.model.reference.EntityReference destination)
Creates a request to move the specified source entities to the specified destination entity (which becomes their
new parent).
|
MoveRequest |
createMoveRequest(org.xwiki.model.reference.EntityReference source,
org.xwiki.model.reference.EntityReference destination)
Creates a request to move the specified source entity to the specified destination entity (which becomes its new
parent).
|
PermanentlyDeleteRequest |
createPermanentlyDeleteRequest(List<Long> deletedDocumentIds)
Creates a request to permanently delete a specified list of deleted documents from the recycle bin.
|
PermanentlyDeleteRequest |
createPermanentlyDeleteRequest(String batchId)
Creates a request to permanently delete a specified batch of deleted documents from the recycle bin.
|
MoveRequest |
createRenameRequest(org.xwiki.model.reference.EntityReference oldReference,
org.xwiki.model.reference.EntityReference newReference)
Creates a request to rename the entity specified by the given old reference.
|
MoveRequest |
createRenameRequest(org.xwiki.model.reference.EntityReference reference,
String newName)
Creates a request to rename the specified entity.
|
ReplaceUserRequest |
createReplaceUserRequest(org.xwiki.model.reference.DocumentReference oldUserReference,
org.xwiki.model.reference.DocumentReference newUserReference)
Creates a request to replace the occurrences of the old user reference with the new user reference.
|
RestoreRequest |
createRestoreRequest(List<Long> deletedDocumentIds)
Creates a request to restore a specified list of deleted documents from the recycle bin.
|
RestoreRequest |
createRestoreRequest(String batchId)
Creates a request to restore a specified batch of deleted documents from the recycle bin.
|
MoveRequest createMoveRequest(Collection<org.xwiki.model.reference.EntityReference> sources, org.xwiki.model.reference.EntityReference destination)
sources - specifies the entities to be moveddestination - specifies the place where to move the entities (their new parent entity)MoveRequest createMoveRequest(org.xwiki.model.reference.EntityReference source, org.xwiki.model.reference.EntityReference destination)
source - specifies the entity to be moveddestination - specifies the place where to move the source entity (its new parent entity)MoveRequest createRenameRequest(org.xwiki.model.reference.EntityReference oldReference, org.xwiki.model.reference.EntityReference newReference)
oldReference - the entity to renamenewReference - the new entity reference after the renameMoveRequest createRenameRequest(org.xwiki.model.reference.EntityReference reference, String newName)
reference - the entity to renamenewName - the new entity nameCopyRequest createCopyRequest(Collection<org.xwiki.model.reference.EntityReference> sources, org.xwiki.model.reference.EntityReference destination)
sources - specifies the entities to be copieddestination - specifies the place where to copy the entities (becomes the parent of the copies)CopyRequest createCopyRequest(org.xwiki.model.reference.EntityReference source, org.xwiki.model.reference.EntityReference destination)
source - specifies the entity to be copieddestination - specifies the place where to copy the source entity (becomes the parent of the copy)CopyRequest createCopyAsRequest(org.xwiki.model.reference.EntityReference sourceReference, org.xwiki.model.reference.EntityReference copyReference)
sourceReference - the entity to copycopyReference - the reference to use for the copyCopyRequest createCopyAsRequest(org.xwiki.model.reference.EntityReference reference, String copyName)
reference - the entity to copycopyName - the name of the entity copyEntityRequest createDeleteRequest(Collection<org.xwiki.model.reference.EntityReference> entityReferences)
entityReferences - the entities to deleteCreateRequest createCreateRequest(Collection<org.xwiki.model.reference.EntityReference> entityReferences)
entityReferences - the entities to createPermanentlyDeleteRequest createPermanentlyDeleteRequest(String batchId)
batchId - the ID of the batch of deleted documents to permanently deletePermanentlyDeleteRequest createPermanentlyDeleteRequest(List<Long> deletedDocumentIds)
deletedDocumentIds - the list of IDs of the deleted documents to permanently deleteRestoreRequest createRestoreRequest(String batchId)
batchId - the ID of the batch of deleted documents to restoreRestoreRequest createRestoreRequest(List<Long> deletedDocumentIds)
deletedDocumentIds - the list of IDs of the deleted documents to restoreReplaceUserRequest createReplaceUserRequest(org.xwiki.model.reference.DocumentReference oldUserReference, org.xwiki.model.reference.DocumentReference newUserReference)
oldUserReference - the old user referencenewUserReference - the new user referenceCopyright © 2004–2021 XWiki. All rights reserved.