|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The modifiable development object provides write access to the properties of a development object. This class allows change in input and output parameters as well as in the permission and category assignment.
| Method Summary | |
void |
addPermission(IPrincipal principal,
GPPermissionType permissionType)
Adds a permission to the Development Object. |
void |
addToCategory(String categoryId)
Assigns the development object to a category |
void |
removeFromCategory(String categoryId)
Removes category assignment of the development object. |
IGPPermission |
removePermission(IGPPermission permission)
Removes a permission from the Development Object. |
IGPPermission |
removePermission(IPrincipal principal,
GPPermissionType permissionType)
Removes a permission from the Development Object. |
void |
setDescription(String description)
Sets the description in original locale of the development object. |
void |
setInputParameters(IGPStructureInfo structureInfo)
Sets the input parameter type definition in the development object. |
void |
setOutputParameters(IGPStructureInfo structureInfo)
Sets the output parameter type definition in the development object. |
void |
setTitle(String title)
Sets the title in the orginal locale of the development object. |
void |
validate()
Validates the current status of the development object. |
| Methods inherited from interface com.sap.caf.eu.gp.base.api.IGPDevelopmentObject |
getCategories, getDescription, getID, getInputParameters, getMetadata, getOriginalLocale, getOutputParameters, getPermissions, getStatus, getTitle, getType, getVersionNumber, resolveDescription, resolveTitle |
| Method Detail |
public void setTitle(String title)
throws GPInvocationException
title - the title in the original locale of the development object
GPInvocationException - thrown if the specified title is null
public void setDescription(String description)
throws GPInvocationException
description - the description in the original locale
GPInvocationException - thrown if the description is null
public void setInputParameters(IGPStructureInfo structureInfo)
throws GPInvocationException,
GPEngineException
GPInvocationException - thrown if the specified structure is null
GPEngineException - thrown if the input parameters cannot be correctly
updated in the development object
public void setOutputParameters(IGPStructureInfo structureInfo)
throws GPInvocationException,
GPEngineException
GPInvocationException - thrown if the specified structure is null
GPEngineException - thrown if the output parameters cannot be correctly
updated in the development object
public void addPermission(IPrincipal principal,
GPPermissionType permissionType)
throws GPInvocationException
principal - principal who gets the permissionpermissionType - the pemission type to be granted
InvocationException - thrown is invalid principal or permission type are passed
GPInvocationException
public IGPPermission removePermission(IGPPermission permission)
throws GPInvocationException
null if the table did not contain the specified element
GPInvocationException
public IGPPermission removePermission(IPrincipal principal,
GPPermissionType permissionType)
throws GPInvocationException
principal - principal who got the permissionpermissionType - the permission type to be removed
InvocationException
GPInvocationException
public void addToCategory(String categoryId)
throws GPInvocationException
categoryId - the id of the category
GPInvocationException - thrown if the id is not correct
public void removeFromCategory(String categoryId)
throws GPInvocationException
categoryId - the id of the category
GPInvocationException - thrown if the id is not correct
public void validate()
throws GPEngineException
GPEngineException - throwns if the development object definition
is invalid.
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||