public class CreatePropertyCommand extends ResourceCommand
MSG_ACCESSDENIED, MSG_AUTHORIZATIONFAILED, MSG_AUTHORIZATIONREQUIRED, MSG_CHILDRESOURCELOCKED, MSG_DATEVALIDATIONERROR, MSG_DOUBLENAMEVALIDATIONERROR, MSG_INVALID_CHANGED_TARGET, MSG_INVALID_TARGET, MSG_INVALIDNAME, MSG_INVALIDRECIPIENT, MSG_IOERROR, MSG_IPN, MSG_IPN_2, MSG_NAMEALREADYEXISTS, MSG_NAMETOOLONG, MSG_NOACCESSFORRESOURCE, MSG_NORECIPIENTGIVEN, MSG_OPERATIONNOTSUPPORTED, MSG_PARENTFOLDERLOCKED, MSG_RESOURCECHECKEDOUT, MSG_RESOURCELOCKED, MSG_RESOURCENOTCHECKEDOUT, MSG_RESOURCEREADONLY, MSG_SYSTEMERROR, MSG_UNKNOWNERROR, MSG_VALIDATIONERROR| Constructor and Description |
|---|
CreatePropertyCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canExecuteImpl()
Get the ExecuteImpl attribute of the CreatePropertyCommand object.
|
protected void |
executeResourceImpl()
Re-Implementation of resource command execute method.
|
String |
getName()
Get the Name attribute of the CreatePropertyCommand object.
|
String |
getNamespace()
Get the Namespace attribute of the CreatePropertyCommand object.
|
IProperty |
getProperty()
Get the Property attribute of the CreatePropertyCommand object.
|
IPropertyDef |
getPropertyDef()
Get the Property attribute of the CreatePropertyCommand object.
|
IResourceContext |
getResourceContext()
Get the resourceContext attribute of the CreatePropertyCommand object.
|
String |
getValue()
Get the Value attribute of the CreatePropertyCommand object.
|
List |
getValues()
Get the Values attribute of the CreatePropertyCommand object.
|
protected boolean |
isAccessibleImpl()
Get the AccessibleImpl attribute of the CreatePropertyCommand object.
|
protected boolean |
isSupportedImpl()
Get the SupportedImpl attribute of the CreatePropertyCommand object.
|
void |
setName(String name)
Set the Name attribute of the CreatePropertyCommand object.
|
void |
setNamespace(String namespace)
Set the Namespace attribute of the CreatePropertyCommand object.
|
void |
setPropertyDef(IPropertyDef propertyDef)
Set the Values attribute of the CreatePropertyCommand object.
|
void |
setResourceContext(IResourceContext resourceContext)
Set the resourceContext attribute of the CreatePropertyCommand object.
|
void |
setValue(String value)
Set the Value attribute of the CreatePropertyCommand object.
|
void |
setValues(List values)
Set the Values attribute of the CreatePropertyCommand object.
|
protected void |
validateResourceImpl()
Re-Implementation of resource command validate method.
|
executeImpl, getDuplicateName, getResource, isLockedByMeAndSupported, isNotLockedByOtherUser, isNotVersionedOrCheckedOutByMe, isResourceLockedByOther, setResource, validateImplcanExecute, canExecuteDefaultImpl, execute, failed, getMessage, getMessageKey, getRootCauseException, isAccessible, isSupported, isSystemError, setMessage, setMessageKeypublic void setResourceContext(IResourceContext resourceContext)
public IResourceContext getResourceContext()
public void setNamespace(String namespace)
namespace - The new Namespace valuepublic void setName(String name)
name - The new Name valuepublic void setValue(String value)
value - The new Value valuepublic void setValues(List values)
values - The new values valuepublic void setPropertyDef(IPropertyDef propertyDef)
propertyDef - The new propertyDef valuepublic String getNamespace()
public String getName()
public String getValue()
public IProperty getProperty()
public List getValues()
public IPropertyDef getPropertyDef()
protected boolean isAccessibleImpl()
throws WcmException
isAccessibleImpl in class CommandWcmException - Exception raised in failure situationprotected boolean isSupportedImpl()
throws WcmException
isSupportedImpl in class CommandWcmException - Exception raised in failure situationprotected boolean canExecuteImpl()
throws WcmException
canExecuteImpl in class CommandWcmException - Exception raised in failure situationprotected void executeResourceImpl()
throws Exception
executeResourceImpl in class ResourceCommandExceptionprotected void validateResourceImpl()
throws ValidationException
validateResourceImpl in class ResourceCommandValidationException - Only this kind of exceptions are allowed| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com]
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2021 SAP SE Complete Copyright Notice