Hi,
I'm trying to move or delete a resource inside a class which extends
"org.wso2.carbon.governance.registry.extensions.interfaces.Execution"
class. Following is my my code segment which I'm trying to delete a
resource in the given path.
public boolean execute(RequestContext requestContext, String currentState,
String targetState) {
// some more logic
requestContext.getRegistry().delete(resourcePath);
}
Same way, the copy operation works without any issue. But move and
delete doesn't work as expected. Am I missing anything
here. Appreciate your feedback.
Thank You.
Ranga.
--
Ranga Siriwardena
Software Engineer
WSO2 Inc.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev