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 obc)
72 throws com.liferay.portal.kernel.exception.SystemException;
73
74 public com.liferay.portal.model.LayoutSetPrototype findByCompanyId_First(
75 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
76 throws com.liferay.portal.NoSuchLayoutSetPrototypeException,
77 com.liferay.portal.kernel.exception.SystemException;
78
79 public com.liferay.portal.model.LayoutSetPrototype findByCompanyId_Last(
80 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
81 throws com.liferay.portal.NoSuchLayoutSetPrototypeException,
82 com.liferay.portal.kernel.exception.SystemException;
83
84 public com.liferay.portal.model.LayoutSetPrototype[] findByCompanyId_PrevAndNext(
85 long layoutSetPrototypeId, long companyId,
86 com.liferay.portal.kernel.util.OrderByComparator obc)
87 throws com.liferay.portal.NoSuchLayoutSetPrototypeException,
88 com.liferay.portal.kernel.exception.SystemException;
89
90 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByC_A(
91 long companyId, boolean active)
92 throws com.liferay.portal.kernel.exception.SystemException;
93
94 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByC_A(
95 long companyId, boolean active, int start, int end)
96 throws com.liferay.portal.kernel.exception.SystemException;
97
98 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findByC_A(
99 long companyId, boolean active, int start, int end,
100 com.liferay.portal.kernel.util.OrderByComparator obc)
101 throws com.liferay.portal.kernel.exception.SystemException;
102
103 public com.liferay.portal.model.LayoutSetPrototype findByC_A_First(
104 long companyId, boolean active,
105 com.liferay.portal.kernel.util.OrderByComparator obc)
106 throws com.liferay.portal.NoSuchLayoutSetPrototypeException,
107 com.liferay.portal.kernel.exception.SystemException;
108
109 public com.liferay.portal.model.LayoutSetPrototype findByC_A_Last(
110 long companyId, boolean active,
111 com.liferay.portal.kernel.util.OrderByComparator obc)
112 throws com.liferay.portal.NoSuchLayoutSetPrototypeException,
113 com.liferay.portal.kernel.exception.SystemException;
114
115 public com.liferay.portal.model.LayoutSetPrototype[] findByC_A_PrevAndNext(
116 long layoutSetPrototypeId, long companyId, boolean active,
117 com.liferay.portal.kernel.util.OrderByComparator obc)
118 throws com.liferay.portal.NoSuchLayoutSetPrototypeException,
119 com.liferay.portal.kernel.exception.SystemException;
120
121 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findAll()
122 throws com.liferay.portal.kernel.exception.SystemException;
123
124 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findAll(
125 int start, int end)
126 throws com.liferay.portal.kernel.exception.SystemException;
127
128 public java.util.List<com.liferay.portal.model.LayoutSetPrototype> findAll(
129 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
130 throws com.liferay.portal.kernel.exception.SystemException;
131
132 public void removeByCompanyId(long companyId)
133 throws com.liferay.portal.kernel.exception.SystemException;
134
135 public void removeByC_A(long companyId, boolean active)
136 throws com.liferay.portal.kernel.exception.SystemException;
137
138 public void removeAll()
139 throws com.liferay.portal.kernel.exception.SystemException;
140
141 public int countByCompanyId(long companyId)
142 throws com.liferay.portal.kernel.exception.SystemException;
143
144 public int countByC_A(long companyId, boolean active)
145 throws com.liferay.portal.kernel.exception.SystemException;
146
147 public int countAll()
148 throws com.liferay.portal.kernel.exception.SystemException;
149 }