|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.command.Command
com.sapportals.wcm.command.ResourceCommand
com.sapportals.wcm.command.CreatePropertyCommand
public class CreatePropertyCommand
Helper class to participate from command error handling.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
CreatePropertyCommand()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.sapportals.wcm.command.ResourceCommand |
|---|
executeImpl, getDuplicateName, getResource, isLockedByMeAndSupported, isNotLockedByOtherUser, isNotVersionedOrCheckedOutByMe, isResourceLockedByOther, setResource, validateImpl |
| Methods inherited from class com.sapportals.wcm.command.Command |
|---|
canExecute, canExecuteDefaultImpl, execute, failed, getMessage, getMessageKey, getRootCauseException, isAccessible, isSupported, isSystemError, setMessage, setMessageKey |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CreatePropertyCommand()
| Method Detail |
|---|
public 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 situation
protected boolean isSupportedImpl()
throws WcmException
isSupportedImpl in class CommandWcmException - Exception raised in failure situation
protected boolean canExecuteImpl()
throws WcmException
canExecuteImpl in class CommandWcmException - Exception raised in failure situation
protected void executeResourceImpl()
throws Exception
executeResourceImpl in class ResourceCommandException
protected 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
|
|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||