Package com.day.cq.wcm.api
Class PageManager.CopyOptions
- java.lang.Object
-
- com.day.cq.wcm.api.PageManager.CopyOptions
-
- Enclosing interface:
- PageManager
public static class PageManager.CopyOptions extends java.lang.ObjectOptions object used forPageManager.copy(CopyOptions).
-
-
Field Summary
Fields Modifier and Type Field Description booleanadjustReferencesIftrueadjusts any content references to the new location.booleanautoSaveIftruesaves the modifications.java.lang.StringbeforeNameThe name of the next page.java.lang.StringdestinationThe destinationPagepageThe page to copy (ifresourceis not provided).booleanresolveConflictIftrueresolves name conflict if destination already exists.ResourceresourceThe resource to copybooleanshallowIftruea non-recursive copy is performed.
-
Constructor Summary
Constructors Constructor Description CopyOptions()
-
-
-
Field Detail
-
resource
public Resource resource
The resource to copy
-
destination
public java.lang.String destination
The destination
-
beforeName
public java.lang.String beforeName
The name of the next page. Ifnullthe page is ordered at the end.
-
shallow
public boolean shallow
Iftruea non-recursive copy is performed.
-
resolveConflict
public boolean resolveConflict
Iftrueresolves name conflict if destination already exists.
-
autoSave
public boolean autoSave
Iftruesaves the modifications.
-
adjustReferences
public boolean adjustReferences
Iftrueadjusts any content references to the new location.
-
-