public class ExtendFeedbackService extends Object implements IExtendFeedbackService
| Modifier and Type | Field and Description |
|---|---|
static String |
BEAN_SERVICE
The Constant BEAN_SERVICE.
|
| Constructor and Description |
|---|
ExtendFeedbackService() |
| Modifier and Type | Method and Description |
|---|---|
void |
create(ExtendFeedback extendFeedback)
Create a new extendFeedback
|
void |
delete(int nId)
Delete extendFeedback by id
|
boolean |
doProcessWorkflow(ExtendFeedback extendFeedback,
FeedbackExtenderConfig config)
Process Workflow
|
boolean |
doSubmitFeedback(javax.servlet.http.HttpServletRequest request)
Process feedback
|
List<ExtendFeedback> |
findAll()
Find all the extendFeedback
|
List<ExtendFeedback> |
findAllByIdAndTypeResource(int nIdResource,
String strResourceType)
Find all extendFeedback by id resource and resource type
|
List<ExtendFeedback> |
findAllExtendFeedback(javax.servlet.http.HttpServletRequest request,
fr.paris.lutece.plugins.extend.business.extender.ResourceExtenderDTO resourceExtenderDTO)
Gets list of extendFeedback filtred
|
Optional<ExtendFeedback> |
findById(int nId)
Find extendFeedback by id
|
Optional<ExtendFeedback> |
findByIdHistory(int nIdHistory)
Find extendFeedback by id history
|
boolean |
isAuthorized(javax.servlet.http.HttpServletRequest request,
FeedbackExtenderConfig config)
Returns true if user is authorized for send feedback
|
void |
update(ExtendFeedback extendFeedback)
Update a ExtendFeedback
|
public static final String BEAN_SERVICE
public void create(ExtendFeedback extendFeedback)
create in interface IExtendFeedbackServiceextendFeedback - the extendFeedbackpublic void update(ExtendFeedback extendFeedback)
update in interface IExtendFeedbackServiceextendFeedback - the extendFeedbackpublic void delete(int nId)
delete in interface IExtendFeedbackServicenId - the id extendFeedbackpublic List<ExtendFeedback> findAll()
findAll in interface IExtendFeedbackServiceExtendFeedbackpublic Optional<ExtendFeedback> findById(int nId)
findById in interface IExtendFeedbackServicenId - the id extendFeedbackpublic List<ExtendFeedback> findAllByIdAndTypeResource(int nIdResource, String strResourceType)
findAllByIdAndTypeResource in interface IExtendFeedbackServicenIdResource - the id resourcestrResourceType - the resource typepublic Optional<ExtendFeedback> findByIdHistory(int nIdHistory)
findByIdHistory in interface IExtendFeedbackServicenIdHistory - the id historypublic boolean doSubmitFeedback(javax.servlet.http.HttpServletRequest request)
doSubmitFeedback in interface IExtendFeedbackServicerequest - the requestpublic List<ExtendFeedback> findAllExtendFeedback(javax.servlet.http.HttpServletRequest request, fr.paris.lutece.plugins.extend.business.extender.ResourceExtenderDTO resourceExtenderDTO)
IExtendFeedbackServicefindAllExtendFeedback in interface IExtendFeedbackServicepublic boolean doProcessWorkflow(ExtendFeedback extendFeedback, FeedbackExtenderConfig config)
doProcessWorkflow in interface IExtendFeedbackServicepublic boolean isAuthorized(javax.servlet.http.HttpServletRequest request,
FeedbackExtenderConfig config)
isAuthorized in interface IExtendFeedbackServiceCopyright © 2022 City of Paris. All rights reserved.