public interface IManualActionPrerequisiteService
extends fr.paris.lutece.plugins.workflowcore.service.prerequisite.IAutomaticActionPrerequisiteService
Modifier and Type | Method and Description |
---|---|
default boolean |
canManualActionBePerformed(fr.paris.lutece.portal.business.user.AdminUser user,
int nIdResource,
String strResourceType,
fr.paris.lutece.plugins.workflowcore.business.prerequisite.IPrerequisiteConfig config,
int nIdAction)
Check if a resource matches this prerequisite.
|
default boolean canManualActionBePerformed(fr.paris.lutece.portal.business.user.AdminUser user, int nIdResource, String strResourceType, fr.paris.lutece.plugins.workflowcore.business.prerequisite.IPrerequisiteConfig config, int nIdAction)
user
- The user trying to do the actionnIdResource
- The id of the resourcestrResourceType
- The resource typeconfig
- The configuration of the prerequisite, or null if the prerequisite has no configurationnIdAction
- The id of the action that will be performed if the resource matches every prerequisitesCopyright © 2020 City of Paris. All rights reserved.