Class AuditFieldType

java.lang.Object
edu.internet2.middleware.grouper.audit.AuditFieldType

public class AuditFieldType extends Object
group together audit columns into certain types, for easy querying
  • Field Details

  • Constructor Details

    • AuditFieldType

      public AuditFieldType()
  • Method Details

    • addAuditFieldType

      public static void addAuditFieldType(String fieldType, AuditTypeIdentifier auditTypeIdentifier, String fieldLabel)
      add an audit field type for field type searches
      Parameters:
      fieldType -
      auditTypeIdentifier -
      fieldLabel -
    • fieldTypeSet

      public static Set<MultiKey> fieldTypeSet(String fieldType)
      return the list of multikeys of
      Parameters:
      fieldType -
      Returns:
      the set of multikeys which is the AuditTypeIdentifier and field label, will not be null
    • criterion

      public static org.hibernate.criterion.Criterion criterion(String fieldType, Object fieldValue)
      return the criterion for a hibernate criteria query
      Parameters:
      fieldType -
      fieldValue -
      Returns:
      the criterion or null if not exist