public class CopyParameter extends Object implements ICopyParameter
IResource and
ICollection. Defaults: overwrite = false omitProperties = false copyChildren
= true copyInternalLinks = true copyExternalLinks = true copyChildren,
copyInternalLinks and copyExternalLinks are used for deep copy of collections
only.
Copyright (c) SAP AG 2001-2004
| Constructor and Description |
|---|
CopyParameter() |
CopyParameter(boolean overwrite) |
CopyParameter(boolean overwrite,
boolean ignorePropertyFailures) |
CopyParameter(boolean overwrite,
boolean ignorePropertyFailures,
boolean copyChildren) |
CopyParameter(boolean overwrite,
boolean ignorePropertyFailures,
boolean copyChildren,
boolean copyInternalLinks) |
CopyParameter(boolean overwrite,
boolean ignorePropertyFailures,
boolean copyChildren,
boolean copyInternalLinks,
boolean copyExternalLinks) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getCopyChildren()
Gets the value of this parameter.
|
boolean |
getCopyExternalLinks()
Gets the value of this parameter.
|
boolean |
getCopyInternalLinks()
Gets the value of this parameter.
|
ResourceException |
getFirstResourceException()
Get the first resource exception.
|
boolean |
getIgnorePropertyFailures()
Gets the value of this parameter.
|
boolean |
getOverwrite()
Gets the value of this parameter.
|
ResourceErrors |
getResourceErrors() |
void |
setCopyChildren(boolean value)
Copy all subfolders recursively (deep copy of collections only)
|
void |
setCopyExternalLinks(boolean value)
Include/exclude external links (deep copy of collections only)
|
void |
setCopyInternalLinks(boolean value)
Include/exclude internal links (deep copy of collections only)
|
void |
setIgnorePropertyFailures(boolean value)
Create the copy even if some or all properties could not be set on the
destination resource.
|
void |
setOverwrite(boolean value)
Existing destination will be overwritten.
|
void |
setResourceErrors(ResourceErrors errors) |
public CopyParameter()
public CopyParameter(boolean overwrite)
public CopyParameter(boolean overwrite,
boolean ignorePropertyFailures)
public CopyParameter(boolean overwrite,
boolean ignorePropertyFailures,
boolean copyChildren)
public CopyParameter(boolean overwrite,
boolean ignorePropertyFailures,
boolean copyChildren,
boolean copyInternalLinks)
public CopyParameter(boolean overwrite,
boolean ignorePropertyFailures,
boolean copyChildren,
boolean copyInternalLinks,
boolean copyExternalLinks)
public boolean getCopyChildren()
ICopyParametergetCopyChildren in interface ICopyParameterpublic boolean getOverwrite()
ICopyParametergetOverwrite in interface ICopyParameterpublic boolean getIgnorePropertyFailures()
ICopyParametergetIgnorePropertyFailures in interface ICopyParameterpublic boolean getCopyInternalLinks()
ICopyParametergetCopyInternalLinks in interface ICopyParameterpublic boolean getCopyExternalLinks()
ICopyParametergetCopyExternalLinks in interface ICopyParameterpublic ResourceException getFirstResourceException()
ICopyParametergetFirstResourceException in interface ICopyParameterpublic void setOverwrite(boolean value)
ICopyParametersetOverwrite in interface ICopyParameterpublic void setIgnorePropertyFailures(boolean value)
ICopyParametersetIgnorePropertyFailures in interface ICopyParameterpublic void setCopyChildren(boolean value)
ICopyParametersetCopyChildren in interface ICopyParameterpublic void setCopyInternalLinks(boolean value)
ICopyParametersetCopyInternalLinks in interface ICopyParameterpublic void setCopyExternalLinks(boolean value)
ICopyParametersetCopyExternalLinks in interface ICopyParameterpublic ResourceErrors getResourceErrors()
public void setResourceErrors(ResourceErrors errors)
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2021 SAP SE Complete Copyright Notice