Class ProxyPentahoUserRoleHelper
java.lang.Object
org.pentaho.platform.security.userroledao.ws.ProxyPentahoUserRoleHelper
This class contains helper methods for converting from and to proxy user and roles
- Author:
- Will Gorman (wgorman@pentaho.com)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.pentaho.platform.api.engine.security.userroledao.IPentahoRole
syncRoles
(org.pentaho.platform.api.engine.security.userroledao.IPentahoRole role, ProxyPentahoRole proxyRole) Synchronizesrole
with fields fromproxyRole
.static org.pentaho.platform.api.engine.security.userroledao.IPentahoUser
syncUsers
(org.pentaho.platform.api.engine.security.userroledao.IPentahoUser user, ProxyPentahoUser proxyUser) Synchronizesuser
with fields fromproxyUser
.static ProxyPentahoRole
toProxyRole
(org.pentaho.platform.api.engine.security.userroledao.IPentahoRole role) static ProxyPentahoUser
toProxyUser
(org.pentaho.platform.api.engine.security.userroledao.IPentahoUser user)
-
Constructor Details
-
ProxyPentahoUserRoleHelper
public ProxyPentahoUserRoleHelper()
-
-
Method Details
-
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) Synchronizesuser
with fields fromproxyUser
. The roles set of givenuser
is unmodified. -
syncRoles
public static org.pentaho.platform.api.engine.security.userroledao.IPentahoRole syncRoles(org.pentaho.platform.api.engine.security.userroledao.IPentahoRole role, ProxyPentahoRole proxyRole) Synchronizesrole
with fields fromproxyRole
. The users set of givenrole
is unmodified. -
toProxyRole
public static ProxyPentahoRole toProxyRole(org.pentaho.platform.api.engine.security.userroledao.IPentahoRole role)
-