Class FileStorageTransferRequestHome
- java.lang.Object
-
- fr.paris.lutece.plugins.filestoragetransfer.business.FileStorageTransferRequestHome
-
public final class FileStorageTransferRequestHome extends java.lang.ObjectThis class provides instances management methods (create, find, ...) for Request objects
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FileStorageTransferRequestcreate(FileStorageTransferRequest request)Create an instance of the request classstatic java.util.Optional<FileStorageTransferRequest>findByPrimaryKey(int nKey)Returns an instance of a request whose identifier is specified in parameterstatic java.util.List<java.lang.Integer>getIdRequestsList()Load the id of all the request objects and returns them as a liststatic java.util.List<java.lang.Integer>getIdRequestsListByStatus(java.lang.String status)Load the id of all the request objects with a specific status and returns them as a liststatic java.util.List<FileStorageTransferRequest>getRequestsList()Load the data of all the request objects and returns them as a liststatic java.util.List<FileStorageTransferRequest>getRequestsListByIds(java.util.List<java.lang.Integer> listIds)Load the data of all the avant objects and returns them as a liststatic java.util.List<FileStorageTransferRequest>getRequestsListByStatus(java.lang.String status)Load the data of all the avant objects and returns them as a liststatic fr.paris.lutece.util.ReferenceListgetRequestsReferenceList()Load the data of all the request objects and returns them as a referenceListstatic voidremove(int nKey)Remove the request whose identifier is specified in parameterstatic java.util.List<FileStorageTransferRequest>selectRequestsListByStatusAndExecutionTime(java.sql.Timestamp executionTime, int limit)Load the data of all the avant objects and returns them as a liststatic FileStorageTransferRequestupdate(FileStorageTransferRequest request)Update of the request which is specified in parameter
-
-
-
Method Detail
-
create
public static FileStorageTransferRequest create(FileStorageTransferRequest request)
Create an instance of the request class- Parameters:
request- The instance of the Request which contains the informations to store- Returns:
- The instance of request which has been created with its primary key.
-
update
public static FileStorageTransferRequest update(FileStorageTransferRequest request)
Update of the request which is specified in parameter- Parameters:
request- The instance of the Request which contains the data to store- Returns:
- The instance of the request which has been updated
-
remove
public static void remove(int nKey)
Remove the request whose identifier is specified in parameter- Parameters:
nKey- The request Id
-
findByPrimaryKey
public static java.util.Optional<FileStorageTransferRequest> findByPrimaryKey(int nKey)
Returns an instance of a request whose identifier is specified in parameter- Parameters:
nKey- The request primary key- Returns:
- an instance of Request
-
getRequestsList
public static java.util.List<FileStorageTransferRequest> getRequestsList()
Load the data of all the request objects and returns them as a list- Returns:
- the list which contains the data of all the request objects
-
getIdRequestsList
public static java.util.List<java.lang.Integer> getIdRequestsList()
Load the id of all the request objects and returns them as a list- Returns:
- the list which contains the id of all the request objects
-
getIdRequestsListByStatus
public static java.util.List<java.lang.Integer> getIdRequestsListByStatus(java.lang.String status)
Load the id of all the request objects with a specific status and returns them as a list- Returns:
- the list which contains the id of all the request objects
-
getRequestsReferenceList
public static fr.paris.lutece.util.ReferenceList getRequestsReferenceList()
Load the data of all the request objects and returns them as a referenceList- Returns:
- the referenceList which contains the data of all the request objects
-
getRequestsListByIds
public static java.util.List<FileStorageTransferRequest> getRequestsListByIds(java.util.List<java.lang.Integer> listIds)
Load the data of all the avant objects and returns them as a list- Parameters:
listIds- liste of ids- Returns:
- the list which contains the data of all the avant objects
-
getRequestsListByStatus
public static java.util.List<FileStorageTransferRequest> getRequestsListByStatus(java.lang.String status)
Load the data of all the avant objects and returns them as a list- Parameters:
plugin- the PluginRequestStatus- Status of the request- Returns:
- The list which contains the data of all the avant objects
-
selectRequestsListByStatusAndExecutionTime
public static java.util.List<FileStorageTransferRequest> selectRequestsListByStatusAndExecutionTime(java.sql.Timestamp executionTime, int limit)
Load the data of all the avant objects and returns them as a list- Parameters:
plugin- the PluginRequestStatus- Status of the request- Returns:
- The list which contains the data of all the avant objects
-
-