@StableMinor(version="10.1", sinceVersion="4.0") public interface IPrincipalManager extends IConfigKeyChecker
Modifier and Type | Method and Description |
---|---|
void |
add(SessionConfig sessionConfig,
PrincipalConfig principal,
ITransaction transaction)
Add a Principal.
|
void |
delete(SessionConfig sessionConfig,
String principalId,
ITransaction transaction)
Remove a Principal.
|
PrincipalConfig |
get(SessionConfig sessionConfig,
String principalId,
ITransaction transaction)
Get the Principal.
|
PrincipalConfig |
getByShortId(SessionConfig sessionConfig,
String shortId,
ITransaction transaction)
Get the Principal given the shortId.
|
void |
update(SessionConfig sessionConfig,
PrincipalConfig principal,
ITransaction transaction)
Update a Principal.
|
keyExists
PrincipalConfig get(SessionConfig sessionConfig, String principalId, ITransaction transaction) throws PortalException
sessionConfig
- principalId
- transaction
- PortalException
PrincipalConfig getByShortId(SessionConfig sessionConfig, String shortId, ITransaction transaction) throws PortalException
sessionConfig
- shortId
- transaction
- PortalException
void add(SessionConfig sessionConfig, PrincipalConfig principal, ITransaction transaction) throws PortalException
sessionConfig
- principal
- transaction
- PortalException
void update(SessionConfig sessionConfig, PrincipalConfig principal, ITransaction transaction) throws PortalException
sessionConfig
- principal
- transaction
- PortalException
void delete(SessionConfig sessionConfig, String principalId, ITransaction transaction) throws PortalException
sessionConfig
- principalId
- transaction
- PortalException
Lumisportal 10.1.2.170428 - Copyright © 2006–2017 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.