Difference between revisions of "Java SDK Changelog"

From OpenKM Documentation
Jump to: navigation, search
Line 15: Line 15:
 
public void removeRole(String user, String role) throws PrincipalAdapterException, UnknowException, WebserviceException;
 
public void removeRole(String user, String role) throws PrincipalAdapterException, UnknowException, WebserviceException;
 
</source>
 
</source>
* Added methods in Document
+
* '''Added methods in Document'''
 
<source lang="java">
 
<source lang="java">
 
public void setTitle(String docId, String title) throws VersionException, LockException, PathNotFoundException, AccessDeniedException,
 
public void setTitle(String docId, String title) throws VersionException, LockException, PathNotFoundException, AccessDeniedException,

Revision as of 23:44, 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;
  • Added methods in Document
public void setTitle(String docId, String title) throws VersionException, LockException, PathNotFoundException, AccessDeniedException,
		RepositoryException, DatabaseException, UnknowException, WebserviceException;
public void setLanguage(String docId, String lang) throws VersionException, LockException, PathNotFoundException,
		AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException;

public void setDocumentNodeClass(String docId, long ncId) throws VersionException, LockException, PathNotFoundException,
		AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException;
public List<String> getDetectedLanguages() throws RepositoryException, DatabaseException, UnknowException, WebserviceException;
  • Changes in class Document
added instance variable String title
added instance variable String language
  • Changes in class QueryParams

Intance variable folder replaces removed intance variable path to indicate folder from where starting searching.

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

 added instance variable String folder
 added instance variable boolean recursive
 added instance variable String title
 added instance variable String language
 removed instance variable 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