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.Object
Options object used forPageManager.copy(CopyOptions)
.
-
-
Field Summary
Fields Modifier and Type Field Description boolean
adjustReferences
Iftrue
adjusts any content references to the new location.boolean
autoSave
Iftrue
saves the modifications.java.lang.String
beforeName
The name of the next page.java.lang.String
destination
The destinationPage
page
The page to copy (ifresource
is not provided).boolean
resolveConflict
Iftrue
resolves name conflict if destination already exists.Resource
resource
The resource to copyboolean
shallow
Iftrue
a 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. Ifnull
the page is ordered at the end.
-
shallow
public boolean shallow
Iftrue
a non-recursive copy is performed.
-
resolveConflict
public boolean resolveConflict
Iftrue
resolves name conflict if destination already exists.
-
autoSave
public boolean autoSave
Iftrue
saves the modifications.
-
adjustReferences
public boolean adjustReferences
Iftrue
adjusts any content references to the new location.
-
-