All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.infusers.core.audit.search.AuditSpecification Maven / Gradle / Ivy

package com.infusers.core.audit.search;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.infusers.core.search.AbsractSpecification;
import com.infusers.core.search.SpecificationConfigElement;

public class AuditSpecification extends AbsractSpecification {
	
	public AuditSpecification(String userEmailId, String searchString) {
		super(userEmailId, searchString, "userEmailId");
	}
	
	protected List getConfigElements() {
		List list = new ArrayList();
		
		list.add(new SpecificationConfigElement(String.class, String.class, "userEmailId"));
		list.add(new SpecificationConfigElement(Long.class, String.class, "id"));
		list.add(new SpecificationConfigElement(Date.class, String.class, "createdAt"));
		list.add(new SpecificationConfigElement(String.class, String.class, "entityName"));
		list.add(new SpecificationConfigElement(String.class, String.class, "entityId"));
		list.add(new SpecificationConfigElement(String.class, String.class, "action"));
		list.add(new SpecificationConfigElement(String.class, String.class, "comments"));
		
		return list;
	}

 }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy