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
|
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> 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 contextCustomFieldApiExceptionvoid updateCustomFields(java.util.List<CustomField> fields, CallContext context) throws CustomFieldApiException
fields - the list of fields to addcontext - the call contextCustomFieldApiExceptionvoid removeCustomFields(java.util.List<CustomField> fields, CallContext context) throws CustomFieldApiException
fields - context - CustomFieldApiExceptionjava.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-2018. All Rights Reserved.