Package com.openkm.sdk4j.impl
Class PluginImpl
java.lang.Object
com.openkm.sdk4j.impl.ClientImpl
com.openkm.sdk4j.impl.PluginImpl
- All Implemented Interfaces:
BasePlugin,Serializable
PluginImpl
- Author:
- sochoa
- See Also:
-
Constructor Summary
Constructors -
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.protected voidsetAuthorizationToken(String authorizationToken) setAuthenticationTokenMethods inherited from class com.openkm.sdk4j.impl.ClientImpl
getClient, getWebTarget, setAuthorizationHeader, setJsessionIdHeader
-
Constructor Details
-
PluginImpl
PluginImpl
-
-
Method Details
-
setAuthorizationToken
setAuthenticationToken -
executePluginPost
public Object executePluginPost(String className, Map<String, String> parameters, Class<?> clazz, InputStream is) throws UnknownException, WebserviceExceptionDescription copied from interface:BasePluginExecute plugin post object.- Specified by:
executePluginPostin interfaceBasePlugin- Parameters:
className- the class nameparameters- the parametersclazz- the clazzis- the is- Returns:
- the object
- Throws:
UnknownException- the unknown exceptionWebserviceException- the webservice exception
-
executePluginPostReturnFile
public InputStream executePluginPostReturnFile(String className, Map<String, String> parameters, InputStream is) throws UnknownException, WebserviceExceptionDescription copied from interface:BasePluginExecute plugin post return file input stream.- Specified by:
executePluginPostReturnFilein interfaceBasePlugin- Parameters:
className- the class nameparameters- the parametersis- the is- Returns:
- the input stream
- Throws:
UnknownException- the unknown exceptionWebserviceException- the webservice exception
-
executePluginGet
public Object executePluginGet(String className, Map<String, String> parameters, Class<?> clazz) throws UnknownException, WebserviceExceptionDescription copied from interface:BasePluginExecute plugin get object.- Specified by:
executePluginGetin interfaceBasePlugin- Parameters:
className- the class nameparameters- the parametersclazz- the clazz- Returns:
- the object
- Throws:
UnknownException- the unknown exceptionWebserviceException- the webservice exception
-
executePluginGetReturnFile
public InputStream executePluginGetReturnFile(String className, Map<String, String> parameters) throws UnknownException, WebserviceExceptionDescription copied from interface:BasePluginExecute plugin get return file input stream.- Specified by:
executePluginGetReturnFilein interfaceBasePlugin- Parameters:
className- the class nameparameters- the parameters- Returns:
- the input stream
- Throws:
UnknownException- the unknown exceptionWebserviceException- the webservice exception
-