Package com.openkm.sdk4j.definition
Interface BasePlugin
- All Known Implementing Classes:
PluginImpl
public interface BasePlugin
BasePlugin
- Author:
- sochoa
-
Method Summary
Modifier and TypeMethodDescriptionExecute plugin get object.executePluginGetReturnFile(String className, Map<String, String> parameters) Execute plugin get return file input stream.executePluginPost(String className, Map<String, String> parameters, Class<?> clazz, InputStream is) Execute plugin post object.executePluginPostReturnFile(String className, Map<String, String> parameters, InputStream is) Execute plugin post return file input stream.
-
Method Details
-
executePluginPost
Object executePluginPost(String className, Map<String, String> parameters, Class<?> clazz, InputStream is) throws UnknownException, WebserviceExceptionExecute plugin post object.- Parameters:
className- the class nameparameters- the parametersclazz- the clazzis- the is- Returns:
- the object
- Throws:
UnknownException- the unknown exceptionWebserviceException- the webservice exception
-
executePluginPostReturnFile
InputStream executePluginPostReturnFile(String className, Map<String, String> parameters, InputStream is) throws UnknownException, WebserviceExceptionExecute plugin post return file input stream.- Parameters:
className- the class nameparameters- the parametersis- the is- Returns:
- the input stream
- Throws:
UnknownException- the unknown exceptionWebserviceException- the webservice exception
-
executePluginGet
Object executePluginGet(String className, Map<String, String> parameters, Class<?> clazz) throws UnknownException, WebserviceExceptionExecute plugin get object.- Parameters:
className- the class nameparameters- the parametersclazz- the clazz- Returns:
- the object
- Throws:
UnknownException- the unknown exceptionWebserviceException- the webservice exception
-
executePluginGetReturnFile
InputStream executePluginGetReturnFile(String className, Map<String, String> parameters) throws UnknownException, WebserviceExceptionExecute plugin get return file input stream.- Parameters:
className- the class nameparameters- the parameters- Returns:
- the input stream
- Throws:
UnknownException- the unknown exceptionWebserviceException- the webservice exception
-