public interface IRatingValidator
Modifier and Type | Method and Description |
---|---|
boolean |
canCancelRating(String strIdExtendableResource,
String strExtendableResourceType,
fr.paris.lutece.portal.service.security.LuteceUser user)
check if the rating can be canceled
|
boolean |
canRating(String strIdExtendableResource,
String strExtendableResourceType,
fr.paris.lutece.portal.service.security.LuteceUser user)
check if the rating can be done
|
boolean canRating(String strIdExtendableResource, String strExtendableResourceType, fr.paris.lutece.portal.service.security.LuteceUser user)
strIdResource
- the id of the resourcestrResourceTypeKey
- The resource type keyuser
- The user that wants to rate a resource (user = null if the authentication is note enabled)boolean canCancelRating(String strIdExtendableResource, String strExtendableResourceType, fr.paris.lutece.portal.service.security.LuteceUser user)
strIdResource
- the id of the resourcestrResourceTypeKey
- The resource type keyuser
- The user that wants to rate a resourceCopyright © 2022 City of Paris. All rights reserved.