1
22
23 package com.liferay.portal.service.persistence;
24
25
31 public interface ListTypePersistence {
32 public com.liferay.portal.model.ListType create(int listTypeId);
33
34 public com.liferay.portal.model.ListType remove(int listTypeId)
35 throws com.liferay.portal.NoSuchListTypeException,
36 com.liferay.portal.SystemException;
37
38 public com.liferay.portal.model.ListType remove(
39 com.liferay.portal.model.ListType listType)
40 throws com.liferay.portal.SystemException;
41
42
45 public com.liferay.portal.model.ListType update(
46 com.liferay.portal.model.ListType listType)
47 throws com.liferay.portal.SystemException;
48
49
62 public com.liferay.portal.model.ListType update(
63 com.liferay.portal.model.ListType listType, boolean merge)
64 throws com.liferay.portal.SystemException;
65
66 public com.liferay.portal.model.ListType updateImpl(
67 com.liferay.portal.model.ListType listType, boolean merge)
68 throws com.liferay.portal.SystemException;
69
70 public com.liferay.portal.model.ListType findByPrimaryKey(int listTypeId)
71 throws com.liferay.portal.NoSuchListTypeException,
72 com.liferay.portal.SystemException;
73
74 public com.liferay.portal.model.ListType fetchByPrimaryKey(int listTypeId)
75 throws com.liferay.portal.SystemException;
76
77 public java.util.List<com.liferay.portal.model.ListType> findByType(
78 java.lang.String type) throws com.liferay.portal.SystemException;
79
80 public java.util.List<com.liferay.portal.model.ListType> findByType(
81 java.lang.String type, int start, int end)
82 throws com.liferay.portal.SystemException;
83
84 public java.util.List<com.liferay.portal.model.ListType> findByType(
85 java.lang.String type, int start, int end,
86 com.liferay.portal.kernel.util.OrderByComparator obc)
87 throws com.liferay.portal.SystemException;
88
89 public com.liferay.portal.model.ListType findByType_First(
90 java.lang.String type,
91 com.liferay.portal.kernel.util.OrderByComparator obc)
92 throws com.liferay.portal.NoSuchListTypeException,
93 com.liferay.portal.SystemException;
94
95 public com.liferay.portal.model.ListType findByType_Last(
96 java.lang.String type,
97 com.liferay.portal.kernel.util.OrderByComparator obc)
98 throws com.liferay.portal.NoSuchListTypeException,
99 com.liferay.portal.SystemException;
100
101 public com.liferay.portal.model.ListType[] findByType_PrevAndNext(
102 int listTypeId, java.lang.String type,
103 com.liferay.portal.kernel.util.OrderByComparator obc)
104 throws com.liferay.portal.NoSuchListTypeException,
105 com.liferay.portal.SystemException;
106
107 public java.util.List<Object> findWithDynamicQuery(
108 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
109 throws com.liferay.portal.SystemException;
110
111 public java.util.List<Object> findWithDynamicQuery(
112 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
113 int end) throws com.liferay.portal.SystemException;
114
115 public java.util.List<com.liferay.portal.model.ListType> findAll()
116 throws com.liferay.portal.SystemException;
117
118 public java.util.List<com.liferay.portal.model.ListType> findAll(
119 int start, int end) throws com.liferay.portal.SystemException;
120
121 public java.util.List<com.liferay.portal.model.ListType> findAll(
122 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
123 throws com.liferay.portal.SystemException;
124
125 public void removeByType(java.lang.String type)
126 throws com.liferay.portal.SystemException;
127
128 public void removeAll() throws com.liferay.portal.SystemException;
129
130 public int countByType(java.lang.String type)
131 throws com.liferay.portal.SystemException;
132
133 public int countAll() throws com.liferay.portal.SystemException;
134
135 public void registerListener(
136 com.liferay.portal.model.ModelListener listener);
137
138 public void unregisterListener(
139 com.liferay.portal.model.ModelListener listener);
140 }