Difference between revisions of "Java SDK Changelog"

From OpenKM Documentation
Jump to: navigation, search
Line 20: Line 20:
  
 
* Changes in class QueryParams
 
* Changes in class QueryParams
 +
Var folder replaces removed var path to indicate folder from where starting searching.
 +
 +
Var recursive indicates if search must be done in folder path and subfolders.
 
<source lang="java">
 
<source lang="java">
  add var folder
+
  add var String folder
  add var recursive
+
  add var boolean recursive
 
  add var String title
 
  add var String title
 
  add var String language
 
  add var String language
  removed var path
+
  '''removed''' var String path
 
</source>
 
</source>
  

Revision as of 23:37, 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;
  • Changes in class Document
add var String title
add var String language
  • Changes in class QueryParams

Var folder replaces removed var path to indicate folder from where starting searching.

Var recursive indicates if search must be done in folder path and subfolders.

 add var String folder
 add var boolean recursive
 add var String title
 add var String language
 '''removed''' var String path

SDK FOR JAVA 1.0

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


SDK FOR JAVA ( deprecated version )

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