public class LicenseCustomFieldsService extends Object
Modifier and Type | Method and Description |
---|---|
BackOfficeLicenseCustomField |
create(CreateLicenseCustomFieldRequest request)
Creates a new license custom field.
|
void |
delete(Integer id) |
BackOfficeLicenseCustomField |
get(Integer id)
Retrieves license custom field data.
|
List<BackOfficeLicenseCustomField> |
paginate(SearchLicenseCustomFieldsRequest request)
Goes through all pages of the search license custom fields response and returns a list with all possible
license custom fields that satisfy the request.
|
SearchResult<BackOfficeLicenseCustomField> |
search(SearchLicenseCustomFieldsRequest request)
Searches through all license custom fields and returns the search result which contains all
license custom fields that satisfy the request queries.
|
BackOfficeLicenseCustomField |
update(Integer id,
UpdateCustomLicenseFieldRequest request)
Updates the license custom field.
|
public SearchResult<BackOfficeLicenseCustomField> search(SearchLicenseCustomFieldsRequest request) throws com.licensespring.model.exceptions.LicenseSpringException
request
- search request, can be made using builder methodcom.licensespring.model.exceptions.LicenseSpringException
public BackOfficeLicenseCustomField get(Integer id) throws com.licensespring.model.exceptions.LicenseSpringException
id
- id of the license custom field that needs to be fetchedcom.licensespring.model.exceptions.LicenseSpringException
public BackOfficeLicenseCustomField create(CreateLicenseCustomFieldRequest request) throws com.licensespring.model.exceptions.LicenseSpringException
request
- use builder for constructingcom.licensespring.model.exceptions.LicenseSpringException
public BackOfficeLicenseCustomField update(Integer id, UpdateCustomLicenseFieldRequest request) throws com.licensespring.model.exceptions.LicenseSpringException
id
- id of the license custom field that needs an updaterequest
- use builder for constructing, populate only fields that you want to updatecom.licensespring.model.exceptions.LicenseSpringException
public void delete(Integer id) throws com.licensespring.model.exceptions.LicenseSpringException
com.licensespring.model.exceptions.LicenseSpringException
public List<BackOfficeLicenseCustomField> paginate(SearchLicenseCustomFieldsRequest request) throws com.licensespring.model.exceptions.LicenseSpringException
search(SearchLicenseCustomFieldsRequest)
in order to get results per page.request
- can be made with builder, contains query fieldscom.licensespring.model.exceptions.LicenseSpringException
Copyright © 2023 Cense Data Inc.. All rights reserved.