|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.sapportals.wcm.repository.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()
ICopyParametergetCopyChildren in interface ICopyParametercom.sapportals.wcm.repository.ICopyParameterpublic boolean getOverwrite()
ICopyParametergetOverwrite in interface ICopyParametercom.sapportals.wcm.repository.ICopyParameterpublic boolean getIgnorePropertyFailures()
ICopyParametergetIgnorePropertyFailures in interface ICopyParametercom.sapportals.wcm.repository.ICopyParameterpublic boolean getCopyInternalLinks()
ICopyParametergetCopyInternalLinks in interface ICopyParametercom.sapportals.wcm.repository.ICopyParameterpublic boolean getCopyExternalLinks()
ICopyParametergetCopyExternalLinks in interface ICopyParametercom.sapportals.wcm.repository.ICopyParameterpublic ResourceException getFirstResourceException()
ICopyParametergetFirstResourceException in interface ICopyParametercom.sapportals.wcm.repository.ICopyParameterpublic void setOverwrite(boolean value)
ICopyParametersetOverwrite in interface ICopyParametercom.sapportals.wcm.repository.ICopyParametervalue - public void setIgnorePropertyFailures(boolean value)
ICopyParametersetIgnorePropertyFailures in interface ICopyParametercom.sapportals.wcm.repository.ICopyParametervalue - public void setCopyChildren(boolean value)
ICopyParametersetCopyChildren in interface ICopyParametercom.sapportals.wcm.repository.ICopyParametervalue - public void setCopyInternalLinks(boolean value)
ICopyParametersetCopyInternalLinks in interface ICopyParametercom.sapportals.wcm.repository.ICopyParametervalue - public void setCopyExternalLinks(boolean value)
ICopyParametersetCopyExternalLinks in interface ICopyParametercom.sapportals.wcm.repository.ICopyParametervalue - public ResourceErrors getResourceErrors()
public void setResourceErrors(ResourceErrors errors)
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||