public class AttachmentCopyResourceCommand extends Object
Constructor and Description |
---|
AttachmentCopyResourceCommand() |
Modifier and Type | Method and Description |
---|---|
boolean |
canExecute()
Check if command can be executed
|
boolean |
execute()
Execute the command
|
protected void |
executeResourceImpl() |
boolean |
getIgnorePropertyFailures()
Get whether property failures will be ignored
|
Exception |
getLastException()
Get the last exception that occurred during command execution
|
String |
getNewName()
Get the new name
|
IProperty |
getNewNameProperty()
Get the new name property
|
IResource |
getNewResource() |
IResource |
getResource()
Get the resource to be copied
|
RID |
getTarget()
Get target RID
|
ICollection |
getTargetCollection()
Get the target collection
|
protected boolean |
isAccessibleImpl() |
protected boolean |
isSupportedImpl() |
void |
setIgnorePropertyFailures(boolean enable)
Set whether to ignore property failures
|
void |
setNewName(String newName)
Set the new name
|
void |
setNewNameProperty(IProperty newName)
Set the new name property
|
void |
setResource(IResource input)
Sets the resource to be copied
|
void |
setTarget(RID target)
Set target RID
|
void |
setTargetCollection(ICollection input)
Set the target collection
|
public IProperty getNewNameProperty()
public void setNewNameProperty(IProperty newName)
newName
- public String getNewName()
public void setNewName(String newName)
newName
- public void setIgnorePropertyFailures(boolean enable)
enable
- public boolean getIgnorePropertyFailures()
public ICollection getTargetCollection()
public void setTargetCollection(ICollection input)
input
- public RID getTarget()
public void setTarget(RID target)
target
- public IResource getNewResource()
public IResource getResource()
public void setResource(IResource input)
input
- public Exception getLastException()
public boolean execute()
public boolean canExecute() throws WcmException
WcmException
protected boolean isAccessibleImpl() throws WcmException
WcmException
protected boolean isSupportedImpl()
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