public class CopyReference
extends java.lang.Object
Constructor and Description |
---|
CopyReference() |
Modifier and Type | Method and Description |
---|---|
void |
copyContents()
Copies the contents from the Source object to the Target
|
java.lang.String |
getName()
Name of Content item (for display to user during copying if desired)
|
java.lang.Long |
getSource()
Source id
|
java.lang.String |
getSourceFilename()
Deprecated.
since 23.2. Use
copyContents() instead |
java.lang.Long |
getTarget()
Target id
|
java.lang.String |
getTargetFilename()
Deprecated.
since 23.2. Use
copyContents() instead |
void |
setName(java.lang.String name) |
void |
setSource(java.lang.Long value) |
void |
setSourceFilename(java.lang.String name)
Deprecated.
since 23.2
|
void |
setTarget(java.lang.Long value) |
void |
setTargetFilename(java.lang.String name)
Deprecated.
since 23.2
|
public java.lang.Long getSource()
public java.lang.Long getTarget()
@Deprecated public java.lang.String getSourceFilename()
copyContents()
instead@Deprecated public java.lang.String getTargetFilename()
copyContents()
insteadpublic void copyContents() throws AppianStorageException
AppianStorageException
- if the copy failspublic java.lang.String getName()
public void setSource(java.lang.Long value)
Source
- idpublic void setTarget(java.lang.Long value)
Target
- id@Deprecated public void setSourceFilename(java.lang.String name)
Source
- filename reference (name on disk)@Deprecated public void setTargetFilename(java.lang.String name)
Target
- filename reference (name on disk)public void setName(java.lang.String name)
name
- of file being copiedCopyright © 2003-2024 Appian Corporation. All Rights Reserved.