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.Optional<TemporaryStatus>load(int nKey)Load the data from the tableOptional<TemporaryStatus>loadByStatus(String strStatus)Load the data from the table using a like '%strStatus%'Optional<TemporaryStatus>loadByStatusId(int nStatusId)Load the data from the tableList<Integer>selectIdStatusList()Load the id of all the status objects and returns them as a listList<TemporaryStatus>selectStatusList()Load the data of all the status objects and returns them as a listList<TemporaryStatus>selectStatusListByIds(List<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
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
Optional<TemporaryStatus> loadByStatusId(int nStatusId)
Load the data from the table- Parameters:
nStatusId-plugin- the Plugin- Returns:
- The instance of the status
-
selectStatusList
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
List<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
List<TemporaryStatus> selectStatusListByIds(List<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
Optional<TemporaryStatus> loadByStatus(String strStatus)
Load the data from the table using a like '%strStatus%'- Parameters:
strStatus-plugin- the Plugin- Returns:
- Only the first status found returned
-
-