Project

General

Profile

Download (1.63 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2009 EDIT
3
* European Distributed Institute of Taxonomy
4
* http://www.e-taxonomy.eu
5
*
6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7
* See LICENSE.TXT at the top of this package for the full license terms.
8
*/
9

    
10
package eu.etaxonomy.cdm.api.service.config;
11

    
12
import java.io.Serializable;
13
import java.util.List;
14

    
15
import org.hibernate.criterion.Criterion;
16

    
17
import eu.etaxonomy.cdm.model.common.IIdentifiableEntity;
18
import eu.etaxonomy.cdm.persistence.query.MatchMode;
19
import eu.etaxonomy.cdm.persistence.query.OrderHint;
20

    
21
/**
22
 * @author a.babadshanjan
23
 * @since 03.03.2009
24
 */
25
public interface IIdentifiableEntityServiceConfigurator<T extends IIdentifiableEntity> extends Serializable {
26

    
27
	public Class<? extends T> getClazz();
28

    
29
	public void setClazz(Class<? extends T> clazz);
30

    
31
	public String getTitleSearchString();
32

    
33
	/**
34
	 * Replaces all occurrences of '*' in titleSearchString with '%'
35
	 *
36
	 * @return
37
	 */
38
	public String getTitleSearchStringSqlized();
39

    
40
	public void setTitleSearchString(String titleSearchString);
41

    
42
	public MatchMode getMatchMode();
43

    
44
	public void setMatchMode(MatchMode matchMode);
45

    
46
	public Integer getPageSize();
47

    
48
	public void setPageSize(Integer pageSize);
49

    
50
	public Integer getPageNumber();
51

    
52
	public void setPageNumber(Integer pageNumber);
53

    
54
	public List<Criterion> getCriteria();
55

    
56
	public void setCriteria(List<Criterion> criteria);
57

    
58
	public List<OrderHint> getOrderHints();
59

    
60
	public void setOrderHints(List<OrderHint> orderHints);
61

    
62
	public List<String> getPropertyPaths();
63

    
64
	public void setPropertyPaths(List<String> propertyPaths);
65

    
66
}
(8-8/24)