Interface IDashBoardIdentityService
-
- All Known Implementing Classes:
DashboardIdentityService
public interface IDashBoardIdentityServiceThe Interface IDashBoardIdentityService.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,String>checkDashboardIdentityFields(DashboardIdentity dashboardIdentity, javax.servlet.http.HttpServletRequest request, boolean bOnlyCheckMandatory)Check fields format of dashboardIdentity.Map<String,String>checkDashboardIdentityFields(DashboardIdentity dashboardIdentity, javax.servlet.http.HttpServletRequest request, boolean bOnlyCheckMandatory, AttributeCategory attributeCategory)Check fields format of dashboardIdentity.Map<String,String>checkDashboardIdentityFieldsFromServiceContract(DashboardIdentity dashboardIdentity, javax.servlet.http.HttpServletRequest request, boolean bOnlyCheckMandatory, String strAppCode)booleanexistSuspiciousIdentities(DashboardIdentity dashboardIdentity, List<String> listRules)Return true if exist suspicious identitiesfr.paris.lutece.plugins.identitystore.v3.web.rs.dto.contract.ServiceContractSearchResponsegetActiveServiceContract(String strApplicationCode)Get active service contractDashboardIdentitygetDashBoardIdentity(String strApplicationCode)Gets the dash board identityDashboardIdentitygetDashBoardIdentity(String strApplicationCode, String strGuid)Gets the dash board identity.fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.IdentityDtogetIdentityToUpdate(DashboardIdentity dashboardIdentity, boolean bUpdateOnlyManadtory)Return an IdentityDTO object wich contains only identity fields to updatefr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.DuplicateSearchResponsegetSuspiciousIdentities(DashboardIdentity dashboardIdentity, List<String> listRules)Search suspicious identitiesbooleanneedCertification(String strApplicationCode, String strGuid, DashboardIdentity dashboardIdentity, List<String> listAttributesNeedCertification, int nLevelMin)voidpopulateDashboardIdentity(DashboardIdentity dashboardIdentity, javax.servlet.http.HttpServletRequest request)Populate dashboard identity.voidpopulateDashboardIdentity(DashboardIdentity dashboardIdentity, javax.servlet.http.HttpServletRequest request, AttributeCategory attributeCategory)Populate dashboard identity.voidupdateDashboardIdentity(DashboardIdentity dashboardIdentity, boolean bUpdateOnlyManadtory)Update identitity using dashboardinformations.voidupdateDashboardIdentity(DashboardIdentity dashboardIdentity, boolean bUpdateOnlyManadtory, AttributeCategory attributeCategory)Update identitity using dashboardinformations.
-
-
-
Method Detail
-
getDashBoardIdentity
DashboardIdentity getDashBoardIdentity(String strApplicationCode) throws fr.paris.lutece.portal.service.util.AppException
Gets the dash board identity- Parameters:
strApplicationCode- the str application code- Returns:
- the dash board identity
- Throws:
fr.paris.lutece.portal.service.util.AppException- the app exception
-
getDashBoardIdentity
DashboardIdentity getDashBoardIdentity(String strApplicationCode, String strGuid) throws fr.paris.lutece.portal.service.util.AppException
Gets the dash board identity.- Parameters:
strApplicationCode- the str application codestrGuid- the user guid- Returns:
- the dash board identity
- Throws:
fr.paris.lutece.portal.service.util.AppException- the app exception
-
checkDashboardIdentityFields
Map<String,String> checkDashboardIdentityFields(DashboardIdentity dashboardIdentity, javax.servlet.http.HttpServletRequest request, boolean bOnlyCheckMandatory)
Check fields format of dashboardIdentity.- Parameters:
dashboardIdentity- dashboardIdentity to checkrequest- the httpServletrequestbOnlyCheckMandatory- true if only mandatory file must be checked- Returns:
- a Map of errors
-
checkDashboardIdentityFields
Map<String,String> checkDashboardIdentityFields(DashboardIdentity dashboardIdentity, javax.servlet.http.HttpServletRequest request, boolean bOnlyCheckMandatory, AttributeCategory attributeCategory)
Check fields format of dashboardIdentity.- Parameters:
dashboardIdentity- dashboardIdentity to checkrequest- the httpServletrequestbOnlyCheckMandatory- true if only mandatory file must be checkedattributeCategory- only check attributeCategory- Returns:
- a Map of errors
-
updateDashboardIdentity
void updateDashboardIdentity(DashboardIdentity dashboardIdentity, boolean bUpdateOnlyManadtory) throws fr.paris.lutece.portal.service.util.AppException
Update identitity using dashboardinformations.- Parameters:
dashboardIdentity- the dashboard identitybUpdateOnlyManadtory- Only Update mandatory Informations- Throws:
fr.paris.lutece.portal.service.util.AppException- the app exception
-
updateDashboardIdentity
void updateDashboardIdentity(DashboardIdentity dashboardIdentity, boolean bUpdateOnlyManadtory, AttributeCategory attributeCategory) throws fr.paris.lutece.portal.service.util.AppException
Update identitity using dashboardinformations.- Parameters:
dashboardIdentity- the dashboard identitybUpdateOnlyManadtory- Only Update mandatory InformationsattributeCategory- update only DashbordIdentity Attribute in this Category- Throws:
fr.paris.lutece.portal.service.util.AppException- the app exception
-
getIdentityToUpdate
fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.IdentityDto getIdentityToUpdate(DashboardIdentity dashboardIdentity, boolean bUpdateOnlyManadtory)
Return an IdentityDTO object wich contains only identity fields to update- Parameters:
dashboardIdentity- the dashboard IdentitybUpdateOnlyManadtory- only madantarory field must be updated- Returns:
- an IdentityDTO object wich contains only identity fields to update
-
populateDashboardIdentity
void populateDashboardIdentity(DashboardIdentity dashboardIdentity, javax.servlet.http.HttpServletRequest request)
Populate dashboard identity.- Parameters:
dashboardIdentity- the identityrequest- the request
-
populateDashboardIdentity
void populateDashboardIdentity(DashboardIdentity dashboardIdentity, javax.servlet.http.HttpServletRequest request, AttributeCategory attributeCategory)
Populate dashboard identity.- Parameters:
dashboardIdentity- the identityrequest- the requestattributeCategory- update only DashbordIdentity Attribute in this Category
-
getSuspiciousIdentities
fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.search.DuplicateSearchResponse getSuspiciousIdentities(DashboardIdentity dashboardIdentity, List<String> listRules)
Search suspicious identities- Parameters:
dashboardIdentity-listRules-- Returns:
- suspicious identities
-
existSuspiciousIdentities
boolean existSuspiciousIdentities(DashboardIdentity dashboardIdentity, List<String> listRules)
Return true if exist suspicious identities- Parameters:
dashboardIdentity-listRules-- Returns:
- true if exist suspicious identities
-
needCertification
boolean needCertification(String strApplicationCode, String strGuid, DashboardIdentity dashboardIdentity, List<String> listAttributesNeedCertification, int nLevelMin) throws fr.paris.lutece.portal.service.util.AppException
- Throws:
fr.paris.lutece.portal.service.util.AppException
-
getActiveServiceContract
fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.contract.ServiceContractSearchResponse getActiveServiceContract(String strApplicationCode)
Get active service contract- Parameters:
strApplicationCode-- Returns:
- active service contract
-
checkDashboardIdentityFieldsFromServiceContract
Map<String,String> checkDashboardIdentityFieldsFromServiceContract(DashboardIdentity dashboardIdentity, javax.servlet.http.HttpServletRequest request, boolean bOnlyCheckMandatory, String strAppCode)
-
-