Difference between revisions of "Java SDK Changelog"

From OpenKM Documentation
Jump to: navigation, search
Line 1: Line 1:
 
== SDK FOR JAVA 2.0 ==
 
== SDK FOR JAVA 2.0 ==
* Added method in PropertyGroup
+
* '''Added method in PropertyGroup'''
 
<source lang="java">
 
<source lang="java">
 
public List<FormElement> getPropertyGroupForm(String grpName) throws IOException, ParseException, NoSuchGroupException, PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException;
 
public List<FormElement> getPropertyGroupForm(String grpName) throws IOException, ParseException, NoSuchGroupException, PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException;
</souce>
+
</source>
* Added methods in Auth
+
* '''Added methods in Auth'''
 
<source lang="java">
 
<source lang="java">
 
public void createUser(String user, String password, String email, String name, boolean active) throws PrincipalAdapterException, UnknowException, WebserviceException;
 
public void createUser(String user, String password, String email, String name, boolean active) throws PrincipalAdapterException, UnknowException, WebserviceException;
Line 17: Line 17:
  
 
== SDK FOR JAVA 1.0 ==
 
== SDK FOR JAVA 1.0 ==
* Removed OKMWebservicesFactory version variable, now webservice creation is:
+
* '''Removed OKMWebservicesFactory static version variables''', now webservice creation is:
 
<source lang="java">
 
<source lang="java">
 
OKMWebservices ws= OKMWebservicesFactory.newInstance(host, user, password);
 
OKMWebservices ws= OKMWebservicesFactory.newInstance(host, user, password);
Line 23: Line 23:
  
 
== SDK FOR JAVA ==
 
== SDK FOR JAVA ==
Supported versions
+
'''Supported versions'''
 
* OpenKM Professional 6.4.9+
 
* OpenKM Professional 6.4.9+
 
* OpenKM Professional 6.4.5+
 
* OpenKM Professional 6.4.5+

Revision as of 16:29, 28 May 2014

SDK FOR JAVA 2.0

  • Added method in PropertyGroup
public List<FormElement> getPropertyGroupForm(String grpName) throws IOException, ParseException, NoSuchGroupException, PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException;
  • Added methods in Auth
public void createUser(String user, String password, String email, String name, boolean active) throws PrincipalAdapterException, UnknowException, WebserviceException;
public void deleteUser(String user) throws PrincipalAdapterException, UnknowException, WebserviceException;
public void updateUser(String user, String password, String email, String name, boolean active) throws PrincipalAdapterException,UnknowException, WebserviceException;
public void createRole(String role, boolean active) throws PrincipalAdapterException, UnknowException, WebserviceException;
public void deleteRole(String role) throws PrincipalAdapterException, UnknowException, WebserviceException;
public void updateRole(String role, boolean active) throws PrincipalAdapterException, UnknowException, WebserviceException;
public void assignRole(String user, String role) throws PrincipalAdapterException, UnknowException, WebserviceException;
public void removeRole(String user, String role) throws PrincipalAdapterException, UnknowException, WebserviceException;

SDK FOR JAVA 1.0

  • Removed OKMWebservicesFactory static version variables, now webservice creation is:
OKMWebservices ws= OKMWebservicesFactory.newInstance(host, user, password);

SDK FOR JAVA

Supported versions

  • OpenKM Professional 6.4.9+
  • OpenKM Professional 6.4.5+
  • OpenKM Professional 6.2.27+
  • OpenKM Professional 6.2.23+
  • OpenKM Community 6.3