org.infoglue.cms.webservices
Class RemoteUserServiceImpl

java.lang.Object
  extended by org.infoglue.cms.webservices.RemoteInfoGlueService
      extended by org.infoglue.cms.webservices.RemoteUserServiceImpl

public class RemoteUserServiceImpl
extends RemoteInfoGlueService

This class is responsible for letting an external application call InfoGlue API:s remotely. It handles api:s to manage user properties.

Author:
Mattias Bogeblad

Constructor Summary
RemoteUserServiceImpl()
           
 
Method Summary
 java.lang.Boolean createUser(java.lang.String principalName, java.lang.String firstName, java.lang.String lastName, java.lang.String email, java.lang.String userName, java.lang.String password, java.util.List roleNames, java.util.List groupNames)
          Registers a new system user.
 java.lang.Boolean deleteUser(java.lang.String principalName, SystemUserVO systemUserVO)
          Deletes a system user.
 java.util.List<InfoGlueGroupBean> getGroups()
          Gets all roles available.
 InfoGluePrincipalBean getPrincipal(java.lang.String userName)
          Gets a principal.
 java.util.List<InfoGluePrincipalBean> getPrincipals()
          Gets all roles available.
 java.util.List<InfoGluePrincipalBean> getPrincipalsWithGroup(java.lang.String groupName)
          Gets all roles available.
 java.util.List<InfoGluePrincipalBean> getPrincipalsWithRole(java.lang.String roleName)
          Gets all roles available.
 java.util.List<InfoGlueRoleBean> getRoles()
          Gets all roles available.
 java.lang.Boolean updateUser(java.lang.String principalName, SystemUserVO systemUserVO, java.lang.String[] roleNames, java.lang.String[] groupNames)
          Updates a system user.
 
Methods inherited from class org.infoglue.cms.webservices.RemoteInfoGlueService
beginTransaction, beginTransaction, cleanAttributeValue, closeDatabase, commitTransaction, getRequest, rollbackTransaction, updateCaches
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteUserServiceImpl

public RemoteUserServiceImpl()
Method Detail

createUser

public java.lang.Boolean createUser(java.lang.String principalName,
                                    java.lang.String firstName,
                                    java.lang.String lastName,
                                    java.lang.String email,
                                    java.lang.String userName,
                                    java.lang.String password,
                                    java.util.List roleNames,
                                    java.util.List groupNames)
Registers a new system user.


updateUser

public java.lang.Boolean updateUser(java.lang.String principalName,
                                    SystemUserVO systemUserVO,
                                    java.lang.String[] roleNames,
                                    java.lang.String[] groupNames)
Updates a system user.


deleteUser

public java.lang.Boolean deleteUser(java.lang.String principalName,
                                    SystemUserVO systemUserVO)
Deletes a system user.


getRoles

public java.util.List<InfoGlueRoleBean> getRoles()
Gets all roles available.


getGroups

public java.util.List<InfoGlueGroupBean> getGroups()
Gets all roles available.


getPrincipal

public InfoGluePrincipalBean getPrincipal(java.lang.String userName)
Gets a principal.


getPrincipals

public java.util.List<InfoGluePrincipalBean> getPrincipals()
Gets all roles available.


getPrincipalsWithRole

public java.util.List<InfoGluePrincipalBean> getPrincipalsWithRole(java.lang.String roleName)
Gets all roles available.


getPrincipalsWithGroup

public java.util.List<InfoGluePrincipalBean> getPrincipalsWithGroup(java.lang.String groupName)
Gets all roles available.



Copyright © 2005 InfoGlue.org All Rights Reserved.