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()
ICopyParameter
getCopyChildren
in interface ICopyParameter
public boolean getOverwrite()
ICopyParameter
getOverwrite
in interface ICopyParameter
public boolean getIgnorePropertyFailures()
ICopyParameter
getIgnorePropertyFailures
in interface ICopyParameter
public boolean getCopyInternalLinks()
ICopyParameter
getCopyInternalLinks
in interface ICopyParameter
public boolean getCopyExternalLinks()
ICopyParameter
getCopyExternalLinks
in interface ICopyParameter
public ResourceException getFirstResourceException()
ICopyParameter
getFirstResourceException
in interface ICopyParameter
public void setOverwrite(boolean value)
ICopyParameter
setOverwrite
in interface ICopyParameter
public void setIgnorePropertyFailures(boolean value)
ICopyParameter
setIgnorePropertyFailures
in interface ICopyParameter
public void setCopyChildren(boolean value)
ICopyParameter
setCopyChildren
in interface ICopyParameter
public void setCopyInternalLinks(boolean value)
ICopyParameter
setCopyInternalLinks
in interface ICopyParameter
public void setCopyExternalLinks(boolean value)
ICopyParameter
setCopyExternalLinks
in interface ICopyParameter
public 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 2018 SAP AG Complete Copyright Notice