public class DefaultCustomFieldDao extends EntityDaoBase<CustomFieldModelDao,org.killbill.billing.util.customfield.CustomField,org.killbill.billing.util.api.CustomFieldApiException> implements CustomFieldDao
paginationHelper, transactionalSqlDao| Constructor and Description |
|---|
DefaultCustomFieldDao(org.skife.jdbi.v2.IDBI dbi,
org.skife.jdbi.v2.IDBI roDbi,
org.killbill.clock.Clock clock,
CacheControllerDispatcher controllerDispatcher,
NonEntityDao nonEntityDao,
InternalCallContextFactory internalCallContextFactory,
org.killbill.bus.api.PersistentBus bus,
AuditDao auditDao) |
bulkCreate, create, create, createAndRefresh, get, getAll, getById, getByRecordId, getCount, getCreateEntitySqlDaoTransactionWrapper, getCreateEntitySqlDaoTransactionWrapper, getNaturalOrderingColumns, getRecordId, test@Inject
public DefaultCustomFieldDao(org.skife.jdbi.v2.IDBI dbi,
@Named(value="main-ro")
org.skife.jdbi.v2.IDBI roDbi,
org.killbill.clock.Clock clock,
CacheControllerDispatcher controllerDispatcher,
NonEntityDao nonEntityDao,
InternalCallContextFactory internalCallContextFactory,
org.killbill.bus.api.PersistentBus bus,
AuditDao auditDao)
public java.util.List<CustomFieldModelDao> getCustomFieldsForObject(java.util.UUID objectId, org.killbill.billing.ObjectType objectType, InternalTenantContext context)
getCustomFieldsForObject in interface CustomFieldDaopublic java.util.List<CustomFieldModelDao> getCustomFieldsForAccountType(org.killbill.billing.ObjectType objectType, InternalTenantContext context)
getCustomFieldsForAccountType in interface CustomFieldDaopublic java.util.List<CustomFieldModelDao> getCustomFieldsForAccount(InternalTenantContext context)
getCustomFieldsForAccount in interface CustomFieldDaopublic void deleteCustomFields(java.lang.Iterable<java.util.UUID> customFieldIds,
InternalCallContext context)
throws org.killbill.billing.util.api.CustomFieldApiException
deleteCustomFields in interface CustomFieldDaoorg.killbill.billing.util.api.CustomFieldApiExceptionpublic void updateCustomFields(java.lang.Iterable<CustomFieldModelDao> customFieldIds, InternalCallContext context) throws org.killbill.billing.util.api.CustomFieldApiException
updateCustomFields in interface CustomFieldDaoorg.killbill.billing.util.api.CustomFieldApiExceptionpublic java.util.List<org.killbill.billing.util.audit.AuditLogWithHistory> getCustomFieldAuditLogsWithHistoryForId(java.util.UUID customFieldId, org.killbill.billing.util.api.AuditLevel auditLevel, InternalTenantContext context)
getCustomFieldAuditLogsWithHistoryForId in interface CustomFieldDaoprotected org.killbill.billing.util.api.CustomFieldApiException generateAlreadyExistsException(CustomFieldModelDao entity, InternalCallContext context)
protected boolean checkEntityAlreadyExists(EntitySqlDao<CustomFieldModelDao,org.killbill.billing.util.customfield.CustomField> transactional, CustomFieldModelDao entity, InternalCallContext context)
protected void postBusEventFromTransaction(CustomFieldModelDao customField, CustomFieldModelDao savedCustomField, org.killbill.billing.util.audit.ChangeType changeType, EntitySqlDaoWrapperFactory entitySqlDaoWrapperFactory, InternalCallContext context) throws org.killbill.billing.BillingExceptionBase
postBusEventFromTransaction in class EntityDaoBase<CustomFieldModelDao,org.killbill.billing.util.customfield.CustomField,org.killbill.billing.util.api.CustomFieldApiException>org.killbill.billing.BillingExceptionBasepublic org.killbill.billing.util.entity.Pagination<CustomFieldModelDao> searchCustomFields(java.lang.String searchKey, java.lang.Long offset, java.lang.Long limit, InternalTenantContext context)
searchCustomFields in interface CustomFieldDaopublic org.killbill.billing.util.entity.Pagination<CustomFieldModelDao> searchCustomFields(java.lang.String fieldName, org.killbill.billing.ObjectType objectType, java.lang.Long offset, java.lang.Long limit, InternalTenantContext context)
searchCustomFields in interface CustomFieldDaopublic org.killbill.billing.util.entity.Pagination<CustomFieldModelDao> searchCustomFields(java.lang.String fieldName, @Nullable java.lang.String fieldValue, org.killbill.billing.ObjectType objectType, java.lang.Long offset, java.lang.Long limit, InternalTenantContext context)
searchCustomFields in interface CustomFieldDaoCopyright © 2010-2020. All Rights Reserved.