|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@StableMinor(version="6.1", sinceVersion="4.0") public interface IUserManager
Class interface responsible for managing operations on the portal users.
Method Summary | |
---|---|
java.lang.String |
add(SessionConfig sessionConfig,
UserConfig userConfig,
ITransaction transaction)
Adds a user to the portal and returns the identifier of the user added. |
void |
addAlternativeLogin(SessionConfig sessionConfig,
java.lang.String userId,
java.lang.String newLogin,
ITransaction transaction)
Adds an alternative login for an user. |
void |
addOrUpdate(SessionConfig sessionConfig,
UserConfig userConfig,
ITransaction transaction)
|
void |
delete(SessionConfig sessionConfig,
java.lang.String userId,
ITransaction transaction)
Delete an user. |
void |
deleteAlternativeLogin(SessionConfig sessionConfig,
java.lang.String loginToDelete,
ITransaction transaction)
Deletes an alternative login. |
UserConfig |
get(SessionConfig sessionConfig,
java.lang.String userId,
ITransaction transaction)
Get user configuration from userId. |
java.util.Collection<java.lang.String> |
getAlternativeLogins(SessionConfig sessionConfig,
java.lang.String userId,
ITransaction transaction)
Returns the alternative logins for an user. |
java.util.Collection<UserConfig> |
getByChannelId(SessionConfig sessionConfig,
java.lang.String channelId,
ITransaction transaction)
Returns the local users of the specified channel |
java.util.Collection<UserConfig> |
getByOrigin(SessionConfig sessionConfig,
java.lang.String origin,
ITransaction transaction)
Return the users, searching by the user's origin. |
java.lang.String |
getUserId(SessionConfig sessionConfig,
java.lang.String userLogin,
ITransaction transaction)
Deprecated. Since 4.0.10, replaced by getUserIdByLogin(SessionConfig, String, ITransaction) . |
java.lang.String |
getUserIdByLogin(SessionConfig sessionConfig,
java.lang.String userLogin,
ITransaction transaction)
Get the id for a user with the given login. |
void |
setPassword(SessionConfig sessionConfig,
java.lang.String userId,
java.lang.String password,
ITransaction transaction)
Set a new password for the user |
void |
update(SessionConfig sessionConfig,
UserConfig userConfig,
ITransaction transaction)
Update the user configuration. |
Methods inherited from interface lumis.portal.serialization.operation.IConfigDeleter |
---|
deleteConfig |
Method Detail |
---|
java.lang.String add(SessionConfig sessionConfig, UserConfig userConfig, ITransaction transaction) throws ManagerException, PortalException
sessionConfig
- userConfig
- transaction
-
ManagerException
PortalException
UserConfig get(SessionConfig sessionConfig, java.lang.String userId, ITransaction transaction) throws ManagerException, PortalException
sessionConfig
- userId
- transaction
-
ManagerException
PortalException
@Deprecated java.lang.String getUserId(SessionConfig sessionConfig, java.lang.String userLogin, ITransaction transaction) throws ManagerException, PortalException
getUserIdByLogin(SessionConfig, String, ITransaction)
.
sessionConfig
- userLogin
- transaction
-
ManagerException
PortalException
java.lang.String getUserIdByLogin(SessionConfig sessionConfig, java.lang.String userLogin, ITransaction transaction) throws ManagerException, PortalException
sessionConfig
- the current user session information.userLogin
- the login.transaction
- the transaction for persistence access.
ManagerException
PortalException
void delete(SessionConfig sessionConfig, java.lang.String userId, ITransaction transaction) throws ManagerException, PortalException
sessionConfig
- userId
- transaction
-
ManagerException
PortalException
void update(SessionConfig sessionConfig, UserConfig userConfig, ITransaction transaction) throws ManagerException, PortalException
sessionConfig
- userConfig
- transaction
-
ManagerException
PortalException
void setPassword(SessionConfig sessionConfig, java.lang.String userId, java.lang.String password, ITransaction transaction) throws ManagerException, PortalException
sessionConfig
- userId
- password
- transaction
-
ManagerException
PortalException
java.util.Collection<UserConfig> getByChannelId(SessionConfig sessionConfig, java.lang.String channelId, ITransaction transaction) throws ManagerException, PortalException
sessionConfig
- channelId
- transaction
-
ManagerException
PortalException
void addOrUpdate(SessionConfig sessionConfig, UserConfig userConfig, ITransaction transaction) throws ManagerException, PortalException
ManagerException
PortalException
void addAlternativeLogin(SessionConfig sessionConfig, java.lang.String userId, java.lang.String newLogin, ITransaction transaction) throws PortalException
sessionConfig
- the user session information.userId
- the user id.newLogin
- the new alternative login.transaction
- the transaction for persistence access.
PortalException
java.util.Collection<java.lang.String> getAlternativeLogins(SessionConfig sessionConfig, java.lang.String userId, ITransaction transaction) throws PortalException
sessionConfig
- the user session information.userId
- the user id.transaction
- the transaction for persistence access.
PortalException
void deleteAlternativeLogin(SessionConfig sessionConfig, java.lang.String loginToDelete, ITransaction transaction) throws PortalException
sessionConfig
- the user session information.loginToDelete
- the login to be deleted.transaction
- the transaction for persistence access.
PortalException
java.util.Collection<UserConfig> getByOrigin(SessionConfig sessionConfig, java.lang.String origin, ITransaction transaction) throws ManagerException, PortalException
sessionConfig
- the user session information.origin
- the origin.transaction
- the transaction for persistence access.
DaoException
PortalException
ManagerException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |