|
SAP NetWeaver 7.11 (EhP1 SP02) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IGPModifiableDevelopmentObject
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 |
|---|
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
void setDescription(String description)
throws GPInvocationException
description - the description in the original locale
GPInvocationException - thrown if the description is null
void setInputParameters(IGPStructureInfo structureInfo)
throws GPInvocationException,
GPEngineException
structureInfo, - must not be null
GPInvocationException - thrown if the specified structure is null
GPEngineException - thrown if the input parameters cannot be correctly
updated in the development object
void setOutputParameters(IGPStructureInfo structureInfo)
throws GPInvocationException,
GPEngineException
structureInfo, - must not be null
GPInvocationException - thrown if the specified structure is null
GPEngineException - thrown if the output parameters cannot be correctly
updated in the development object
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
IGPPermission removePermission(IGPPermission permission)
throws GPInvocationException
permission, - must not be null
null if the table did not contain the specified element
GPInvocationException
IGPPermission removePermission(IPrincipal principal,
GPPermissionType permissionType)
throws GPInvocationException
principal - principal who got the permissionpermissionType - the permission type to be removed
InvocationException
GPInvocationException
void addToCategory(String categoryId)
throws GPInvocationException
categoryId - the id of the category
GPInvocationException - thrown if the id is not correct
void removeFromCategory(String categoryId)
throws GPInvocationException
categoryId - the id of the category
GPInvocationException - thrown if the id is not correct
void validate()
throws GPEngineException
GPEngineException - throwns if the development object definition
is invalid.
|
SAP NetWeaver 7.11 (EhP1 SP02) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||