Package com.day.cq.wcm.api
Class PageManager.CopyOptions
java.lang.Object
com.day.cq.wcm.api.PageManager.CopyOptions
- Enclosing interface:
PageManager
Options object used for
PageManager.copy(CopyOptions).-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanIftrueadjusts any content references to the new location.booleanIftruesaves the modifications.The name of the next page.The destinationbooleanIftruethe current resource needs to be overridden (mainly because it has a resourceType outofscope)The page to copy (ifresourceis not provided).booleanIftrueresolves name conflict if destination already exists.The resource to copybooleanIftruea non-recursive copy is performed. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
page
The page to copy (ifresourceis not provided). -
resource
The resource to copy -
destination
The destination -
beforeName
The name of the next page. Ifnullthe page is ordered at the end. -
shallow
public boolean shallowIftruea non-recursive copy is performed. -
resolveConflict
public boolean resolveConflictIftrueresolves name conflict if destination already exists. -
autoSave
public boolean autoSaveIftruesaves the modifications. -
adjustReferences
public boolean adjustReferencesIftrueadjusts any content references to the new location. -
overridePage
public boolean overridePageIftruethe current resource needs to be overridden (mainly because it has a resourceType outofscope)
-
-
Constructor Details
-
CopyOptions
public CopyOptions()
-