it.eng.spago.event.manager
Class ProfileManager

java.lang.Object
  extended byit.eng.spago.event.manager.ProfileManager
All Implemented Interfaces:
ProfileManagerIFace

public class ProfileManager
extends java.lang.Object
implements ProfileManagerIFace


Constructor Summary
ProfileManager()
           
 
Method Summary
 java.util.ArrayList getAllRoles()
          This method return all roles This method throws an exception if something goes wrong
 java.util.ArrayList getAllRoles(java.lang.String userId)
          This method return all roles associated to user identified bu userId This method throws an exception if something goes wrong
 java.util.ArrayList getAllUsers()
          This method return all users This method throws an exception if something goes wrong
 java.util.ArrayList getAllUsers(java.lang.String roleId)
          This method return all users asoociated to role identified by roleId This method throws an exception if something goes wrong
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProfileManager

public ProfileManager()
Method Detail

getAllRoles

public java.util.ArrayList getAllRoles()
                                throws java.lang.Exception
This method return all roles This method throws an exception if something goes wrong

Specified by:
getAllRoles in interface ProfileManagerIFace
Throws:
<{Exception}> - - if some problems occurs during operation
java.lang.Exception

getAllRoles

public java.util.ArrayList getAllRoles(java.lang.String userId)
                                throws java.lang.Exception
This method return all roles associated to user identified bu userId This method throws an exception if something goes wrong

Specified by:
getAllRoles in interface ProfileManagerIFace
Throws:
<{Exception}> - - if some problems occurs during operation
java.lang.Exception

getAllUsers

public java.util.ArrayList getAllUsers()
                                throws java.lang.Exception
This method return all users This method throws an exception if something goes wrong

Specified by:
getAllUsers in interface ProfileManagerIFace
Throws:
<{Exception}> - - if some problems occurs during operation
java.lang.Exception

getAllUsers

public java.util.ArrayList getAllUsers(java.lang.String roleId)
                                throws java.lang.Exception
This method return all users asoociated to role identified by roleId This method throws an exception if something goes wrong

Specified by:
getAllUsers in interface ProfileManagerIFace
Throws:
<{Exception}> - - if some problems occurs during operation
java.lang.Exception