@ProviderType public interface DDMStorageLinkPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<DDMStorageLink>
Caching information and settings can be found in portal.properties
com.liferay.dynamic.data.mapping.service.persistence.impl.DDMStorageLinkPersistenceImpl
,
DDMStorageLinkUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(DDMStorageLink ddmStorageLink)
Caches the ddm storage link in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<DDMStorageLink> ddmStorageLinks)
Caches the ddm storage links in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of ddm storage links.
|
int |
countByClassPK(long classPK)
Returns the number of ddm storage links where classPK = ?.
|
int |
countByStructureId(long structureId)
Returns the number of ddm storage links where structureId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of ddm storage links where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of ddm storage links where uuid = ?.
|
DDMStorageLink |
create(long storageLinkId)
Creates a new ddm storage link with the primary key.
|
DDMStorageLink |
fetchByClassPK(long classPK)
Returns the ddm storage link where classPK = ? or returns
null if it could not be found. |
DDMStorageLink |
fetchByClassPK(long classPK,
boolean retrieveFromCache)
Returns the ddm storage link where classPK = ? or returns
null if it could not be found, optionally using the finder cache. |
DDMStorageLink |
fetchByPrimaryKey(long storageLinkId)
Returns the ddm storage link with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,DDMStorageLink> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<DDMStorageLink> |
findAll()
Returns all the ddm storage links.
|
java.util.List<DDMStorageLink> |
findAll(int start,
int end)
Returns a range of all the ddm storage links.
|
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.
|
java.util.List<DDMStorageLink> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the ddm storage links.
|
DDMStorageLink |
findByClassPK(long classPK)
Returns the ddm storage link where classPK = ? or throws a
NoSuchStorageLinkException if it could not be found. |
DDMStorageLink |
findByPrimaryKey(long storageLinkId)
Returns the ddm storage link with the primary key or throws a
NoSuchStorageLinkException if it could not be found. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<DDMStorageLink> |
findByStructureId(long structureId)
Returns all the ddm storage links where structureId = ?.
|
java.util.List<DDMStorageLink> |
findByStructureId(long structureId,
int start,
int end)
Returns a range of all the ddm storage links where structureId = ?.
|
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 = ?.
|
java.util.List<DDMStorageLink> |
findByStructureId(long structureId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the ddm storage links where structureId = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<DDMStorageLink> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the ddm storage links where uuid = ? and companyId = ?.
|
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 = ?.
|
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 = ?.
|
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 retrieveFromCache)
Returns an ordered range of all the ddm storage links where uuid = ? and companyId = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<DDMStorageLink> |
findByUuid(java.lang.String uuid)
Returns all the ddm storage links where uuid = ?.
|
java.util.List<DDMStorageLink> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the ddm storage links where uuid = ?.
|
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 = ?.
|
java.util.List<DDMStorageLink> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the ddm storage links where uuid = ?.
|
java.util.Set<java.lang.String> |
getBadColumnNames() |
DDMStorageLink |
remove(long storageLinkId)
Removes the ddm storage link with the primary key from the database.
|
void |
removeAll()
Removes all the ddm storage links from the database.
|
DDMStorageLink |
removeByClassPK(long classPK)
Removes the ddm storage link where classPK = ? from the database.
|
void |
removeByStructureId(long structureId)
Removes all the ddm storage links where structureId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the ddm storage links where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the ddm storage links where uuid = ? from the database.
|
DDMStorageLink |
updateImpl(DDMStorageLink ddmStorageLink) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<DDMStorageLink> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMStorageLinkModelImpl
. If both orderByComparator
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.
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)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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMStorageLinkModelImpl
. If both orderByComparator
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.
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
)java.util.List<DDMStorageLink> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMStorageLinkModelImpl
. If both orderByComparator
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.
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
)retrieveFromCache
- whether to retrieve from the finder cacheDDMStorageLink 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 foundDDMStorageLink 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 foundDDMStorageLink 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 foundDDMStorageLink 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 foundDDMStorageLink[] 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 foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<DDMStorageLink> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMStorageLinkModelImpl
. If both orderByComparator
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.
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)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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMStorageLinkModelImpl
. If both orderByComparator
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.
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
)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 retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMStorageLinkModelImpl
. If both orderByComparator
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.
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
)retrieveFromCache
- whether to retrieve from the finder cacheDDMStorageLink 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 foundDDMStorageLink 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 foundDDMStorageLink 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 foundDDMStorageLink 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 foundDDMStorageLink[] 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 foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDDDMStorageLink 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 foundDDMStorageLink 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 foundDDMStorageLink fetchByClassPK(long classPK, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.classPK
- the class pkretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching ddm storage link could not be foundDDMStorageLink removeByClassPK(long classPK) throws NoSuchStorageLinkException
classPK
- the class pkNoSuchStorageLinkException
int countByClassPK(long classPK)
classPK
- the class pkjava.util.List<DDMStorageLink> findByStructureId(long structureId)
structureId
- the structure IDjava.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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMStorageLinkModelImpl
. If both orderByComparator
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.
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)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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMStorageLinkModelImpl
. If both orderByComparator
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.
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
)java.util.List<DDMStorageLink> findByStructureId(long structureId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMStorageLinkModelImpl
. If both orderByComparator
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.
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
)retrieveFromCache
- whether to retrieve from the finder cacheDDMStorageLink 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 foundDDMStorageLink 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 foundDDMStorageLink 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 foundDDMStorageLink 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 foundDDMStorageLink[] 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 foundvoid removeByStructureId(long structureId)
structureId
- the structure IDint countByStructureId(long structureId)
structureId
- the structure IDvoid cacheResult(DDMStorageLink ddmStorageLink)
ddmStorageLink
- the ddm storage linkvoid cacheResult(java.util.List<DDMStorageLink> ddmStorageLinks)
ddmStorageLinks
- the ddm storage linksDDMStorageLink create(long storageLinkId)
storageLinkId
- the primary key for the new ddm storage linkDDMStorageLink 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 foundDDMStorageLink updateImpl(DDMStorageLink ddmStorageLink)
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 foundDDMStorageLink 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 foundjava.util.Map<java.io.Serializable,DDMStorageLink> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<DDMStorageLink>
java.util.List<DDMStorageLink> findAll()
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMStorageLinkModelImpl
. If both orderByComparator
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.
start
- the lower bound of the range of ddm storage linksend
- the upper bound of the range of ddm storage links (not inclusive)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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMStorageLinkModelImpl
. If both orderByComparator
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.
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
)java.util.List<DDMStorageLink> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from DDMStorageLinkModelImpl
. If both orderByComparator
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.
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
)retrieveFromCache
- whether to retrieve from the finder cachevoid removeAll()
int countAll()
java.util.Set<java.lang.String> getBadColumnNames()
getBadColumnNames
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<DDMStorageLink>