Package com.soffid.iam.service
Interface EntryPointService
-
public interface EntryPointServiceService EntryPointService
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanapplicationAccessTreeHasAnyACL(String codiUsuari)Operation applicationAccessTreeHasAnyACLbooleancanAdmin(AccessTree puntEntrada)Operation canAdminbooleancanExecute(AccessTree puntEntrada)Operation canExecutebooleancanQuery(AccessTree puntEntrada)Operation canQuerybooleancanView(AccessTree puntEntrada)Operation canViewbooleancopyApplicationAccess(AccessTree puntEntradaCopiar, AccessTree puntEntradaMenuDesti)Operation copyApplicationAccessbooleancopyApplicationAccessLink(AccessTree puntEntradaCopiar, AccessTree puntEntradaMenuDesti)Operation copyApplicationAccessLinkAccessTreecreate(AccessTree puntEntrada)Operation createAccessTreeAuthorizationcreateAuthorization(AccessTree puntEntrada, AccessTreeAuthorization autoritzacio)Operation createAuthorizationAccessTreeExecutioncreateExecution(AccessTree puntEntrada, AccessTreeExecution execucio)Operation createExecutionvoiddelete(AccessTree puntEntrada)Operation deletevoiddeleteAuthorization(AccessTree puntEntrada, AccessTreeAuthorization autoritzacio)Operation deleteAuthorizationvoiddeleteExecution(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 findApplicationAccessByFilterAccessTreefindApplicationAccessById(long id)Operation findApplicationAccessByIdCollection<AccessTree>findChildren(AccessTree puntEntrada)Operation findChildrenCollection<AccessTree>findMenuChildren(AccessTree puntEntrada)Operation findMenuChildrenAccessTreefindRoot()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 getReverseApplicationAccessTreeStringgetScopeForAddress(String address)Operation getScopeForAddressbooleanisAuthorized(AccessTree puntEntrada, String nivell)Operation isAuthorizedbooleanisAuthorized(String codiUsuari, Long idPuntEntrada, String nivell)Operation isAuthorizedbooleanmoveApplicationAccessTreeMenu(AccessTree puntEntradaMoure, AccessTree puntEntradaMenuDesti)Operation moveApplicationAccessTreeMenubooleanreorderApplicationAccess(AccessTree puntEntradaOrdenar, AccessTree puntEntradaSeguent)Operation reorderApplicationAccessvoidsortChildren(long entryPointId)Operation sortChildrenAccessTreeupdate(AccessTree puntEntrada)Operation updateAccessTreeExecutionupdateExecution(AccessTree puntEntrada, AccessTreeExecution execucio)Operation updateExecutionStringvalidateXMLApplicationAccess(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 InternalErrorExceptionOperation sortChildren- Parameters:
entryPointId-- Throws:
InternalErrorException
-
-