当前位置: 首页>>代码示例>>Java>>正文


Java SelectionType类代码示例

本文整理汇总了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) {

}
 
开发者ID:nipunthathsara,项目名称:Audit4j-Hibernate,代码行数:8,代码来源:PaymentServiceImpl.java

示例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) {

}
 
开发者ID:nipunthathsara,项目名称:Audit4j-Hibernate,代码行数:7,代码来源:PaymentServiceImpl.java

示例3: findOwnerById

import org.audit4j.core.annotation.SelectionType; //导入依赖的package包/类
@Audit(selection=SelectionType.MARKED)
Owner findOwnerById(@AuditField(field = "id") int id) throws DataAccessException;
 
开发者ID:audit4j,项目名称:audit4j-demo,代码行数:3,代码来源:ClinicService.java

示例4: findPetById

import org.audit4j.core.annotation.SelectionType; //导入依赖的package包/类
@Audit(selection=SelectionType.MARKED)
Pet findPetById(@AuditField(field = "id")int id) throws DataAccessException;
 
开发者ID:audit4j,项目名称:audit4j-demo,代码行数:3,代码来源:ClinicService.java

示例5: savePet

import org.audit4j.core.annotation.SelectionType; //导入依赖的package包/类
@Audit(selection=SelectionType.MARKED)
void savePet(@AuditField(field = "pet") Pet pet) throws DataAccessException;
 
开发者ID:audit4j,项目名称:audit4j-demo,代码行数:3,代码来源:ClinicService.java

示例6: saveVisit

import org.audit4j.core.annotation.SelectionType; //导入依赖的package包/类
@Audit(selection=SelectionType.MARKED)
void saveVisit(@AuditField(field = "visit") Visit visit) throws DataAccessException;
 
开发者ID:audit4j,项目名称:audit4j-demo,代码行数:3,代码来源:ClinicService.java

示例7: findVets

import org.audit4j.core.annotation.SelectionType; //导入依赖的package包/类
@Audit(selection=SelectionType.MARKED)
Collection<Vet> findVets() throws DataAccessException;
 
开发者ID:audit4j,项目名称:audit4j-demo,代码行数:3,代码来源:ClinicService.java

示例8: saveOwner

import org.audit4j.core.annotation.SelectionType; //导入依赖的package包/类
@Audit(selection=SelectionType.MARKED)
void saveOwner(@AuditField(field = "owener") Owner owner) throws DataAccessException;
 
开发者ID:audit4j,项目名称:audit4j-demo,代码行数:3,代码来源:ClinicService.java

示例9: findOwnerByLastName

import org.audit4j.core.annotation.SelectionType; //导入依赖的package包/类
@Audit(selection=SelectionType.MARKED)
Collection<Owner> findOwnerByLastName(@AuditField(field = "lastName") String lastName) throws DataAccessException;
 
开发者ID:audit4j,项目名称:audit4j-demo,代码行数:3,代码来源:ClinicService.java

示例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);
}
 
开发者ID:audit4j,项目名称:audit4j-demo,代码行数:7,代码来源:ClinicServiceImpl.java

示例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) {
}
 
开发者ID:audit4j,项目名称:audit4j-core,代码行数:6,代码来源:MethodAnnotationMock.java

示例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) {
}
 
开发者ID:audit4j,项目名称:audit4j-core,代码行数:4,代码来源:MethodAnnotationMock.java

示例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) {
}
 
开发者ID:audit4j,项目名称:audit4j-core,代码行数:4,代码来源:MethodAnnotationMock.java

示例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) {
}
 
开发者ID:audit4j,项目名称:audit4j-core,代码行数:4,代码来源:MethodAnnotationMock.java


注:本文中的org.audit4j.core.annotation.SelectionType类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。