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