public interface CopyMoveCommandBuilder extends CommandBuilder
Modifier and Type | Method and Description |
---|---|
CopyMoveCommandPathArgumentBuilder |
createPathArgumentBuilder() |
CopyMoveCommandBuilder |
withAssetReferenceResolver(AssetReferenceResolver assetRefResolver)
sets the reference resolver to access references
|
CopyMoveCommandBuilder |
withBeforeName(java.lang.String beforeName)
sets name of the next resource
|
CopyMoveCommandBuilder |
withCheckIntegrity(boolean integrity)
sets whether to do to integrity checking while performing the command
|
CopyMoveCommandBuilder |
withCopy(boolean copy)
sets if the command is copy command or move command
|
CopyMoveCommandBuilder |
withPathArgument(CopyMoveCommandPathArgument pathArgument)
append a path argument
|
CopyMoveCommandBuilder |
withResourceResolver(ResourceResolver resourceResolver)
initializes the
ResourceResolver for the command builder |
CopyMoveCommandBuilder |
withRetrieveAllRefs(boolean retrieveAll)
sets whether to fetch references while performing the command
|
CopyMoveCommandBuilder |
withShallow(boolean shallow)
sets whether to perform a shallow operation (this is currently only supported for pages)
|
build
CopyMoveCommandBuilder withResourceResolver(ResourceResolver resourceResolver)
ResourceResolver
for the command builderresourceResolver
- the resource resolver for the command builderCopyMoveCommandBuilder
CopyMoveCommandBuilder withAssetReferenceResolver(AssetReferenceResolver assetRefResolver)
assetRefResolver
- the AssetReferenceResolver
to get referencesCopyMoveCommandBuilder
CopyMoveCommandBuilder withCopy(boolean copy)
copy
- true if copy command, false if move commandCopyMoveCommandBuilder
CopyMoveCommandBuilder withBeforeName(java.lang.String beforeName)
beforeName
- the name of the next resource. if null the resource is ordered at the end.CopyMoveCommandBuilder
CopyMoveCommandBuilder withShallow(boolean shallow)
shallow
- if true only the resource content is moved.CopyMoveCommandBuilder
CopyMoveCommandBuilder withCheckIntegrity(boolean integrity)
integrity
- if true it is checked if the pages on the src paths can
be moved to the destinations without conflicting the
integrity. the integrity is conflicted if
CopyMoveCommandBuilder
CopyMoveCommandBuilder withRetrieveAllRefs(boolean retrieveAll)
retrieveAll
- if true, fetch references on server ideally when the number of items is very large.CopyMoveCommandBuilder
CopyMoveCommandPathArgumentBuilder createPathArgumentBuilder()
CopyMoveCommandBuilder withPathArgument(CopyMoveCommandPathArgument pathArgument)
pathArgument
- the path argument instanceCopyMoveCommandBuilder
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"