public class ProxyPentahoUserRoleHelper extends Object
Constructor and Description |
---|
ProxyPentahoUserRoleHelper() |
Modifier and Type | Method and Description |
---|---|
static org.pentaho.platform.api.engine.security.userroledao.IPentahoRole |
syncRoles(org.pentaho.platform.api.engine.security.userroledao.IPentahoRole role,
ProxyPentahoRole proxyRole)
Synchronizes
role with fields from proxyRole . |
static org.pentaho.platform.api.engine.security.userroledao.IPentahoUser |
syncUsers(org.pentaho.platform.api.engine.security.userroledao.IPentahoUser user,
ProxyPentahoUser proxyUser)
Synchronizes
user with fields from proxyUser . |
static ProxyPentahoRole |
toProxyRole(org.pentaho.platform.api.engine.security.userroledao.IPentahoRole role) |
static ProxyPentahoUser |
toProxyUser(org.pentaho.platform.api.engine.security.userroledao.IPentahoUser user) |
public static ProxyPentahoUser toProxyUser(org.pentaho.platform.api.engine.security.userroledao.IPentahoUser user)
public static org.pentaho.platform.api.engine.security.userroledao.IPentahoUser syncUsers(org.pentaho.platform.api.engine.security.userroledao.IPentahoUser user, ProxyPentahoUser proxyUser)
user
with fields from proxyUser
. The roles set of given
user
is unmodified.public static org.pentaho.platform.api.engine.security.userroledao.IPentahoRole syncRoles(org.pentaho.platform.api.engine.security.userroledao.IPentahoRole role, ProxyPentahoRole proxyRole)
role
with fields from proxyRole
. The users set of given
role
is unmodified.public static ProxyPentahoRole toProxyRole(org.pentaho.platform.api.engine.security.userroledao.IPentahoRole role)