Class AnonApplicationService
java.lang.Object
dev.getelements.elements.service.application.AnonApplicationService
- All Implemented Interfaces:
ApplicationService
Created by patricktwohig on 6/26/17.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateApplication(CreateApplicationRequest applicationRequest) Creates a new application and inserts it into the database.voiddeleteApplication(String nameOrId) Deletes an Application with the specific name or identifier.getApplication(String nameOrId) Gets an application with the specific name or identifier.Lists allApplicationinstances avaiable to the current user.getApplications(int offset, int count) Gets the applications registered in the databse given the offset and count.getApplications(int offset, int count, String search) Gets the applications registered in the databse given the offset and count.voidsetApplicationDao(ApplicationDao applicationDao) voidsetApplicationUrls(ApplicationUrls applicationUrls) updateApplication(String nameOrId, UpdateApplicationRequest applicationRequest) Updates an application with the specific name/identifiers.
-
Constructor Details
-
AnonApplicationService
public AnonApplicationService()
-
-
Method Details
-
createApplication
Description copied from interface:ApplicationServiceCreates a new application and inserts it into the database. The retruned value represents theCreateApplicationRequestas it was inserted into the database.- Specified by:
createApplicationin interfaceApplicationService- Parameters:
applicationRequest- the application- Returns:
- the application
-
getApplications
Description copied from interface:ApplicationServiceLists allApplicationinstances avaiable to the current user.- Specified by:
getApplicationsin interfaceApplicationService- Returns:
- a
Pagination<Application>for all available instances.
-
getApplications
Description copied from interface:ApplicationServiceGets the applications registered in the databse given the offset and count.- Specified by:
getApplicationsin interfaceApplicationService- Parameters:
offset- the offsetcount- the count- Returns:
- a
PaginationofApplicationinstances
-
getApplications
Description copied from interface:ApplicationServiceGets the applications registered in the databse given the offset and count.- Specified by:
getApplicationsin interfaceApplicationService- Parameters:
offset- the offsetcount- the countsearch- a query to filter the results- Returns:
- a
PaginationofApplicationinstances
-
getApplication
Description copied from interface:ApplicationServiceGets an application with the specific name or identifier.- Specified by:
getApplicationin interfaceApplicationService
-
updateApplication
Description copied from interface:ApplicationServiceUpdates an application with the specific name/identifiers.- Specified by:
updateApplicationin interfaceApplicationService- Parameters:
nameOrId- the name, or idapplicationRequest- theUpdateApplicationRequestobject to write- Returns:
- the
Applicationobject as it was persisted to the database.
-
deleteApplication
Description copied from interface:ApplicationServiceDeletes an Application with the specific name or identifier.- Specified by:
deleteApplicationin interfaceApplicationService- Parameters:
nameOrId- the name, or id
-
getApplicationDao
-
setApplicationDao
-
getApplicationUrls
-
setApplicationUrls
-