Difference between revisions of "Java SDK Changelog"
From OpenKM Documentation
Line 1: | Line 1: | ||
== SDK FOR JAVA 2.0 == | == SDK FOR JAVA 2.0 == | ||
− | * Added List<FormElement> getPropertyGroupForm(String grpName) | + | * Added method in PropertyGroup |
− | * Added void createUser(String user, String password, String email, String name, boolean active) | + | <source lang="java"> |
+ | public List<FormElement> getPropertyGroupForm(String grpName) throws IOException, ParseException, NoSuchGroupException, PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException; | ||
+ | </souce> | ||
+ | * Added methods in Auth | ||
+ | <source lang="java"> | ||
+ | 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; | ||
+ | </source> | ||
* Added void deleteUser(String user) method in Auth | * Added void deleteUser(String user) method in Auth | ||
* Added void updateUser(String user, String password, String email, String name, boolean active) method in Auth | * Added void updateUser(String user, String password, String email, String name, boolean active) method in Auth |
Revision as of 16:28, 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;
</souce>
* Added methods in Auth
<source lang="java">
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 void deleteUser(String user) method in Auth
- Added void updateUser(String user, String password, String email, String name, boolean active) method in Auth
- Added void createRole(String role, boolean active) method in Auth
- Added void deleteRole(String role) method in Auth
- Added void updateRole(String role, boolean active) method in Auth
- Added void assignRole(String user, String role) method in Auth
- Added void removeRole(String user, String role) method in Auth
SDK FOR JAVA 1.0
- Removed OKMWebservicesFactory version variable, 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