1
14
15 package com.liferay.portal.service.persistence;
16
17 import com.liferay.portal.model.LayoutSetPrototype;
18
19
32 public interface LayoutSetPrototypePersistence extends BasePersistence<LayoutSetPrototype> {
33 public void cacheResult(
34 com.liferay.portal.model.LayoutSetPrototype layoutSetPrototype);
35
36 public void cacheResult(
37 java.util.List<com.liferay.portal.model.LayoutSetPrototype> layoutSetPrototypes);
38
39 public com.liferay.portal.model.LayoutSetPrototype create(
40 long layoutSetPrototypeId);
41
42 public com.liferay.portal.model.LayoutSetPrototype remove(
43 long layoutSetPrototypeId)
44 throws com.liferay.portal.NoSuchLayoutSetPrototypeException,
45 com.liferay.portal.kernel.exception.SystemException;
46
47 public com.liferay.portal.model.LayoutSetPrototype updateImpl(
48 com.liferay.portal.model.LayoutSetPrototype layoutSetPrototype,
49 boolean merge)
50 throws com.liferay.portal.kernel.exception.SystemException;
51
52 public com.liferay.portal.model.LayoutSetPrototype findByPrimaryKey(
53 long layoutSetPrototypeId)
54 throws com.liferay.portal.NoSuchLayoutSetPrototypeException,
55 com.liferay.portal.kernel.exception.SystemException;
56
57 public com.liferay.portal.model.LayoutSetPrototype fetchByPrimaryKey(
58 long layoutSetPrototypeId)
59 throws com.liferay.portal.kernel.exception.SystemException;
60
61 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByCompanyId(
62 long companyId)
63 throws com.liferay.portal.kernel.exception.SystemException;
64
65 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByCompanyId(
66 long companyId, int start, int end)
67 throws com.liferay.portal.kernel.exception.SystemException;
68
69 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByCompanyId(
70 long companyId, int start, int end,
71 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
72 throws com.liferay.portal.kernel.exception.SystemException;
73
74 public com.liferay.portal.model.LayoutSetPrototype findByCompanyId_First(
75 long companyId,
76 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
77 throws com.liferay.portal.NoSuchLayoutSetPrototypeException,
78 com.liferay.portal.kernel.exception.SystemException;
79
80 public com.liferay.portal.model.LayoutSetPrototype findByCompanyId_Last(
81 long companyId,
82 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
83 throws com.liferay.portal.NoSuchLayoutSetPrototypeException,
84 com.liferay.portal.kernel.exception.SystemException;
85
86 public com.liferay.portal.model.LayoutSetPrototype[] findByCompanyId_PrevAndNext(
87 long layoutSetPrototypeId, long companyId,
88 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
89 throws com.liferay.portal.NoSuchLayoutSetPrototypeException,
90 com.liferay.portal.kernel.exception.SystemException;
91
92 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByC_A(
93 long companyId, boolean active)
94 throws com.liferay.portal.kernel.exception.SystemException;
95
96 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByC_A(
97 long companyId, boolean active, int start, int end)
98 throws com.liferay.portal.kernel.exception.SystemException;
99
100 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByC_A(
101 long companyId, boolean active, int start, int end,
102 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
103 throws com.liferay.portal.kernel.exception.SystemException;
104
105 public com.liferay.portal.model.LayoutSetPrototype findByC_A_First(
106 long companyId, boolean active,
107 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
108 throws com.liferay.portal.NoSuchLayoutSetPrototypeException,
109 com.liferay.portal.kernel.exception.SystemException;
110
111 public com.liferay.portal.model.LayoutSetPrototype findByC_A_Last(
112 long companyId, boolean active,
113 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
114 throws com.liferay.portal.NoSuchLayoutSetPrototypeException,
115 com.liferay.portal.kernel.exception.SystemException;
116
117 public com.liferay.portal.model.LayoutSetPrototype[] findByC_A_PrevAndNext(
118 long layoutSetPrototypeId, long companyId, boolean active,
119 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
120 throws com.liferay.portal.NoSuchLayoutSetPrototypeException,
121 com.liferay.portal.kernel.exception.SystemException;
122
123 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findAll()
124 throws com.liferay.portal.kernel.exception.SystemException;
125
126 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findAll(
127 int start, int end)
128 throws com.liferay.portal.kernel.exception.SystemException;
129
130 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findAll(
131 int start, int end,
132 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
133 throws com.liferay.portal.kernel.exception.SystemException;
134
135 public void removeByCompanyId(long companyId)
136 throws com.liferay.portal.kernel.exception.SystemException;
137
138 public void removeByC_A(long companyId, boolean active)
139 throws com.liferay.portal.kernel.exception.SystemException;
140
141 public void removeAll()
142 throws com.liferay.portal.kernel.exception.SystemException;
143
144 public int countByCompanyId(long companyId)
145 throws com.liferay.portal.kernel.exception.SystemException;
146
147 public int countByC_A(long companyId, boolean active)
148 throws com.liferay.portal.kernel.exception.SystemException;
149
150 public int countAll()
151 throws com.liferay.portal.kernel.exception.SystemException;
152 }