001 /** 002 * Copyright (c) 2000-present Liferay, Inc. All rights reserved. 003 * 004 * This library is free software; you can redistribute it and/or modify it under 005 * the terms of the GNU Lesser General Public License as published by the Free 006 * Software Foundation; either version 2.1 of the License, or (at your option) 007 * any later version. 008 * 009 * This library is distributed in the hope that it will be useful, but WITHOUT 010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 011 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 012 * details. 013 */ 014 015 package com.liferay.portlet.dynamicdatamapping.service.persistence; 016 017 import aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.portal.service.persistence.BasePersistence; 020 021 import com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink; 022 023 /** 024 * The persistence interface for the d d m storage link service. 025 * 026 * <p> 027 * Caching information and settings can be found in <code>portal.properties</code> 028 * </p> 029 * 030 * @author Brian Wing Shun Chan 031 * @see DDMStorageLinkPersistenceImpl 032 * @see DDMStorageLinkUtil 033 * @generated 034 */ 035 @ProviderType 036 public interface DDMStorageLinkPersistence extends BasePersistence<DDMStorageLink> { 037 /* 038 * NOTE FOR DEVELOPERS: 039 * 040 * Never modify or reference this interface directly. Always use {@link DDMStorageLinkUtil} to access the d d m storage link persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface. 041 */ 042 043 /** 044 * Returns all the d d m storage links where uuid = ?. 045 * 046 * @param uuid the uuid 047 * @return the matching d d m storage links 048 */ 049 public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> findByUuid( 050 java.lang.String uuid); 051 052 /** 053 * Returns a range of all the d d m storage links where uuid = ?. 054 * 055 * <p> 056 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.dynamicdatamapping.model.impl.DDMStorageLinkModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 057 * </p> 058 * 059 * @param uuid the uuid 060 * @param start the lower bound of the range of d d m storage links 061 * @param end the upper bound of the range of d d m storage links (not inclusive) 062 * @return the range of matching d d m storage links 063 */ 064 public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> findByUuid( 065 java.lang.String uuid, int start, int end); 066 067 /** 068 * Returns an ordered range of all the d d m storage links where uuid = ?. 069 * 070 * <p> 071 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.dynamicdatamapping.model.impl.DDMStorageLinkModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 072 * </p> 073 * 074 * @param uuid the uuid 075 * @param start the lower bound of the range of d d m storage links 076 * @param end the upper bound of the range of d d m storage links (not inclusive) 077 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 078 * @return the ordered range of matching d d m storage links 079 */ 080 public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> findByUuid( 081 java.lang.String uuid, int start, int end, 082 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> orderByComparator); 083 084 /** 085 * Returns the first d d m storage link in the ordered set where uuid = ?. 086 * 087 * @param uuid the uuid 088 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 089 * @return the first matching d d m storage link 090 * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException if a matching d d m storage link could not be found 091 */ 092 public com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink findByUuid_First( 093 java.lang.String uuid, 094 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> orderByComparator) 095 throws com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException; 096 097 /** 098 * Returns the first d d m storage link in the ordered set where uuid = ?. 099 * 100 * @param uuid the uuid 101 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 102 * @return the first matching d d m storage link, or <code>null</code> if a matching d d m storage link could not be found 103 */ 104 public com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink fetchByUuid_First( 105 java.lang.String uuid, 106 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> orderByComparator); 107 108 /** 109 * Returns the last d d m storage link in the ordered set where uuid = ?. 110 * 111 * @param uuid the uuid 112 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 113 * @return the last matching d d m storage link 114 * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException if a matching d d m storage link could not be found 115 */ 116 public com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink findByUuid_Last( 117 java.lang.String uuid, 118 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> orderByComparator) 119 throws com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException; 120 121 /** 122 * Returns the last d d m storage link in the ordered set where uuid = ?. 123 * 124 * @param uuid the uuid 125 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 126 * @return the last matching d d m storage link, or <code>null</code> if a matching d d m storage link could not be found 127 */ 128 public com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink fetchByUuid_Last( 129 java.lang.String uuid, 130 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> orderByComparator); 131 132 /** 133 * Returns the d d m storage links before and after the current d d m storage link in the ordered set where uuid = ?. 134 * 135 * @param storageLinkId the primary key of the current d d m storage link 136 * @param uuid the uuid 137 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 138 * @return the previous, current, and next d d m storage link 139 * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException if a d d m storage link with the primary key could not be found 140 */ 141 public com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink[] findByUuid_PrevAndNext( 142 long storageLinkId, java.lang.String uuid, 143 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> orderByComparator) 144 throws com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException; 145 146 /** 147 * Removes all the d d m storage links where uuid = ? from the database. 148 * 149 * @param uuid the uuid 150 */ 151 public void removeByUuid(java.lang.String uuid); 152 153 /** 154 * Returns the number of d d m storage links where uuid = ?. 155 * 156 * @param uuid the uuid 157 * @return the number of matching d d m storage links 158 */ 159 public int countByUuid(java.lang.String uuid); 160 161 /** 162 * Returns the d d m storage link where classPK = ? or throws a {@link com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException} if it could not be found. 163 * 164 * @param classPK the class p k 165 * @return the matching d d m storage link 166 * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException if a matching d d m storage link could not be found 167 */ 168 public com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink findByClassPK( 169 long classPK) 170 throws com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException; 171 172 /** 173 * Returns the d d m storage link where classPK = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 174 * 175 * @param classPK the class p k 176 * @return the matching d d m storage link, or <code>null</code> if a matching d d m storage link could not be found 177 */ 178 public com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink fetchByClassPK( 179 long classPK); 180 181 /** 182 * Returns the d d m storage link where classPK = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 183 * 184 * @param classPK the class p k 185 * @param retrieveFromCache whether to use the finder cache 186 * @return the matching d d m storage link, or <code>null</code> if a matching d d m storage link could not be found 187 */ 188 public com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink fetchByClassPK( 189 long classPK, boolean retrieveFromCache); 190 191 /** 192 * Removes the d d m storage link where classPK = ? from the database. 193 * 194 * @param classPK the class p k 195 * @return the d d m storage link that was removed 196 */ 197 public com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink removeByClassPK( 198 long classPK) 199 throws com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException; 200 201 /** 202 * Returns the number of d d m storage links where classPK = ?. 203 * 204 * @param classPK the class p k 205 * @return the number of matching d d m storage links 206 */ 207 public int countByClassPK(long classPK); 208 209 /** 210 * Returns all the d d m storage links where structureId = ?. 211 * 212 * @param structureId the structure ID 213 * @return the matching d d m storage links 214 */ 215 public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> findByStructureId( 216 long structureId); 217 218 /** 219 * Returns a range of all the d d m storage links where structureId = ?. 220 * 221 * <p> 222 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.dynamicdatamapping.model.impl.DDMStorageLinkModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 223 * </p> 224 * 225 * @param structureId the structure ID 226 * @param start the lower bound of the range of d d m storage links 227 * @param end the upper bound of the range of d d m storage links (not inclusive) 228 * @return the range of matching d d m storage links 229 */ 230 public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> findByStructureId( 231 long structureId, int start, int end); 232 233 /** 234 * Returns an ordered range of all the d d m storage links where structureId = ?. 235 * 236 * <p> 237 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.dynamicdatamapping.model.impl.DDMStorageLinkModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 238 * </p> 239 * 240 * @param structureId the structure ID 241 * @param start the lower bound of the range of d d m storage links 242 * @param end the upper bound of the range of d d m storage links (not inclusive) 243 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 244 * @return the ordered range of matching d d m storage links 245 */ 246 public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> findByStructureId( 247 long structureId, int start, int end, 248 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> orderByComparator); 249 250 /** 251 * Returns the first d d m storage link in the ordered set where structureId = ?. 252 * 253 * @param structureId the structure ID 254 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 255 * @return the first matching d d m storage link 256 * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException if a matching d d m storage link could not be found 257 */ 258 public com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink findByStructureId_First( 259 long structureId, 260 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> orderByComparator) 261 throws com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException; 262 263 /** 264 * Returns the first d d m storage link in the ordered set where structureId = ?. 265 * 266 * @param structureId the structure ID 267 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 268 * @return the first matching d d m storage link, or <code>null</code> if a matching d d m storage link could not be found 269 */ 270 public com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink fetchByStructureId_First( 271 long structureId, 272 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> orderByComparator); 273 274 /** 275 * Returns the last d d m storage link in the ordered set where structureId = ?. 276 * 277 * @param structureId the structure ID 278 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 279 * @return the last matching d d m storage link 280 * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException if a matching d d m storage link could not be found 281 */ 282 public com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink findByStructureId_Last( 283 long structureId, 284 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> orderByComparator) 285 throws com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException; 286 287 /** 288 * Returns the last d d m storage link in the ordered set where structureId = ?. 289 * 290 * @param structureId the structure ID 291 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 292 * @return the last matching d d m storage link, or <code>null</code> if a matching d d m storage link could not be found 293 */ 294 public com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink fetchByStructureId_Last( 295 long structureId, 296 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> orderByComparator); 297 298 /** 299 * Returns the d d m storage links before and after the current d d m storage link in the ordered set where structureId = ?. 300 * 301 * @param storageLinkId the primary key of the current d d m storage link 302 * @param structureId the structure ID 303 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 304 * @return the previous, current, and next d d m storage link 305 * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException if a d d m storage link with the primary key could not be found 306 */ 307 public com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink[] findByStructureId_PrevAndNext( 308 long storageLinkId, long structureId, 309 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> orderByComparator) 310 throws com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException; 311 312 /** 313 * Removes all the d d m storage links where structureId = ? from the database. 314 * 315 * @param structureId the structure ID 316 */ 317 public void removeByStructureId(long structureId); 318 319 /** 320 * Returns the number of d d m storage links where structureId = ?. 321 * 322 * @param structureId the structure ID 323 * @return the number of matching d d m storage links 324 */ 325 public int countByStructureId(long structureId); 326 327 /** 328 * Caches the d d m storage link in the entity cache if it is enabled. 329 * 330 * @param ddmStorageLink the d d m storage link 331 */ 332 public void cacheResult( 333 com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink ddmStorageLink); 334 335 /** 336 * Caches the d d m storage links in the entity cache if it is enabled. 337 * 338 * @param ddmStorageLinks the d d m storage links 339 */ 340 public void cacheResult( 341 java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> ddmStorageLinks); 342 343 /** 344 * Creates a new d d m storage link with the primary key. Does not add the d d m storage link to the database. 345 * 346 * @param storageLinkId the primary key for the new d d m storage link 347 * @return the new d d m storage link 348 */ 349 public com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink create( 350 long storageLinkId); 351 352 /** 353 * Removes the d d m storage link with the primary key from the database. Also notifies the appropriate model listeners. 354 * 355 * @param storageLinkId the primary key of the d d m storage link 356 * @return the d d m storage link that was removed 357 * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException if a d d m storage link with the primary key could not be found 358 */ 359 public com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink remove( 360 long storageLinkId) 361 throws com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException; 362 363 public com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink updateImpl( 364 com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink ddmStorageLink); 365 366 /** 367 * Returns the d d m storage link with the primary key or throws a {@link com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException} if it could not be found. 368 * 369 * @param storageLinkId the primary key of the d d m storage link 370 * @return the d d m storage link 371 * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException if a d d m storage link with the primary key could not be found 372 */ 373 public com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink findByPrimaryKey( 374 long storageLinkId) 375 throws com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException; 376 377 /** 378 * Returns the d d m storage link with the primary key or returns <code>null</code> if it could not be found. 379 * 380 * @param storageLinkId the primary key of the d d m storage link 381 * @return the d d m storage link, or <code>null</code> if a d d m storage link with the primary key could not be found 382 */ 383 public com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink fetchByPrimaryKey( 384 long storageLinkId); 385 386 @Override 387 public java.util.Map<java.io.Serializable, com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> fetchByPrimaryKeys( 388 java.util.Set<java.io.Serializable> primaryKeys); 389 390 /** 391 * Returns all the d d m storage links. 392 * 393 * @return the d d m storage links 394 */ 395 public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> findAll(); 396 397 /** 398 * Returns a range of all the d d m storage links. 399 * 400 * <p> 401 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.dynamicdatamapping.model.impl.DDMStorageLinkModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 402 * </p> 403 * 404 * @param start the lower bound of the range of d d m storage links 405 * @param end the upper bound of the range of d d m storage links (not inclusive) 406 * @return the range of d d m storage links 407 */ 408 public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> findAll( 409 int start, int end); 410 411 /** 412 * Returns an ordered range of all the d d m storage links. 413 * 414 * <p> 415 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.dynamicdatamapping.model.impl.DDMStorageLinkModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 416 * </p> 417 * 418 * @param start the lower bound of the range of d d m storage links 419 * @param end the upper bound of the range of d d m storage links (not inclusive) 420 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 421 * @return the ordered range of d d m storage links 422 */ 423 public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> findAll( 424 int start, int end, 425 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> orderByComparator); 426 427 /** 428 * Removes all the d d m storage links from the database. 429 */ 430 public void removeAll(); 431 432 /** 433 * Returns the number of d d m storage links. 434 * 435 * @return the number of d d m storage links 436 */ 437 public int countAll(); 438 }