public class FeedbackTypeService extends Object implements IFeedbackTypeService
| Modifier and Type | Field and Description |
|---|---|
static String |
BEAN_SERVICE
The Constant BEAN_SERVICE.
|
| Constructor and Description |
|---|
FeedbackTypeService() |
| Modifier and Type | Method and Description |
|---|---|
FeedbackType |
create(FeedbackType feedbackType)
Create an instance of the feedbackType class
|
Optional<FeedbackType> |
findByOrder(int nOrder)
Returns an instance of a feedbackType by order
|
Optional<FeedbackType> |
findByPrimaryKey(int nKey)
Returns an instance of a feedbackType whose identifier is specified in parameter
|
List<FeedbackType> |
getFeedbackTypesList()
Load the data of all the feedbackType objects and returns them in form of a list
|
fr.paris.lutece.util.ReferenceList |
getReferenceFeedbackTypesList()
Return reference list
|
void |
remove(int nFeedbackTypeId)
Remove the feedbackType whose identifier is specified in parameter
|
void |
update(FeedbackType feedbackType)
Update of the feedbackType which is specified in parameter
|
public static final String BEAN_SERVICE
public FeedbackType create(FeedbackType feedbackType)
IFeedbackTypeServicecreate in interface IFeedbackTypeServicefeedbackType - The instance of the FeedbackType which contains the informations to storepublic void update(FeedbackType feedbackType)
IFeedbackTypeServiceupdate in interface IFeedbackTypeServicefeedbackType - The instance of the FeedbackType which contains the data to storepublic void remove(int nFeedbackTypeId)
IFeedbackTypeServiceremove in interface IFeedbackTypeServicenFeedbackTypeId - The feedbackType Idpublic Optional<FeedbackType> findByPrimaryKey(int nKey)
IFeedbackTypeServicefindByPrimaryKey in interface IFeedbackTypeServicenKey - The feedbackType primary keypublic List<FeedbackType> getFeedbackTypesList()
IFeedbackTypeServicegetFeedbackTypesList in interface IFeedbackTypeServicepublic Optional<FeedbackType> findByOrder(int nOrder)
IFeedbackTypeServicefindByOrder in interface IFeedbackTypeServicenOrder - The feedbackType nOrderpublic fr.paris.lutece.util.ReferenceList getReferenceFeedbackTypesList()
IFeedbackTypeServicegetReferenceFeedbackTypesList in interface IFeedbackTypeServiceCopyright © 2022 City of Paris. All rights reserved.