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