public interface CustomFieldUserApi extends KillbillApi
Modifier and Type | Method and Description |
---|---|
void |
addCustomFields(java.util.List<CustomField> fields,
CallContext context) |
java.util.List<AuditLogWithHistory> |
getCustomFieldAuditLogsWithHistoryForId(java.util.UUID customFieldId,
AuditLevel auditLevel,
TenantContext context)
Get all the audit entries with history for a given custom field.
|
Pagination<CustomField> |
getCustomFields(java.lang.Long offset,
java.lang.Long limit,
TenantContext context) |
java.util.List<CustomField> |
getCustomFieldsForAccount(java.util.UUID accountId,
TenantContext context) |
java.util.List<CustomField> |
getCustomFieldsForAccountType(java.util.UUID accountId,
ObjectType objectType,
TenantContext context) |
java.util.List<CustomField> |
getCustomFieldsForObject(java.util.UUID objectId,
ObjectType objectType,
TenantContext context) |
void |
removeCustomFields(java.util.List<CustomField> fields,
CallContext context) |
Pagination<CustomField> |
searchCustomFields(java.lang.String searchKey,
java.lang.Long offset,
java.lang.Long limit,
TenantContext context)
Find all custom fields having their object type, field name or value matching the search key
|
Pagination<CustomField> |
searchCustomFields(java.lang.String fieldName,
ObjectType objectType,
java.lang.Long offset,
java.lang.Long limit,
TenantContext context) |
Pagination<CustomField> |
searchCustomFields(java.lang.String fieldName,
java.lang.String fieldValue,
ObjectType objectType,
java.lang.Long offset,
java.lang.Long limit,
TenantContext context) |
void |
updateCustomFields(java.util.List<CustomField> fields,
CallContext context) |
Pagination<CustomField> searchCustomFields(java.lang.String searchKey, java.lang.Long offset, java.lang.Long limit, TenantContext context)
searchKey
- the search keyoffset
- the offset of the first resultlimit
- the maximum number of results to retrievecontext
- the user contextPagination<CustomField> searchCustomFields(java.lang.String fieldName, java.lang.String fieldValue, ObjectType objectType, java.lang.Long offset, java.lang.Long limit, TenantContext context)
fieldName
- the field name to search forfieldValue
- the field value to search forobjectType
- the object type to search foroffset
- the offset of the first resultlimit
- the maximum number of results to retrievecontext
- the user contextPagination<CustomField> searchCustomFields(java.lang.String fieldName, ObjectType objectType, java.lang.Long offset, java.lang.Long limit, TenantContext context)
fieldName
- the field name to search forobjectType
- the object type to search foroffset
- the offset of the first resultlimit
- the maximum number of results to retrievecontext
- the user contextPagination<CustomField> getCustomFields(java.lang.Long offset, java.lang.Long limit, TenantContext context)
context
- the user contextoffset
- the offset of the first resultlimit
- the maximum number of results to retrievevoid addCustomFields(java.util.List<CustomField> fields, CallContext context) throws CustomFieldApiException
fields
- the list of fields to addcontext
- the call contextCustomFieldApiException
void updateCustomFields(java.util.List<CustomField> fields, CallContext context) throws CustomFieldApiException
fields
- the list of fields to addcontext
- the call contextCustomFieldApiException
void removeCustomFields(java.util.List<CustomField> fields, CallContext context) throws CustomFieldApiException
fields
- context
- CustomFieldApiException
java.util.List<CustomField> getCustomFieldsForObject(java.util.UUID objectId, ObjectType objectType, TenantContext context)
objectId
- the object idobjectType
- the object typecontext
- the call contextjava.util.List<CustomField> getCustomFieldsForAccountType(java.util.UUID accountId, ObjectType objectType, TenantContext context)
accountId
- the account idobjectType
- the object typecontext
- the call contextjava.util.List<CustomField> getCustomFieldsForAccount(java.util.UUID accountId, TenantContext context)
accountId
- the account idcontext
- the call contextjava.util.List<AuditLogWithHistory> getCustomFieldAuditLogsWithHistoryForId(java.util.UUID customFieldId, AuditLevel auditLevel, TenantContext context)
customFieldId
- the custom field idauditLevel
- audit level (verbosity)context
- the tenant contextCopyright © 2010-2019. All Rights Reserved.