|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.repository.CopyParameter
public class CopyParameter
Parameter collection for the copy() and move() methods in 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 Summary | |
|---|---|
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)
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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)
| Method Detail |
|---|
public boolean getCopyChildren()
ICopyParameter
getCopyChildren in interface ICopyParameterpublic boolean getOverwrite()
ICopyParameter
getOverwrite in interface ICopyParameterpublic boolean getIgnorePropertyFailures()
ICopyParameter
getIgnorePropertyFailures in interface ICopyParameterpublic boolean getCopyInternalLinks()
ICopyParameter
getCopyInternalLinks in interface ICopyParameterpublic boolean getCopyExternalLinks()
ICopyParameter
getCopyExternalLinks in interface ICopyParameterpublic ResourceException getFirstResourceException()
ICopyParameter
getFirstResourceException in interface ICopyParameterpublic void setOverwrite(boolean value)
ICopyParameter
setOverwrite in interface ICopyParameterpublic void setIgnorePropertyFailures(boolean value)
ICopyParameter
setIgnorePropertyFailures in interface ICopyParameterpublic void setCopyChildren(boolean value)
ICopyParameter
setCopyChildren in interface ICopyParameterpublic void setCopyInternalLinks(boolean value)
ICopyParameter
setCopyInternalLinks in interface ICopyParameterpublic void setCopyExternalLinks(boolean value)
ICopyParameter
setCopyExternalLinks 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
|
|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||