Package com.soffid.iam.service
Interface EntryPointService
-
public interface EntryPointService
Service EntryPointService
-
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
applicationAccessTreeHasAnyACL(String codiUsuari)
Operation applicationAccessTreeHasAnyACLboolean
canAdmin(AccessTree puntEntrada)
Operation canAdminboolean
canExecute(AccessTree puntEntrada)
Operation canExecuteboolean
canQuery(AccessTree puntEntrada)
Operation canQueryboolean
canView(AccessTree puntEntrada)
Operation canViewboolean
copyApplicationAccess(AccessTree puntEntradaCopiar, AccessTree puntEntradaMenuDesti)
Operation copyApplicationAccessboolean
copyApplicationAccessLink(AccessTree puntEntradaCopiar, AccessTree puntEntradaMenuDesti)
Operation copyApplicationAccessLinkAccessTree
create(AccessTree puntEntrada)
Operation createAccessTreeAuthorization
createAuthorization(AccessTree puntEntrada, AccessTreeAuthorization autoritzacio)
Operation createAuthorizationAccessTreeExecution
createExecution(AccessTree puntEntrada, AccessTreeExecution execucio)
Operation createExecutionvoid
delete(AccessTree puntEntrada)
Operation deletevoid
deleteAuthorization(AccessTree puntEntrada, AccessTreeAuthorization autoritzacio)
Operation deleteAuthorizationvoid
deleteExecution(AccessTree puntEntrada, AccessTreeExecution execucio)
Operation deleteExecutionList<AccessTree>
findAccessTreeByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize)
Operation findAccessTreeByTextAndJsonQueryAsyncList<AccessTree>
findAccessTreeByTextAndJsonQueryAsync(String text, String jsonQuery)
Operation findAccessTreeByTextAndJsonQueryAsyncCollection<AccessTree>
findApplicationAccessByFilter(String nomPUE, String codiPUE, String codiAplicacio, String codiRol, String codiGrup, String codiUsuari)
Operation findApplicationAccessByFilterAccessTree
findApplicationAccessById(long id)
Operation findApplicationAccessByIdCollection<AccessTree>
findChildren(AccessTree puntEntrada)
Operation findChildrenCollection<AccessTree>
findMenuChildren(AccessTree puntEntrada)
Operation findMenuChildrenAccessTree
findRoot()
Operation findRootCollection<Application>
getAllApplications(Boolean aplicacioBuida)
Operation getAllApplicationsCollection<AccessTreeExecutionType>
getAllMimeTypeExecution()
Operation getAllMimeTypeExecutionCollection<AccessTreeAuthorization>
getAuthorizationsApplicationAcessTree(AccessTree puntEntrada)
Operation getAuthorizationsApplicationAcessTreeCollection<AccessTreeExecution>
getExecutions(AccessTree puntEntrada)
Operation getExecutionsCollection<String>
getReverseApplicationAccessTree(AccessTree puntEntrada)
Operation getReverseApplicationAccessTreeString
getScopeForAddress(String address)
Operation getScopeForAddressboolean
isAuthorized(AccessTree puntEntrada, String nivell)
Operation isAuthorizedboolean
isAuthorized(String codiUsuari, Long idPuntEntrada, String nivell)
Operation isAuthorizedboolean
moveApplicationAccessTreeMenu(AccessTree puntEntradaMoure, AccessTree puntEntradaMenuDesti)
Operation moveApplicationAccessTreeMenuboolean
reorderApplicationAccess(AccessTree puntEntradaOrdenar, AccessTree puntEntradaSeguent)
Operation reorderApplicationAccessvoid
sortChildren(long entryPointId)
Operation sortChildrenAccessTree
update(AccessTree puntEntrada)
Operation updateAccessTreeExecution
updateExecution(AccessTree puntEntrada, AccessTreeExecution execucio)
Operation updateExecutionString
validateXMLApplicationAccess(AccessTree puntEntrada)
Operation validateXMLApplicationAccess
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
canAdmin
boolean canAdmin(AccessTree puntEntrada) throws InternalErrorException, InternalErrorException
Operation canAdmin- Parameters:
puntEntrada
-- Returns:
- Throws:
InternalErrorException
-
canExecute
boolean canExecute(AccessTree puntEntrada) throws InternalErrorException, InternalErrorException
Operation canExecute- Parameters:
puntEntrada
-- Returns:
- Throws:
InternalErrorException
-
canQuery
boolean canQuery(AccessTree puntEntrada) throws InternalErrorException, InternalErrorException
Operation canQuery- Parameters:
puntEntrada
-- Returns:
- Throws:
InternalErrorException
-
canView
boolean canView(AccessTree puntEntrada) throws InternalErrorException, InternalErrorException
Operation canView- Parameters:
puntEntrada
-- Returns:
- Throws:
InternalErrorException
-
copyApplicationAccessLink
boolean copyApplicationAccessLink(AccessTree puntEntradaCopiar, AccessTree puntEntradaMenuDesti) throws InternalErrorException, InternalErrorException
Operation copyApplicationAccessLink- Parameters:
puntEntradaCopiar
-puntEntradaMenuDesti
-- Returns:
- Throws:
InternalErrorException
-
copyApplicationAccess
boolean copyApplicationAccess(AccessTree puntEntradaCopiar, AccessTree puntEntradaMenuDesti) throws InternalErrorException, InternalErrorException
Operation copyApplicationAccess- Parameters:
puntEntradaCopiar
-puntEntradaMenuDesti
-- Returns:
- Throws:
InternalErrorException
-
isAuthorized
boolean isAuthorized(AccessTree puntEntrada, String nivell) throws InternalErrorException, InternalErrorException
Operation isAuthorized- Parameters:
puntEntrada
-nivell
-- Returns:
- Throws:
InternalErrorException
-
isAuthorized
boolean isAuthorized(String codiUsuari, Long idPuntEntrada, String nivell) throws InternalErrorException, InternalErrorException
Operation isAuthorized- Parameters:
codiUsuari
-idPuntEntrada
-nivell
-- Returns:
- Throws:
InternalErrorException
-
applicationAccessTreeHasAnyACL
boolean applicationAccessTreeHasAnyACL(String codiUsuari) throws InternalErrorException, InternalErrorException
Operation applicationAccessTreeHasAnyACL- Parameters:
codiUsuari
-- Returns:
- Throws:
InternalErrorException
-
moveApplicationAccessTreeMenu
boolean moveApplicationAccessTreeMenu(AccessTree puntEntradaMoure, AccessTree puntEntradaMenuDesti) throws InternalErrorException, InternalErrorException
Operation moveApplicationAccessTreeMenu- Parameters:
puntEntradaMoure
-puntEntradaMenuDesti
-- Returns:
- Throws:
InternalErrorException
-
reorderApplicationAccess
boolean reorderApplicationAccess(AccessTree puntEntradaOrdenar, AccessTree puntEntradaSeguent) throws InternalErrorException, InternalErrorException
Operation reorderApplicationAccess- Parameters:
puntEntradaOrdenar
-puntEntradaSeguent
-- Returns:
- Throws:
InternalErrorException
-
findAccessTreeByTextAndJsonQueryAsync
AsyncList<AccessTree> findAccessTreeByTextAndJsonQueryAsync(String text, String jsonQuery) throws InternalErrorException
Operation findAccessTreeByTextAndJsonQueryAsync- Parameters:
text
-jsonQuery
-- Returns:
- Throws:
InternalErrorException
-
createAuthorization
AccessTreeAuthorization createAuthorization(AccessTree puntEntrada, AccessTreeAuthorization autoritzacio) throws InternalErrorException, InternalErrorException
Operation createAuthorization- Parameters:
puntEntrada
-autoritzacio
-- Returns:
- Throws:
InternalErrorException
-
createExecution
AccessTreeExecution createExecution(AccessTree puntEntrada, AccessTreeExecution execucio) throws InternalErrorException, InternalErrorException
Operation createExecution- Parameters:
puntEntrada
-execucio
-- Returns:
- Throws:
InternalErrorException
-
updateExecution
AccessTreeExecution updateExecution(AccessTree puntEntrada, AccessTreeExecution execucio) throws InternalErrorException, InternalErrorException
Operation updateExecution- Parameters:
puntEntrada
-execucio
-- Returns:
- Throws:
InternalErrorException
-
create
AccessTree create(AccessTree puntEntrada) throws InternalErrorException, InternalErrorException
Operation create- Parameters:
puntEntrada
-- Returns:
- Throws:
InternalErrorException
-
findApplicationAccessById
AccessTree findApplicationAccessById(long id) throws InternalErrorException, InternalErrorException
Operation findApplicationAccessById- Parameters:
id
-- Returns:
- Throws:
InternalErrorException
-
findRoot
AccessTree findRoot() throws InternalErrorException, InternalErrorException
Operation findRoot- Returns:
- Throws:
InternalErrorException
-
update
AccessTree update(AccessTree puntEntrada) throws InternalErrorException, InternalErrorException
Operation update- Parameters:
puntEntrada
-- Returns:
- Throws:
InternalErrorException
-
getScopeForAddress
String getScopeForAddress(String address) throws InternalErrorException
Operation getScopeForAddress- Parameters:
address
-- Returns:
- Throws:
InternalErrorException
-
validateXMLApplicationAccess
String validateXMLApplicationAccess(AccessTree puntEntrada) throws InternalErrorException, InternalErrorException
Operation validateXMLApplicationAccess- Parameters:
puntEntrada
-- Returns:
- Throws:
InternalErrorException
-
findChildren
Collection<AccessTree> findChildren(AccessTree puntEntrada) throws InternalErrorException, InternalErrorException
Operation findChildren- Parameters:
puntEntrada
-- Returns:
- Throws:
InternalErrorException
-
findMenuChildren
Collection<AccessTree> findMenuChildren(AccessTree puntEntrada) throws InternalErrorException, InternalErrorException
Operation findMenuChildren- Parameters:
puntEntrada
-- Returns:
- Throws:
InternalErrorException
-
findApplicationAccessByFilter
Collection<AccessTree> findApplicationAccessByFilter(String nomPUE, String codiPUE, String codiAplicacio, String codiRol, String codiGrup, String codiUsuari) throws InternalErrorException, InternalErrorException
Operation findApplicationAccessByFilter- Parameters:
nomPUE
-codiPUE
-codiAplicacio
-codiRol
-codiGrup
-codiUsuari
-- Returns:
- Throws:
InternalErrorException
-
getAllApplications
Collection<Application> getAllApplications(Boolean aplicacioBuida) throws InternalErrorException, InternalErrorException
Operation getAllApplications- Parameters:
aplicacioBuida
-- Returns:
- Throws:
InternalErrorException
-
getAllMimeTypeExecution
Collection<AccessTreeExecutionType> getAllMimeTypeExecution() throws InternalErrorException, InternalErrorException
Operation getAllMimeTypeExecution- Returns:
- Throws:
InternalErrorException
-
getReverseApplicationAccessTree
Collection<String> getReverseApplicationAccessTree(AccessTree puntEntrada) throws InternalErrorException, InternalErrorException
Operation getReverseApplicationAccessTree- Parameters:
puntEntrada
-- Returns:
- Throws:
InternalErrorException
-
getAuthorizationsApplicationAcessTree
Collection<AccessTreeAuthorization> getAuthorizationsApplicationAcessTree(AccessTree puntEntrada) throws InternalErrorException, InternalErrorException
Operation getAuthorizationsApplicationAcessTree- Parameters:
puntEntrada
-- Returns:
- Throws:
InternalErrorException
-
getExecutions
Collection<AccessTreeExecution> getExecutions(AccessTree puntEntrada) throws InternalErrorException, InternalErrorException
Operation getExecutions- Parameters:
puntEntrada
-- Returns:
- Throws:
InternalErrorException
-
findAccessTreeByTextAndJsonQuery
List<AccessTree> findAccessTreeByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize) throws InternalErrorException
Operation findAccessTreeByTextAndJsonQuery- Parameters:
text
-jsonQuery
-start
-pageSize
-- Returns:
- Throws:
InternalErrorException
-
delete
void delete(AccessTree puntEntrada) throws InternalErrorException, InternalErrorException
Operation delete- Parameters:
puntEntrada
-- Throws:
InternalErrorException
-
deleteAuthorization
void deleteAuthorization(AccessTree puntEntrada, AccessTreeAuthorization autoritzacio) throws InternalErrorException, InternalErrorException
Operation deleteAuthorization- Parameters:
puntEntrada
-autoritzacio
-- Throws:
InternalErrorException
-
deleteExecution
void deleteExecution(AccessTree puntEntrada, AccessTreeExecution execucio) throws InternalErrorException, InternalErrorException
Operation deleteExecution- Parameters:
puntEntrada
-execucio
-- Throws:
InternalErrorException
-
sortChildren
void sortChildren(long entryPointId) throws InternalErrorException
Operation sortChildren- Parameters:
entryPointId
-- Throws:
InternalErrorException
-
-