本文整理汇总了Java中org.audit4j.core.annotation.SelectionType类的典型用法代码示例。如果您正苦于以下问题:Java SelectionType类的具体用法?Java SelectionType怎么用?Java SelectionType使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
SelectionType类属于org.audit4j.core.annotation包,在下文中一共展示了SelectionType类的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: saveCreditCard
import org.audit4j.core.annotation.SelectionType; //导入依赖的package包/类
@Override
@Audit(selection=SelectionType.MARKED)
public void saveCreditCard(@AuditField(field = "cardUserName") String validName,
@AuditField(field = "expiryDate") Date expiry,
@AuditField(field = "cardNumber") @DeIdentify(fromRight = 4) String cardNumber) {
}
示例2: savePayment
import org.audit4j.core.annotation.SelectionType; //导入依赖的package包/类
@Override
@Audit(selection=SelectionType.MARKED)
public void savePayment(@AuditField(field = "paymentUserId") String userId,
@AuditField(field = "paymentItems") List<Item> items) {
}
示例3: findOwnerById
import org.audit4j.core.annotation.SelectionType; //导入依赖的package包/类
@Audit(selection=SelectionType.MARKED)
Owner findOwnerById(@AuditField(field = "id") int id) throws DataAccessException;
示例4: findPetById
import org.audit4j.core.annotation.SelectionType; //导入依赖的package包/类
@Audit(selection=SelectionType.MARKED)
Pet findPetById(@AuditField(field = "id")int id) throws DataAccessException;
示例5: savePet
import org.audit4j.core.annotation.SelectionType; //导入依赖的package包/类
@Audit(selection=SelectionType.MARKED)
void savePet(@AuditField(field = "pet") Pet pet) throws DataAccessException;
示例6: saveVisit
import org.audit4j.core.annotation.SelectionType; //导入依赖的package包/类
@Audit(selection=SelectionType.MARKED)
void saveVisit(@AuditField(field = "visit") Visit visit) throws DataAccessException;
示例7: findVets
import org.audit4j.core.annotation.SelectionType; //导入依赖的package包/类
@Audit(selection=SelectionType.MARKED)
Collection<Vet> findVets() throws DataAccessException;
示例8: saveOwner
import org.audit4j.core.annotation.SelectionType; //导入依赖的package包/类
@Audit(selection=SelectionType.MARKED)
void saveOwner(@AuditField(field = "owener") Owner owner) throws DataAccessException;
示例9: findOwnerByLastName
import org.audit4j.core.annotation.SelectionType; //导入依赖的package包/类
@Audit(selection=SelectionType.MARKED)
Collection<Owner> findOwnerByLastName(@AuditField(field = "lastName") String lastName) throws DataAccessException;
示例10: findOwnerByLastName
import org.audit4j.core.annotation.SelectionType; //导入依赖的package包/类
@Override
@Transactional(readOnly = true)
@Audit(selection=SelectionType.MARKED)
public Collection<Owner> findOwnerByLastName(@AuditField(field = "id") String lastName) throws DataAccessException {
return ownerRepository.findByLastName(lastName);
}
示例11: testAnnotation_selection_marked
import org.audit4j.core.annotation.SelectionType; //导入依赖的package包/类
@Audit(selection = SelectionType.MARKED)
public void testAnnotation_selection_marked(@AuditField(field = "a") Integer a, @AuditField(field = "b") String b,
@AuditField(field = "c") MethodAnnotationMock c, Object d,
@AuditField(field = "e") String e) {
}
示例12: testAnnotation_selection_marked_deidentify
import org.audit4j.core.annotation.SelectionType; //导入依赖的package包/类
@Audit(selection = SelectionType.MARKED)
public void testAnnotation_selection_marked_deidentify(@DeIdentify @AuditField(field = "b") String b) {
}
示例13: testAnnotation_selection_marked_deidentify_from_left
import org.audit4j.core.annotation.SelectionType; //导入依赖的package包/类
@Audit(selection = SelectionType.MARKED)
public void testAnnotation_selection_marked_deidentify_from_left(@DeIdentify(fromLeft=2) @AuditField(field = "b") String b) {
}
示例14: testAnnotation_selection_marked_deidentify_from_right
import org.audit4j.core.annotation.SelectionType; //导入依赖的package包/类
@Audit(selection = SelectionType.MARKED)
public void testAnnotation_selection_marked_deidentify_from_right(@DeIdentify(fromRight=2) @AuditField(field = "b") String b) {
}