Package com.openkm.sdk4j.definition
Interface BasePlugin
-
- All Known Implementing Classes:
PluginImpl
public interface BasePluginBasePlugin- Author:
- sochoa
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectexecutePluginGet(String className, Map<String,String> parameters, Class<?> clazz)Execute plugin get object.InputStreamexecutePluginGetReturnFile(String className, Map<String,String> parameters)Execute plugin get return file input stream.ObjectexecutePluginPost(String className, Map<String,String> parameters, Class<?> clazz, InputStream is)Execute plugin post object.InputStreamexecutePluginPostReturnFile(String className, Map<String,String> parameters, InputStream is)Execute plugin post return file input stream.
-
-
-
Method Detail
-
executePluginPost
Object executePluginPost(String className, Map<String,String> parameters, Class<?> clazz, InputStream is) throws UnknownException, WebserviceException
Execute 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, WebserviceException
Execute 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, WebserviceException
Execute 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, WebserviceException
Execute 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
-
-