Class ProxyPentahoUserRoleHelper
- java.lang.Object
-
- org.pentaho.platform.security.userroledao.ws.ProxyPentahoUserRoleHelper
-
public class ProxyPentahoUserRoleHelper extends Object
This class contains helper methods for converting from and to proxy user and roles- Author:
- Will Gorman (wgorman@pentaho.com)
-
-
Constructor Summary
Constructors Constructor Description ProxyPentahoUserRoleHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.pentaho.platform.api.engine.security.userroledao.IPentahoRolesyncRoles(org.pentaho.platform.api.engine.security.userroledao.IPentahoRole role, ProxyPentahoRole proxyRole)Synchronizesrolewith fields fromproxyRole.static org.pentaho.platform.api.engine.security.userroledao.IPentahoUsersyncUsers(org.pentaho.platform.api.engine.security.userroledao.IPentahoUser user, ProxyPentahoUser proxyUser)Synchronizesuserwith fields fromproxyUser.static ProxyPentahoRoletoProxyRole(org.pentaho.platform.api.engine.security.userroledao.IPentahoRole role)static ProxyPentahoUsertoProxyUser(org.pentaho.platform.api.engine.security.userroledao.IPentahoUser user)
-
-
-
Method Detail
-
toProxyUser
public static ProxyPentahoUser toProxyUser(org.pentaho.platform.api.engine.security.userroledao.IPentahoUser user)
-
syncUsers
public static org.pentaho.platform.api.engine.security.userroledao.IPentahoUser syncUsers(org.pentaho.platform.api.engine.security.userroledao.IPentahoUser user, ProxyPentahoUser proxyUser)Synchronizesuserwith fields fromproxyUser. The roles set of givenuseris unmodified.
-
syncRoles
public static org.pentaho.platform.api.engine.security.userroledao.IPentahoRole syncRoles(org.pentaho.platform.api.engine.security.userroledao.IPentahoRole role, ProxyPentahoRole proxyRole)Synchronizesrolewith fields fromproxyRole. The users set of givenroleis unmodified.
-
toProxyRole
public static ProxyPentahoRole toProxyRole(org.pentaho.platform.api.engine.security.userroledao.IPentahoRole role)
-
-