public class DDMStorageLinkUtil
extends java.lang.Object
com.liferay.dynamic.data.mapping.service.persistence.impl.DDMStorageLinkPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
DDMStorageLinkPersistence
Constructor and Description |
---|
DDMStorageLinkUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(DDMStorageLink ddmStorageLink)
Caches the ddm storage link in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<DDMStorageLink> ddmStorageLinks)
Caches the ddm storage links in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(DDMStorageLink ddmStorageLink) |
static int |
countAll()
Returns the number of ddm storage links.
|
static int |
countByClassPK(long classPK)
Returns the number of ddm storage links where classPK = ?.
|
static int |
countByStructureId(long structureId)
Returns the number of ddm storage links where structureId = ?.
|
static int |
countByStructureVersionId(long structureVersionId)
Returns the number of ddm storage links where structureVersionId = ?.
|
static int |
countByStructureVersionId(long[] structureVersionIds)
Returns the number of ddm storage links where structureVersionId = any ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of ddm storage links where uuid = ? and companyId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of ddm storage links where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static DDMStorageLink |
create(long storageLinkId)
Creates a new ddm storage link with the primary key.
|
static DDMStorageLink |
fetchByClassPK(long classPK)
Returns the ddm storage link where classPK = ? or returns
null if it could not be found. |
static DDMStorageLink |
fetchByClassPK(long classPK,
boolean useFinderCache)
Returns the ddm storage link where classPK = ? or returns
null if it could not be found, optionally using the finder cache. |
static DDMStorageLink |
fetchByPrimaryKey(long storageLinkId)
Returns the ddm storage link with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,DDMStorageLink> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static DDMStorageLink |
fetchByStructureId_First(long structureId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
Returns the first ddm storage link in the ordered set where structureId = ?.
|
static DDMStorageLink |
fetchByStructureId_Last(long structureId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
Returns the last ddm storage link in the ordered set where structureId = ?.
|
static DDMStorageLink |
fetchByStructureVersionId_First(long structureVersionId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
Returns the first ddm storage link in the ordered set where structureVersionId = ?.
|
static DDMStorageLink |
fetchByStructureVersionId_Last(long structureVersionId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
Returns the last ddm storage link in the ordered set where structureVersionId = ?.
|
static DDMStorageLink |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
Returns the first ddm storage link in the ordered set where uuid = ? and companyId = ?.
|
static DDMStorageLink |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
Returns the last ddm storage link in the ordered set where uuid = ? and companyId = ?.
|
static DDMStorageLink |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
Returns the first ddm storage link in the ordered set where uuid = ?.
|
static DDMStorageLink |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
Returns the last ddm storage link in the ordered set where uuid = ?.
|
static java.util.List<DDMStorageLink> |
findAll()
Returns all the ddm storage links.
|
static java.util.List<DDMStorageLink> |
findAll(int start,
int end)
Returns a range of all the ddm storage links.
|
static java.util.List<DDMStorageLink> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
Returns an ordered range of all the ddm storage links.
|
static java.util.List<DDMStorageLink> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm storage links.
|
static DDMStorageLink |
findByClassPK(long classPK)
Returns the ddm storage link where classPK = ? or throws a
NoSuchStorageLinkException if it could not be found. |
static DDMStorageLink |
findByPrimaryKey(long storageLinkId)
Returns the ddm storage link with the primary key or throws a
NoSuchStorageLinkException if it could not be found. |
static DDMStorageLink |
findByStructureId_First(long structureId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
Returns the first ddm storage link in the ordered set where structureId = ?.
|
static DDMStorageLink |
findByStructureId_Last(long structureId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
Returns the last ddm storage link in the ordered set where structureId = ?.
|
static DDMStorageLink[] |
findByStructureId_PrevAndNext(long storageLinkId,
long structureId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
Returns the ddm storage links before and after the current ddm storage link in the ordered set where structureId = ?.
|
static java.util.List<DDMStorageLink> |
findByStructureId(long structureId)
Returns all the ddm storage links where structureId = ?.
|
static java.util.List<DDMStorageLink> |
findByStructureId(long structureId,
int start,
int end)
Returns a range of all the ddm storage links where structureId = ?.
|
static java.util.List<DDMStorageLink> |
findByStructureId(long structureId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
Returns an ordered range of all the ddm storage links where structureId = ?.
|
static java.util.List<DDMStorageLink> |
findByStructureId(long structureId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm storage links where structureId = ?.
|
static DDMStorageLink |
findByStructureVersionId_First(long structureVersionId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
Returns the first ddm storage link in the ordered set where structureVersionId = ?.
|
static DDMStorageLink |
findByStructureVersionId_Last(long structureVersionId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
Returns the last ddm storage link in the ordered set where structureVersionId = ?.
|
static DDMStorageLink[] |
findByStructureVersionId_PrevAndNext(long storageLinkId,
long structureVersionId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
Returns the ddm storage links before and after the current ddm storage link in the ordered set where structureVersionId = ?.
|
static java.util.List<DDMStorageLink> |
findByStructureVersionId(long structureVersionId)
Returns all the ddm storage links where structureVersionId = ?.
|
static java.util.List<DDMStorageLink> |
findByStructureVersionId(long[] structureVersionIds)
Returns all the ddm storage links where structureVersionId = any ?.
|
static java.util.List<DDMStorageLink> |
findByStructureVersionId(long[] structureVersionIds,
int start,
int end)
Returns a range of all the ddm storage links where structureVersionId = any ?.
|
static java.util.List<DDMStorageLink> |
findByStructureVersionId(long[] structureVersionIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
Returns an ordered range of all the ddm storage links where structureVersionId = any ?.
|
static java.util.List<DDMStorageLink> |
findByStructureVersionId(long[] structureVersionIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm storage links where structureVersionId = ?, optionally using the finder cache.
|
static java.util.List<DDMStorageLink> |
findByStructureVersionId(long structureVersionId,
int start,
int end)
Returns a range of all the ddm storage links where structureVersionId = ?.
|
static java.util.List<DDMStorageLink> |
findByStructureVersionId(long structureVersionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
Returns an ordered range of all the ddm storage links where structureVersionId = ?.
|
static java.util.List<DDMStorageLink> |
findByStructureVersionId(long structureVersionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm storage links where structureVersionId = ?.
|
static DDMStorageLink |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
Returns the first ddm storage link in the ordered set where uuid = ? and companyId = ?.
|
static DDMStorageLink |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
Returns the last ddm storage link in the ordered set where uuid = ? and companyId = ?.
|
static DDMStorageLink[] |
findByUuid_C_PrevAndNext(long storageLinkId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
Returns the ddm storage links before and after the current ddm storage link in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<DDMStorageLink> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the ddm storage links where uuid = ? and companyId = ?.
|
static java.util.List<DDMStorageLink> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the ddm storage links where uuid = ? and companyId = ?.
|
static java.util.List<DDMStorageLink> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
Returns an ordered range of all the ddm storage links where uuid = ? and companyId = ?.
|
static java.util.List<DDMStorageLink> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm storage links where uuid = ? and companyId = ?.
|
static DDMStorageLink |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
Returns the first ddm storage link in the ordered set where uuid = ?.
|
static DDMStorageLink |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
Returns the last ddm storage link in the ordered set where uuid = ?.
|
static DDMStorageLink[] |
findByUuid_PrevAndNext(long storageLinkId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
Returns the ddm storage links before and after the current ddm storage link in the ordered set where uuid = ?.
|
static java.util.List<DDMStorageLink> |
findByUuid(java.lang.String uuid)
Returns all the ddm storage links where uuid = ?.
|
static java.util.List<DDMStorageLink> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the ddm storage links where uuid = ?.
|
static java.util.List<DDMStorageLink> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
Returns an ordered range of all the ddm storage links where uuid = ?.
|
static java.util.List<DDMStorageLink> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm storage links where uuid = ?.
|
static java.util.List<DDMStorageLink> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<DDMStorageLink> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<DDMStorageLink> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) |
static DDMStorageLinkPersistence |
getPersistence() |
static DDMStorageLink |
remove(long storageLinkId)
Removes the ddm storage link with the primary key from the database.
|
static void |
removeAll()
Removes all the ddm storage links from the database.
|
static DDMStorageLink |
removeByClassPK(long classPK)
Removes the ddm storage link where classPK = ? from the database.
|
static void |
removeByStructureId(long structureId)
Removes all the ddm storage links where structureId = ? from the database.
|
static void |
removeByStructureVersionId(long structureVersionId)
Removes all the ddm storage links where structureVersionId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the ddm storage links where uuid = ? and companyId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the ddm storage links where uuid = ? from the database.
|
static DDMStorageLink |
update(DDMStorageLink ddmStorageLink) |
static DDMStorageLink |
update(DDMStorageLink ddmStorageLink,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static DDMStorageLink |
updateImpl(DDMStorageLink ddmStorageLink) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(DDMStorageLink ddmStorageLink)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,DDMStorageLink> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<DDMStorageLink> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<DDMStorageLink> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<DDMStorageLink> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static DDMStorageLink update(DDMStorageLink ddmStorageLink)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static DDMStorageLink update(DDMStorageLink ddmStorageLink, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<DDMStorageLink> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<DDMStorageLink> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStorageLinkModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of ddm storage linksend
- the upper bound of the range of ddm storage links (not inclusive)public static java.util.List<DDMStorageLink> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStorageLinkModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of ddm storage linksend
- the upper bound of the range of ddm storage links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMStorageLink> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStorageLinkModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of ddm storage linksend
- the upper bound of the range of ddm storage links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static DDMStorageLink findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) throws NoSuchStorageLinkException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStorageLinkException
- if a matching ddm storage link could not be foundpublic static DDMStorageLink fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm storage link could not be foundpublic static DDMStorageLink findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) throws NoSuchStorageLinkException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStorageLinkException
- if a matching ddm storage link could not be foundpublic static DDMStorageLink fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm storage link could not be foundpublic static DDMStorageLink[] findByUuid_PrevAndNext(long storageLinkId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) throws NoSuchStorageLinkException
storageLinkId
- the primary key of the current ddm storage linkuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStorageLinkException
- if a ddm storage link with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<DDMStorageLink> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<DDMStorageLink> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStorageLinkModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of ddm storage linksend
- the upper bound of the range of ddm storage links (not inclusive)public static java.util.List<DDMStorageLink> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStorageLinkModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of ddm storage linksend
- the upper bound of the range of ddm storage links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMStorageLink> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStorageLinkModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of ddm storage linksend
- the upper bound of the range of ddm storage links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static DDMStorageLink findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) throws NoSuchStorageLinkException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStorageLinkException
- if a matching ddm storage link could not be foundpublic static DDMStorageLink fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm storage link could not be foundpublic static DDMStorageLink findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) throws NoSuchStorageLinkException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStorageLinkException
- if a matching ddm storage link could not be foundpublic static DDMStorageLink fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm storage link could not be foundpublic static DDMStorageLink[] findByUuid_C_PrevAndNext(long storageLinkId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) throws NoSuchStorageLinkException
storageLinkId
- the primary key of the current ddm storage linkuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStorageLinkException
- if a ddm storage link with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static DDMStorageLink findByClassPK(long classPK) throws NoSuchStorageLinkException
NoSuchStorageLinkException
if it could not be found.classPK
- the class pkNoSuchStorageLinkException
- if a matching ddm storage link could not be foundpublic static DDMStorageLink fetchByClassPK(long classPK)
null
if it could not be found. Uses the finder cache.classPK
- the class pknull
if a matching ddm storage link could not be foundpublic static DDMStorageLink fetchByClassPK(long classPK, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.classPK
- the class pkuseFinderCache
- whether to use the finder cachenull
if a matching ddm storage link could not be foundpublic static DDMStorageLink removeByClassPK(long classPK) throws NoSuchStorageLinkException
classPK
- the class pkNoSuchStorageLinkException
public static int countByClassPK(long classPK)
classPK
- the class pkpublic static java.util.List<DDMStorageLink> findByStructureId(long structureId)
structureId
- the structure IDpublic static java.util.List<DDMStorageLink> findByStructureId(long structureId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStorageLinkModelImpl
.
structureId
- the structure IDstart
- the lower bound of the range of ddm storage linksend
- the upper bound of the range of ddm storage links (not inclusive)public static java.util.List<DDMStorageLink> findByStructureId(long structureId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStorageLinkModelImpl
.
structureId
- the structure IDstart
- the lower bound of the range of ddm storage linksend
- the upper bound of the range of ddm storage links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMStorageLink> findByStructureId(long structureId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStorageLinkModelImpl
.
structureId
- the structure IDstart
- the lower bound of the range of ddm storage linksend
- the upper bound of the range of ddm storage links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static DDMStorageLink findByStructureId_First(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) throws NoSuchStorageLinkException
structureId
- the structure IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStorageLinkException
- if a matching ddm storage link could not be foundpublic static DDMStorageLink fetchByStructureId_First(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
structureId
- the structure IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm storage link could not be foundpublic static DDMStorageLink findByStructureId_Last(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) throws NoSuchStorageLinkException
structureId
- the structure IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStorageLinkException
- if a matching ddm storage link could not be foundpublic static DDMStorageLink fetchByStructureId_Last(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
structureId
- the structure IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm storage link could not be foundpublic static DDMStorageLink[] findByStructureId_PrevAndNext(long storageLinkId, long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) throws NoSuchStorageLinkException
storageLinkId
- the primary key of the current ddm storage linkstructureId
- the structure IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStorageLinkException
- if a ddm storage link with the primary key could not be foundpublic static void removeByStructureId(long structureId)
structureId
- the structure IDpublic static int countByStructureId(long structureId)
structureId
- the structure IDpublic static java.util.List<DDMStorageLink> findByStructureVersionId(long structureVersionId)
structureVersionId
- the structure version IDpublic static java.util.List<DDMStorageLink> findByStructureVersionId(long structureVersionId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStorageLinkModelImpl
.
structureVersionId
- the structure version IDstart
- the lower bound of the range of ddm storage linksend
- the upper bound of the range of ddm storage links (not inclusive)public static java.util.List<DDMStorageLink> findByStructureVersionId(long structureVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStorageLinkModelImpl
.
structureVersionId
- the structure version IDstart
- the lower bound of the range of ddm storage linksend
- the upper bound of the range of ddm storage links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMStorageLink> findByStructureVersionId(long structureVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStorageLinkModelImpl
.
structureVersionId
- the structure version IDstart
- the lower bound of the range of ddm storage linksend
- the upper bound of the range of ddm storage links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static DDMStorageLink findByStructureVersionId_First(long structureVersionId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) throws NoSuchStorageLinkException
structureVersionId
- the structure version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStorageLinkException
- if a matching ddm storage link could not be foundpublic static DDMStorageLink fetchByStructureVersionId_First(long structureVersionId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
structureVersionId
- the structure version IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm storage link could not be foundpublic static DDMStorageLink findByStructureVersionId_Last(long structureVersionId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) throws NoSuchStorageLinkException
structureVersionId
- the structure version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStorageLinkException
- if a matching ddm storage link could not be foundpublic static DDMStorageLink fetchByStructureVersionId_Last(long structureVersionId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
structureVersionId
- the structure version IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm storage link could not be foundpublic static DDMStorageLink[] findByStructureVersionId_PrevAndNext(long storageLinkId, long structureVersionId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) throws NoSuchStorageLinkException
storageLinkId
- the primary key of the current ddm storage linkstructureVersionId
- the structure version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchStorageLinkException
- if a ddm storage link with the primary key could not be foundpublic static java.util.List<DDMStorageLink> findByStructureVersionId(long[] structureVersionIds)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStorageLinkModelImpl
.
structureVersionIds
- the structure version IDspublic static java.util.List<DDMStorageLink> findByStructureVersionId(long[] structureVersionIds, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStorageLinkModelImpl
.
structureVersionIds
- the structure version IDsstart
- the lower bound of the range of ddm storage linksend
- the upper bound of the range of ddm storage links (not inclusive)public static java.util.List<DDMStorageLink> findByStructureVersionId(long[] structureVersionIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStorageLinkModelImpl
.
structureVersionIds
- the structure version IDsstart
- the lower bound of the range of ddm storage linksend
- the upper bound of the range of ddm storage links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMStorageLink> findByStructureVersionId(long[] structureVersionIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStorageLinkModelImpl
.
structureVersionId
- the structure version IDstart
- the lower bound of the range of ddm storage linksend
- the upper bound of the range of ddm storage links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeByStructureVersionId(long structureVersionId)
structureVersionId
- the structure version IDpublic static int countByStructureVersionId(long structureVersionId)
structureVersionId
- the structure version IDpublic static int countByStructureVersionId(long[] structureVersionIds)
structureVersionIds
- the structure version IDspublic static void cacheResult(DDMStorageLink ddmStorageLink)
ddmStorageLink
- the ddm storage linkpublic static void cacheResult(java.util.List<DDMStorageLink> ddmStorageLinks)
ddmStorageLinks
- the ddm storage linkspublic static DDMStorageLink create(long storageLinkId)
storageLinkId
- the primary key for the new ddm storage linkpublic static DDMStorageLink remove(long storageLinkId) throws NoSuchStorageLinkException
storageLinkId
- the primary key of the ddm storage linkNoSuchStorageLinkException
- if a ddm storage link with the primary key could not be foundpublic static DDMStorageLink updateImpl(DDMStorageLink ddmStorageLink)
public static DDMStorageLink findByPrimaryKey(long storageLinkId) throws NoSuchStorageLinkException
NoSuchStorageLinkException
if it could not be found.storageLinkId
- the primary key of the ddm storage linkNoSuchStorageLinkException
- if a ddm storage link with the primary key could not be foundpublic static DDMStorageLink fetchByPrimaryKey(long storageLinkId)
null
if it could not be found.storageLinkId
- the primary key of the ddm storage linknull
if a ddm storage link with the primary key could not be foundpublic static java.util.List<DDMStorageLink> findAll()
public static java.util.List<DDMStorageLink> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStorageLinkModelImpl
.
start
- the lower bound of the range of ddm storage linksend
- the upper bound of the range of ddm storage links (not inclusive)public static java.util.List<DDMStorageLink> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStorageLinkModelImpl
.
start
- the lower bound of the range of ddm storage linksend
- the upper bound of the range of ddm storage links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMStorageLink> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMStorageLinkModelImpl
.
start
- the lower bound of the range of ddm storage linksend
- the upper bound of the range of ddm storage links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static DDMStorageLinkPersistence getPersistence()