1
14
15 package com.liferay.portal.service.persistence;
16
17 import com.liferay.portal.model.ListType;
18
19
32 public interface ListTypePersistence extends BasePersistence<ListType> {
33 public void cacheResult(com.liferay.portal.model.ListType listType);
34
35 public void cacheResult(
36 java.util.List<com.liferay.portal.model.ListType> listTypes);
37
38 public com.liferay.portal.model.ListType create(int listTypeId);
39
40 public com.liferay.portal.model.ListType remove(int listTypeId)
41 throws com.liferay.portal.NoSuchListTypeException,
42 com.liferay.portal.SystemException;
43
44
47 public com.liferay.portal.model.ListType update(
48 com.liferay.portal.model.ListType listType)
49 throws com.liferay.portal.SystemException;
50
51 public com.liferay.portal.model.ListType updateImpl(
52 com.liferay.portal.model.ListType listType, boolean merge)
53 throws com.liferay.portal.SystemException;
54
55 public com.liferay.portal.model.ListType findByPrimaryKey(int listTypeId)
56 throws com.liferay.portal.NoSuchListTypeException,
57 com.liferay.portal.SystemException;
58
59 public com.liferay.portal.model.ListType fetchByPrimaryKey(int listTypeId)
60 throws com.liferay.portal.SystemException;
61
62 public java.util.List<com.liferay.portal.model.ListType> findByType(
63 java.lang.String type) throws com.liferay.portal.SystemException;
64
65 public java.util.List<com.liferay.portal.model.ListType> findByType(
66 java.lang.String type, int start, int end)
67 throws com.liferay.portal.SystemException;
68
69 public java.util.List<com.liferay.portal.model.ListType> findByType(
70 java.lang.String type, int start, int end,
71 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
72 throws com.liferay.portal.SystemException;
73
74 public com.liferay.portal.model.ListType findByType_First(
75 java.lang.String type,
76 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
77 throws com.liferay.portal.NoSuchListTypeException,
78 com.liferay.portal.SystemException;
79
80 public com.liferay.portal.model.ListType findByType_Last(
81 java.lang.String type,
82 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
83 throws com.liferay.portal.NoSuchListTypeException,
84 com.liferay.portal.SystemException;
85
86 public com.liferay.portal.model.ListType[] findByType_PrevAndNext(
87 int listTypeId, java.lang.String type,
88 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
89 throws com.liferay.portal.NoSuchListTypeException,
90 com.liferay.portal.SystemException;
91
92 public java.util.List<com.liferay.portal.model.ListType> findAll()
93 throws com.liferay.portal.SystemException;
94
95 public java.util.List<com.liferay.portal.model.ListType> findAll(
96 int start, int end) throws com.liferay.portal.SystemException;
97
98 public java.util.List<com.liferay.portal.model.ListType> findAll(
99 int start, int end,
100 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
101 throws com.liferay.portal.SystemException;
102
103 public void removeByType(java.lang.String type)
104 throws com.liferay.portal.SystemException;
105
106 public void removeAll() throws com.liferay.portal.SystemException;
107
108 public int countByType(java.lang.String type)
109 throws com.liferay.portal.SystemException;
110
111 public int countAll() throws com.liferay.portal.SystemException;
112 }