|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.workplace.wcm.api.ReplaceOwnersCopyOption
public class ReplaceOwnersCopyOption
This CopyOption is used to replace the
original owners of the source item being copied.
If this option is used with RecursiveCopyOption, all items
copied will have their owners replaced.
| Constructor Summary | |
|---|---|
ReplaceOwnersCopyOption()
|
|
| Method Summary | |
|---|---|
void |
addOwner(java.lang.String p_owner)
Adds an owner to this object. |
void |
clearOwners()
Removes all owners to this object. |
java.util.List<java.lang.String> |
getOwners()
Returns the owner/s of this item. |
void |
setOwner(java.lang.String p_owner)
Sets owners of this object. |
void |
setOwners(java.util.List<java.lang.String> p_owners)
Sets a list of Strings representing the list of owners to this object The list contains user DNs or CNs, depending on setting in Workspace.useDistinguishedNames(). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReplaceOwnersCopyOption()
| Method Detail |
|---|
public void setOwner(java.lang.String p_owner)
p_owner - owner of this object to be set topublic void setOwners(java.util.List<java.lang.String> p_owners)
p_owners - a list of Strings owners to be set to this objectpublic void addOwner(java.lang.String p_owner)
p_owner - owner of this object to be added to the list of ownerspublic void clearOwners()
public java.util.List<java.lang.String> getOwners()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||