public class ProposalUsersService extends Object implements IProposalUsersService
Modifier and Type | Field and Description |
---|---|
static String |
EXTENDER_TYPE_CSV |
static String |
EXTENDER_VALUE_SUBMITTER_CSV |
Constructor and Description |
---|
ProposalUsersService() |
Modifier and Type | Method and Description |
---|---|
static fr.paris.lutece.plugins.extend.modules.comment.service.ICommentService |
getCommentService()
Get the comment service
|
static List<ArrayList<String>> |
getExportInfosList(List<Integer> subProposalsIds)
Returns user infos and proposal codes
|
static List<String> |
getFollowers(int nId_Proposal) |
static List<ArrayList<String>> |
getValuesFromUsers(Proposal proposal,
List<String> usersList,
List<String> prefKeysList,
String extenderType) |
static boolean |
isFollower(int nId_Proposal,
String userId)
Check if a user is a follower of a proposal
|
static boolean |
isSubmitter(int nId_Proposal,
String userId)
Check if a user has submit the proposal
|
public static final String EXTENDER_TYPE_CSV
public static final String EXTENDER_VALUE_SUBMITTER_CSV
public static fr.paris.lutece.plugins.extend.modules.comment.service.ICommentService getCommentService()
public static List<String> getFollowers(int nId_Proposal)
nId_Proposal
- public static List<ArrayList<String>> getValuesFromUsers(Proposal proposal, List<String> usersList, List<String> prefKeysList, String extenderType)
infosList
- usersList
- prefKeysList
- extenderType
- public static List<ArrayList<String>> getExportInfosList(List<Integer> subProposalsIds)
nId_Proposal
- public static boolean isFollower(int nId_Proposal, String userId)
strId_Proposal
- userId
- public static boolean isSubmitter(int nId_Proposal, String userId)
nId_Proposal
- userId
- Copyright © 2020 City of Paris. All rights reserved.