1
22
23 package com.liferay.portal.service.persistence;
24
25
26
39 public interface ListTypePersistence extends BasePersistence {
40 public void cacheResult(com.liferay.portal.model.ListType listType);
41
42 public void cacheResult(
43 java.util.List<com.liferay.portal.model.ListType> listTypes);
44
45 public void clearCache();
46
47 public com.liferay.portal.model.ListType create(int listTypeId);
48
49 public com.liferay.portal.model.ListType remove(int listTypeId)
50 throws com.liferay.portal.NoSuchListTypeException,
51 com.liferay.portal.SystemException;
52
53 public com.liferay.portal.model.ListType remove(
54 com.liferay.portal.model.ListType listType)
55 throws com.liferay.portal.SystemException;
56
57
60 public com.liferay.portal.model.ListType update(
61 com.liferay.portal.model.ListType listType)
62 throws com.liferay.portal.SystemException;
63
64
76 public com.liferay.portal.model.ListType update(
77 com.liferay.portal.model.ListType listType, boolean merge)
78 throws com.liferay.portal.SystemException;
79
80 public com.liferay.portal.model.ListType updateImpl(
81 com.liferay.portal.model.ListType listType, boolean merge)
82 throws com.liferay.portal.SystemException;
83
84 public com.liferay.portal.model.ListType findByPrimaryKey(int listTypeId)
85 throws com.liferay.portal.NoSuchListTypeException,
86 com.liferay.portal.SystemException;
87
88 public com.liferay.portal.model.ListType fetchByPrimaryKey(int listTypeId)
89 throws com.liferay.portal.SystemException;
90
91 public java.util.List<com.liferay.portal.model.ListType> findByType(
92 java.lang.String type) throws com.liferay.portal.SystemException;
93
94 public java.util.List<com.liferay.portal.model.ListType> findByType(
95 java.lang.String type, int start, int end)
96 throws com.liferay.portal.SystemException;
97
98 public java.util.List<com.liferay.portal.model.ListType> findByType(
99 java.lang.String type, int start, int end,
100 com.liferay.portal.kernel.util.OrderByComparator obc)
101 throws com.liferay.portal.SystemException;
102
103 public com.liferay.portal.model.ListType findByType_First(
104 java.lang.String type,
105 com.liferay.portal.kernel.util.OrderByComparator obc)
106 throws com.liferay.portal.NoSuchListTypeException,
107 com.liferay.portal.SystemException;
108
109 public com.liferay.portal.model.ListType findByType_Last(
110 java.lang.String type,
111 com.liferay.portal.kernel.util.OrderByComparator obc)
112 throws com.liferay.portal.NoSuchListTypeException,
113 com.liferay.portal.SystemException;
114
115 public com.liferay.portal.model.ListType[] findByType_PrevAndNext(
116 int listTypeId, java.lang.String type,
117 com.liferay.portal.kernel.util.OrderByComparator obc)
118 throws com.liferay.portal.NoSuchListTypeException,
119 com.liferay.portal.SystemException;
120
121 public java.util.List<Object> findWithDynamicQuery(
122 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
123 throws com.liferay.portal.SystemException;
124
125 public java.util.List<Object> findWithDynamicQuery(
126 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
127 int end) throws com.liferay.portal.SystemException;
128
129 public java.util.List<com.liferay.portal.model.ListType> findAll()
130 throws com.liferay.portal.SystemException;
131
132 public java.util.List<com.liferay.portal.model.ListType> findAll(
133 int start, int end) throws com.liferay.portal.SystemException;
134
135 public java.util.List<com.liferay.portal.model.ListType> findAll(
136 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
137 throws com.liferay.portal.SystemException;
138
139 public void removeByType(java.lang.String type)
140 throws com.liferay.portal.SystemException;
141
142 public void removeAll() throws com.liferay.portal.SystemException;
143
144 public int countByType(java.lang.String type)
145 throws com.liferay.portal.SystemException;
146
147 public int countAll() throws com.liferay.portal.SystemException;
148 }