Package org.apache.openjpa.audit

Examples of org.apache.openjpa.audit.Auditable.values()


    Auditable auditable = cls.getAnnotation(Auditable.class);
    if (auditable == null) {
      return;
    }
   
    List<AuditableOperation> events = Arrays.asList(auditable.values());
    if (events.contains(AuditableOperation.ALL) || events.contains(AuditableOperation.CREATE)) {
      _newTypes.add(cls);
      _allTypes.add(cls);
    }
    if (events.contains(AuditableOperation.ALL) || events.contains(AuditableOperation.UPDATE)) {
View Full Code Here


    Auditable auditable = cls.getAnnotation(Auditable.class);
    if (auditable == null) {
      return;
    }
   
    List<AuditableOperation> events = Arrays.asList(auditable.values());
    if (events.contains(AuditableOperation.ALL) || events.contains(AuditableOperation.CREATE)) {
      _newTypes.add(cls);
      _allTypes.add(cls);
    }
    if (events.contains(AuditableOperation.ALL) || events.contains(AuditableOperation.UPDATE)) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.