public class AttachmentCreateLinkCommand extends Object
Constructor and Description |
---|
AttachmentCreateLinkCommand() |
Modifier and Type | Method and Description |
---|---|
boolean |
canExecute()
Check if command can be executed
|
boolean |
execute()
Execute the command
|
IResource |
getCreatedLink()
Get the created link by command execution
|
Exception |
getLastException()
Get the last exception that occurred during command execution
|
LinkType |
getLinkType()
Get the link type
|
String |
getNewName()
Get the name of the new resource
|
IPropertyMap |
getProperties()
Get the properties on the new resource
|
IResource |
getResource()
Get the target collection
|
RID |
getTargetRID()
Get the target RID
|
protected boolean |
isAccessibleImpl() |
protected boolean |
isSupportedImpl() |
void |
setCreatedLink(IResource input)
Set the created link resource.
|
void |
setLinkType(LinkType linkType)
Set the link type
|
void |
setNewName(String newName)
Set the name of the new resource
|
void |
setProperties(IPropertyMap properties)
Set properties on the new resource
|
void |
setResource(IResource input)
Set the target collection
|
void |
setTargetRID(RID input)
Set the target RID
|
public void setProperties(IPropertyMap properties)
properties
- public IPropertyMap getProperties()
public String getNewName()
public void setNewName(String newName)
newName
- public RID getTargetRID()
public void setTargetRID(RID input)
input
- public LinkType getLinkType()
public void setLinkType(LinkType linkType)
linkType
- public IResource getResource()
public void setResource(IResource input)
input
- public IResource getCreatedLink()
public void setCreatedLink(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