|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Business interface of Security EJB: list of services for cinecolombia module (Session Stateful EJB)
| Method Summary | |
java.util.ArrayList |
getUserProfile(java.lang.String userName,
java.lang.String companyNumber)
Loads user profile: global data and security user actions |
java.util.Hashtable |
getUsersRoles()
Loads users and associated roles of the system |
void |
inactivateUser(long idUsuario)
set user to inactive state |
ParametrosGlobalesModel |
loadCompany()
Get global parameters of current company |
Profile |
loadProfile(long idProfile)
Get complete data of a profile |
java.util.ArrayList |
loadSystemProfiles()
Get list of system profiles ordered by nombre_perfil |
User |
loadUser(long idUsuario)
Get data of selected user |
java.util.ArrayList |
loadUserModulosConPermisos(long idUsuario)
Get list of system modules and the permissions per each user. |
java.util.ArrayList |
loadUserProfiles(long idUsuario)
Get list of user profiles (for a specific user) ordered by nombre_perfil |
java.util.ArrayList |
loadUsers()
Get list of active users ordered by codigoUsuario |
void |
removeProfile(long idProfile)
Remove complete data of a profile |
void |
revokePermisosUsuario(long idUsuario,
long[] codigosRevocados)
Get list of system modules and the permissions per each user. |
void |
setState(java.lang.String companyId,
java.lang.Long userId)
Set state of EJB |
void |
storePermisosUsuario(long idUsuario,
AccionPermisoEspecial accionesPermisoEspecial)
Get list of system modules and the permissions per each user. |
void |
storeProfile(long idProfile,
java.lang.String profileName,
long[] allowedActions)
Set complete data of a profile |
void |
storeUser(User user,
long[] userProfilesCodes)
Store user |
void |
updateCompany(ParametrosGlobalesValue value)
Set global parameters of current company |
void |
updatePassword(java.lang.String newPassword)
Update the password of the user |
| Methods inherited from interface javax.ejb.EJBObject |
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
| Method Detail |
public java.util.ArrayList getUserProfile(java.lang.String userName,
java.lang.String companyNumber)
throws java.rmi.RemoteException,
DAOException
userName - Description of the ParametercompanyNumber - Description of the Parameter
DAOException
java.rmi.RemoteException - Description of the Exception
public java.util.Hashtable getUsersRoles()
throws java.rmi.RemoteException,
DAOException
DAOException
java.rmi.RemoteException - Description of the Exception
public void setState(java.lang.String companyId,
java.lang.Long userId)
throws java.rmi.RemoteException,
DAOException
companyId - userId -
DAOException
java.rmi.RemoteException - Description of the Exception
public java.util.ArrayList loadUsers()
throws java.rmi.RemoteException,
DAOException
DAOException
java.rmi.RemoteException - Description of the Exception
public java.util.ArrayList loadSystemProfiles()
throws java.rmi.RemoteException,
DAOException
DAOException
java.rmi.RemoteException - Description of the Exception
public User loadUser(long idUsuario)
throws java.rmi.RemoteException,
DAOException
idUsuario - Description of the Parameter
DAOException
java.rmi.RemoteException - Description of the Exception
public java.util.ArrayList loadUserProfiles(long idUsuario)
throws java.rmi.RemoteException,
DAOException
idUsuario - Description of the Parameter
DAOException
java.rmi.RemoteException - Description of the Exception
public void storeUser(User user,
long[] userProfilesCodes)
throws java.rmi.RemoteException,
DAOException
user - data of the useruserProfilesCodes - profiles of the user
DAOException
java.rmi.RemoteException - Description of the Exception
public void inactivateUser(long idUsuario)
throws java.rmi.RemoteException,
DAOException
idUsuario - identifier of the user
DAOException
java.rmi.RemoteException - Description of the Exception
public void updatePassword(java.lang.String newPassword)
throws java.rmi.RemoteException,
DAOException
newPassword - new password of the user
DAOException
java.rmi.RemoteException - Description of the Exception
public Profile loadProfile(long idProfile)
throws java.rmi.RemoteException,
DAOException
idProfile - Code of Profile
DAOException
java.rmi.RemoteException - Description of the Exception
public void storeProfile(long idProfile,
java.lang.String profileName,
long[] allowedActions)
throws java.rmi.RemoteException,
DAOException
idProfile - Code of ProfileprofileName - Name of PerfilallowedActions - List of actions allowed
DAOException
java.rmi.RemoteException - Description of the Exception
public void removeProfile(long idProfile)
throws java.rmi.RemoteException,
DAOException
idProfile - Code of Profile
DAOException
java.rmi.RemoteException - Description of the Exception
public ParametrosGlobalesModel loadCompany()
throws java.rmi.RemoteException,
DAOException
DAOException
java.rmi.RemoteException - Description of the Exception
public void updateCompany(ParametrosGlobalesValue value)
throws java.rmi.RemoteException,
DAOException
value - ParametrosGlobalesValue Object.
DAOException
java.rmi.RemoteException - Description of the Exception
public java.util.ArrayList loadUserModulosConPermisos(long idUsuario)
throws java.rmi.RemoteException,
DAOException
idUsuario - Description of the Parameter
DAOException
java.rmi.RemoteException - Description of the Exception
public void revokePermisosUsuario(long idUsuario,
long[] codigosRevocados)
throws java.rmi.RemoteException,
DAOException
idUsuario - Description of the ParametercodigosRevocados - Description of the Parameter
DAOException
java.rmi.RemoteException - Description of the Exception
public void storePermisosUsuario(long idUsuario,
AccionPermisoEspecial accionesPermisoEspecial)
throws java.rmi.RemoteException,
DAOException
idUsuario - Description of the ParameteraccionesPermisoEspecial - Description of the Parameter
DAOException
java.rmi.RemoteException - Description of the Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||