Class FeedbackTypeService
- java.lang.Object
-
- fr.paris.lutece.plugins.extend.modules.feedback.service.FeedbackTypeService
-
- All Implemented Interfaces:
IFeedbackTypeService
public class FeedbackTypeService extends java.lang.Object implements IFeedbackTypeService
FeedbackTypeService
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringBEAN_SERVICEThe Constant BEAN_SERVICE.
-
Constructor Summary
Constructors Constructor Description FeedbackTypeService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FeedbackTypecreate(FeedbackType feedbackType)Create an instance of the feedbackType classjava.util.Optional<FeedbackType>findByOrder(int nOrder)Returns an instance of a feedbackType by orderjava.util.Optional<FeedbackType>findByPrimaryKey(int nKey)Returns an instance of a feedbackType whose identifier is specified in parameterjava.util.List<FeedbackType>getFeedbackTypesList()Load the data of all the feedbackType objects and returns them in form of a listfr.paris.lutece.util.ReferenceListgetReferenceFeedbackTypesList()Return reference listvoidremove(int nFeedbackTypeId)Remove the feedbackType whose identifier is specified in parametervoidupdate(FeedbackType feedbackType)Update of the feedbackType which is specified in parameter
-
-
-
Field Detail
-
BEAN_SERVICE
public static final java.lang.String BEAN_SERVICE
The Constant BEAN_SERVICE.- See Also:
- Constant Field Values
-
-
Method Detail
-
create
public FeedbackType create(FeedbackType feedbackType)
Description copied from interface:IFeedbackTypeServiceCreate an instance of the feedbackType class- Specified by:
createin interfaceIFeedbackTypeService- Parameters:
feedbackType- The instance of the FeedbackType which contains the informations to store- Returns:
- The instance of feedbackType which has been created with its primary key.
-
update
public void update(FeedbackType feedbackType)
Description copied from interface:IFeedbackTypeServiceUpdate of the feedbackType which is specified in parameter- Specified by:
updatein interfaceIFeedbackTypeService- Parameters:
feedbackType- The instance of the FeedbackType which contains the data to store
-
remove
public void remove(int nFeedbackTypeId)
Description copied from interface:IFeedbackTypeServiceRemove the feedbackType whose identifier is specified in parameter- Specified by:
removein interfaceIFeedbackTypeService- Parameters:
nFeedbackTypeId- The feedbackType Id
-
findByPrimaryKey
public java.util.Optional<FeedbackType> findByPrimaryKey(int nKey)
Description copied from interface:IFeedbackTypeServiceReturns an instance of a feedbackType whose identifier is specified in parameter- Specified by:
findByPrimaryKeyin interfaceIFeedbackTypeService- Parameters:
nKey- The feedbackType primary key- Returns:
- an instance of FeedbackType
-
getFeedbackTypesList
public java.util.List<FeedbackType> getFeedbackTypesList()
Description copied from interface:IFeedbackTypeServiceLoad the data of all the feedbackType objects and returns them in form of a list- Specified by:
getFeedbackTypesListin interfaceIFeedbackTypeService- Returns:
- the list which contains the data of all the feedbackType objects
-
findByOrder
public java.util.Optional<FeedbackType> findByOrder(int nOrder)
Description copied from interface:IFeedbackTypeServiceReturns an instance of a feedbackType by order- Specified by:
findByOrderin interfaceIFeedbackTypeService- Parameters:
nOrder- The feedbackType nOrder- Returns:
- an instance of FeedbackType
-
getReferenceFeedbackTypesList
public fr.paris.lutece.util.ReferenceList getReferenceFeedbackTypesList()
Description copied from interface:IFeedbackTypeServiceReturn reference list- Specified by:
getReferenceFeedbackTypesListin interfaceIFeedbackTypeService- Returns:
- the reference list
-
-