Interface ITemporaryStatusDAO
-
public interface ITemporaryStatusDAOITemporaryStatusDAO Interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(int nKey)Delete a record from the tablevoidinsert(TemporaryStatus status)Insert a new record in the table.java.util.Optional<TemporaryStatus>load(int nKey)Load the data from the tablejava.util.Optional<TemporaryStatus>loadByStatus(java.lang.String strStatus)Load the data from the table using a like '%strStatus%'java.util.Optional<TemporaryStatus>loadByStatusId(int nStatusId)Load the data from the tablejava.util.List<java.lang.Integer>searchItemsIdList(java.util.Map<java.lang.String,java.lang.String> mapFilterCriteria, java.lang.String strColumnToOrder, java.lang.String strSortMode)java.util.List<java.lang.Integer>selectIdStatusList()Load the id of all the status objects and returns them as a listjava.util.List<TemporaryStatus>selectStatusList()Load the data of all the status objects and returns them as a listjava.util.List<TemporaryStatus>selectStatusListByIds(java.util.List<java.lang.Integer> listIds)Load the data of all the avant objects and returns them as a listvoidstore(TemporaryStatus status)Update the record in the table
-
-
-
Method Detail
-
insert
void insert(TemporaryStatus status)
Insert a new record in the table.- Parameters:
status- instance of the Status object to insertplugin- the Plugin
-
store
void store(TemporaryStatus status)
Update the record in the table- Parameters:
status- the reference of the Statusplugin- the Plugin
-
delete
void delete(int nKey)
Delete a record from the table- Parameters:
nKey- The identifier of the Status to deleteplugin- the Plugin
-
load
java.util.Optional<TemporaryStatus> load(int nKey)
Load the data from the table- Parameters:
nKey- The identifier of the statusplugin- the Plugin- Returns:
- The instance of the status
-
loadByStatusId
java.util.Optional<TemporaryStatus> loadByStatusId(int nStatusId)
Load the data from the table- Parameters:
nStatusId-plugin- the Plugin- Returns:
- The instance of the status
-
selectStatusList
java.util.List<TemporaryStatus> selectStatusList()
Load the data of all the status objects and returns them as a list- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the status objects
-
selectIdStatusList
java.util.List<java.lang.Integer> selectIdStatusList()
Load the id of all the status objects and returns them as a list- Parameters:
plugin- the Plugin- Returns:
- The list which contains the id of all the status objects
-
selectStatusListByIds
java.util.List<TemporaryStatus> selectStatusListByIds(java.util.List<java.lang.Integer> listIds)
Load the data of all the avant objects and returns them as a list- Parameters:
plugin- the PluginlistIds- liste of ids- Returns:
- The list which contains the data of all the avant objects
-
loadByStatus
java.util.Optional<TemporaryStatus> loadByStatus(java.lang.String strStatus)
Load the data from the table using a like '%strStatus%'- Parameters:
strStatus-plugin- the Plugin- Returns:
- Only the first status found returned
-
searchItemsIdList
java.util.List<java.lang.Integer> searchItemsIdList(java.util.Map<java.lang.String,java.lang.String> mapFilterCriteria, java.lang.String strColumnToOrder, java.lang.String strSortMode)- Parameters:
mapFilterCriteria-strColumnToOrder-strSortMode-- Returns:
-
-