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.kernel.exception.SystemException;
43
44 public com.liferay.portal.model.ListType updateImpl(
45 com.liferay.portal.model.ListType listType, boolean merge)
46 throws com.liferay.portal.kernel.exception.SystemException;
47
48 public com.liferay.portal.model.ListType findByPrimaryKey(int listTypeId)
49 throws com.liferay.portal.NoSuchListTypeException,
50 com.liferay.portal.kernel.exception.SystemException;
51
52 public com.liferay.portal.model.ListType fetchByPrimaryKey(int listTypeId)
53 throws com.liferay.portal.kernel.exception.SystemException;
54
55 public java.util.List<com.liferay.portal.model.ListType> findByType(
56 java.lang.String type)
57 throws com.liferay.portal.kernel.exception.SystemException;
58
59 public java.util.List<com.liferay.portal.model.ListType> findByType(
60 java.lang.String type, int start, int end)
61 throws com.liferay.portal.kernel.exception.SystemException;
62
63 public java.util.List<com.liferay.portal.model.ListType> findByType(
64 java.lang.String type, int start, int end,
65 com.liferay.portal.kernel.util.OrderByComparator obc)
66 throws com.liferay.portal.kernel.exception.SystemException;
67
68 public com.liferay.portal.model.ListType findByType_First(
69 java.lang.String type,
70 com.liferay.portal.kernel.util.OrderByComparator obc)
71 throws com.liferay.portal.NoSuchListTypeException,
72 com.liferay.portal.kernel.exception.SystemException;
73
74 public com.liferay.portal.model.ListType findByType_Last(
75 java.lang.String type,
76 com.liferay.portal.kernel.util.OrderByComparator obc)
77 throws com.liferay.portal.NoSuchListTypeException,
78 com.liferay.portal.kernel.exception.SystemException;
79
80 public com.liferay.portal.model.ListType[] findByType_PrevAndNext(
81 int listTypeId, java.lang.String type,
82 com.liferay.portal.kernel.util.OrderByComparator obc)
83 throws com.liferay.portal.NoSuchListTypeException,
84 com.liferay.portal.kernel.exception.SystemException;
85
86 public java.util.List<com.liferay.portal.model.ListType> findAll()
87 throws com.liferay.portal.kernel.exception.SystemException;
88
89 public java.util.List<com.liferay.portal.model.ListType> findAll(
90 int start, int end)
91 throws com.liferay.portal.kernel.exception.SystemException;
92
93 public java.util.List<com.liferay.portal.model.ListType> findAll(
94 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
95 throws com.liferay.portal.kernel.exception.SystemException;
96
97 public void removeByType(java.lang.String type)
98 throws com.liferay.portal.kernel.exception.SystemException;
99
100 public void removeAll()
101 throws com.liferay.portal.kernel.exception.SystemException;
102
103 public int countByType(java.lang.String type)
104 throws com.liferay.portal.kernel.exception.SystemException;
105
106 public int countAll()
107 throws com.liferay.portal.kernel.exception.SystemException;
108 }