public class DirectoryMultiviewAuthorizationService extends Object implements IDirectoryMultiviewAuthorizationService
BEAN_NAME| Constructor and Description |
|---|
DirectoryMultiviewAuthorizationService(IRecordPanel recordPanel,
RecordListFacade recordListFacade,
RecordColumnFactory recordColumnFactory)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isUserAuthorizedOnRecord(javax.servlet.http.HttpServletRequest request,
int nIdRecord)
Return the boolean which tell if the connected user is authorized to access the record or not
|
public DirectoryMultiviewAuthorizationService(IRecordPanel recordPanel, RecordListFacade recordListFacade, RecordColumnFactory recordColumnFactory)
recordPanel - The RecordPanel on which the authorization is basedrecordListFacade - The RecordListFacade to use by the servicerecordColumnFactory - The RecordColumnFactory to use by the servicepublic boolean isUserAuthorizedOnRecord(javax.servlet.http.HttpServletRequest request,
int nIdRecord)
isUserAuthorizedOnRecord in interface IDirectoryMultiviewAuthorizationServicerequest - The request to use to determine if the user can access the details of the given recordnIdRecord - The identifier of the record to accessCopyright © 2018 City of Paris. All rights reserved.