public class CopySource
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
COPY_CREATED
Copy the created timestamp; otherwise, the current timestamp will be used.
|
static int |
COPY_CREATOR
Copy the creator username; otherwise, the current user will be used.
|
static int |
COPY_DEFAULT
This is the default copy rule if none specified in constructor.
|
static int |
COPY_EXCLUDE
Exclude source and its children from copy.
|
static int |
COPY_EXCLUDE_VERSIONS
Exclude versions of Content items, rather than copying them as well.
|
static int |
COPY_INACTIVE
Copy inactive items as well as active items; otherwise, only active items
will be copied.
|
static int |
COPY_INCLUDE_INTO
Copy source into target, as its child or children.
|
static int |
COPY_INCLUDE_ONTO
Copy source onto target, such that source's children are copied to target,
but not source itself.
|
static int |
COPY_SECURITY
Copy custom security rolemaps where present, otherwise always inherit.
|
Constructor and Description |
---|
CopySource()
Blank CopySource with default rule; the source must still be set.
|
CopySource(java.lang.Long source)
CopySource with given source and default rule.
|
CopySource(java.lang.Long source,
int rule)
CopySource with given source and rule.
|
CopySource(java.lang.Long source,
java.lang.Integer rule)
CopySource with given source and rule.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getRule()
Copy rule.
|
java.lang.Long |
getSource()
Source id to copy.
|
void |
setRule(int value) |
void |
setRule(java.lang.Integer value) |
void |
setSource(java.lang.Long value) |
public static final int COPY_INCLUDE_INTO
public static final int COPY_INCLUDE_ONTO
public static final int COPY_EXCLUDE
public static final int COPY_SECURITY
public static final int COPY_EXCLUDE_VERSIONS
public static final int COPY_CREATOR
public static final int COPY_CREATED
public static final int COPY_INACTIVE
public static final int COPY_DEFAULT
public CopySource()
public CopySource(java.lang.Long source)
public CopySource(java.lang.Long source, java.lang.Integer rule)
public CopySource(java.lang.Long source, int rule)
public java.lang.Long getSource()
public java.lang.Integer getRule()
public void setSource(java.lang.Long value)
Source
- id to copy.public void setRule(java.lang.Integer value)
Copy
- rule. See COPY_ constants.public void setRule(int value)
Copy
- rule. See COPY_ constants.Copyright © 2003-2024 Appian Corporation. All Rights Reserved.