Interface DDMStorageLinkPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<DDMStorageLink>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMStorageLink>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(DDMStorageLink ddmStorageLink) Caches the ddm storage link in the entity cache if it is enabled.void
cacheResult
(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
countByStructureVersionId
(long structureVersionId) Returns the number of ddm storage links where structureVersionId = ?.int
countByStructureVersionId
(long[] structureVersionIds) Returns the number of ddm storage links where structureVersionId = any ?.int
countByUuid
(String uuid) Returns the number of ddm storage links where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of ddm storage links where uuid = ? and companyId = ?.create
(long storageLinkId) Creates a new ddm storage link with the primary key.fetchByClassPK
(long classPK) Returns the ddm storage link where classPK = ? or returnsnull
if it could not be found.fetchByClassPK
(long classPK, boolean useFinderCache) Returns the ddm storage link where classPK = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByPrimaryKey
(long storageLinkId) Returns the ddm storage link with the primary key or returnsnull
if it could not be found.fetchByStructureId_First
(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) Returns the first ddm storage link in the ordered set where structureId = ?.fetchByStructureId_Last
(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) Returns the last ddm storage link in the ordered set where structureId = ?.fetchByStructureVersionId_First
(long structureVersionId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) Returns the first ddm storage link in the ordered set where structureVersionId = ?.fetchByStructureVersionId_Last
(long structureVersionId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) Returns the last ddm storage link in the ordered set where structureVersionId = ?.fetchByUuid_C_First
(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 = ?.fetchByUuid_C_Last
(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 = ?.fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) Returns the first ddm storage link in the ordered set where uuid = ?.fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) Returns the last ddm storage link in the ordered set where uuid = ?.findAll()
Returns all the ddm storage links.findAll
(int start, int end) Returns a range of all the ddm storage links.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) Returns an ordered range of all the ddm storage links.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.findByClassPK
(long classPK) Returns the ddm storage link where classPK = ? or throws aNoSuchStorageLinkException
if it could not be found.findByPrimaryKey
(long storageLinkId) Returns the ddm storage link with the primary key or throws aNoSuchStorageLinkException
if it could not be found.findByStructureId
(long structureId) Returns all the ddm storage links where structureId = ?.findByStructureId
(long structureId, int start, int end) Returns a range of all the ddm storage links where structureId = ?.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 = ?.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 = ?.findByStructureId_First
(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) Returns the first ddm storage link in the ordered set where structureId = ?.findByStructureId_Last
(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) Returns the last ddm storage link in the ordered set where structureId = ?.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 = ?.findByStructureVersionId
(long structureVersionId) Returns all the ddm storage links where structureVersionId = ?.findByStructureVersionId
(long[] structureVersionIds) Returns all the ddm storage links where structureVersionId = any ?.findByStructureVersionId
(long[] structureVersionIds, int start, int end) Returns a range of all the ddm storage links where structureVersionId = any ?.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 ?.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.findByStructureVersionId
(long structureVersionId, int start, int end) Returns a range of all the ddm storage links where structureVersionId = ?.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 = ?.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 = ?.findByStructureVersionId_First
(long structureVersionId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) Returns the first ddm storage link in the ordered set where structureVersionId = ?.findByStructureVersionId_Last
(long structureVersionId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) Returns the last ddm storage link in the ordered set where structureVersionId = ?.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 = ?.findByUuid
(String uuid) Returns all the ddm storage links where uuid = ?.findByUuid
(String uuid, int start, int end) Returns a range of all the ddm storage links where uuid = ?.findByUuid
(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 = ?.findByUuid
(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 = ?.findByUuid_C
(String uuid, long companyId) Returns all the ddm storage links where uuid = ? and companyId = ?.findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the ddm storage links where uuid = ? and companyId = ?.findByUuid_C
(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 = ?.findByUuid_C
(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 = ?.findByUuid_C_First
(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 = ?.findByUuid_C_Last
(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 = ?.findByUuid_C_PrevAndNext
(long storageLinkId, 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 = ?.findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) Returns the first ddm storage link in the ordered set where uuid = ?.findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) Returns the last ddm storage link in the ordered set where uuid = ?.findByUuid_PrevAndNext
(long storageLinkId, 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 = ?.remove
(long storageLinkId) Removes the ddm storage link with the primary key from the database.void
Removes all the ddm storage links from the database.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
removeByStructureVersionId
(long structureVersionId) Removes all the ddm storage links where structureVersionId = ? from the database.void
removeByUuid
(String uuid) Removes all the ddm storage links where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the ddm storage links where uuid = ? and companyId = ? from the database.updateImpl
(DDMStorageLink ddmStorageLink) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByUuid
Returns all the ddm storage links where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching ddm storage links
-
findByUuid
Returns a range of all the ddm storage links where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMStorageLinkModelImpl
.- Parameters:
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)- Returns:
- the range of matching ddm storage links
-
findByUuid
List<DDMStorageLink> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMStorageLinkModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching ddm storage links
-
findByUuid
List<DDMStorageLink> findByUuid(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMStorageLinkModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ddm storage links
-
findByUuid_First
DDMStorageLink findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) throws NoSuchStorageLinkException Returns the first ddm storage link in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm storage link
- Throws:
NoSuchStorageLinkException
- if a matching ddm storage link could not be found
-
fetchByUuid_First
DDMStorageLink fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) Returns the first ddm storage link in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm storage link, or
null
if a matching ddm storage link could not be found
-
findByUuid_Last
DDMStorageLink findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) throws NoSuchStorageLinkException Returns the last ddm storage link in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm storage link
- Throws:
NoSuchStorageLinkException
- if a matching ddm storage link could not be found
-
fetchByUuid_Last
DDMStorageLink fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) Returns the last ddm storage link in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm storage link, or
null
if a matching ddm storage link could not be found
-
findByUuid_PrevAndNext
DDMStorageLink[] findByUuid_PrevAndNext(long storageLinkId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) throws NoSuchStorageLinkException Returns the ddm storage links before and after the current ddm storage link in the ordered set where uuid = ?.- Parameters:
storageLinkId
- the primary key of the current ddm storage linkuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddm storage link
- Throws:
NoSuchStorageLinkException
- if a ddm storage link with the primary key could not be found
-
removeByUuid
Removes all the ddm storage links where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of ddm storage links where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching ddm storage links
-
findByUuid_C
Returns all the ddm storage links where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching ddm storage links
-
findByUuid_C
Returns a range of all the ddm storage links where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMStorageLinkModelImpl
.- Parameters:
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)- Returns:
- the range of matching ddm storage links
-
findByUuid_C
List<DDMStorageLink> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMStorageLinkModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching ddm storage links
-
findByUuid_C
List<DDMStorageLink> findByUuid_C(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMStorageLinkModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ddm storage links
-
findByUuid_C_First
DDMStorageLink findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) throws NoSuchStorageLinkException Returns the first ddm storage link in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm storage link
- Throws:
NoSuchStorageLinkException
- if a matching ddm storage link could not be found
-
fetchByUuid_C_First
DDMStorageLink fetchByUuid_C_First(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm storage link, or
null
if a matching ddm storage link could not be found
-
findByUuid_C_Last
DDMStorageLink findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) throws NoSuchStorageLinkException Returns the last ddm storage link in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm storage link
- Throws:
NoSuchStorageLinkException
- if a matching ddm storage link could not be found
-
fetchByUuid_C_Last
DDMStorageLink fetchByUuid_C_Last(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 = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm storage link, or
null
if a matching ddm storage link could not be found
-
findByUuid_C_PrevAndNext
DDMStorageLink[] findByUuid_C_PrevAndNext(long storageLinkId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) throws NoSuchStorageLinkException Returns the ddm storage links before and after the current ddm storage link in the ordered set where uuid = ? and companyId = ?.- Parameters:
storageLinkId
- the primary key of the current ddm storage linkuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddm storage link
- Throws:
NoSuchStorageLinkException
- if a ddm storage link with the primary key could not be found
-
removeByUuid_C
Removes all the ddm storage links where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of ddm storage links where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching ddm storage links
-
findByClassPK
Returns the ddm storage link where classPK = ? or throws aNoSuchStorageLinkException
if it could not be found.- Parameters:
classPK
- the class pk- Returns:
- the matching ddm storage link
- Throws:
NoSuchStorageLinkException
- if a matching ddm storage link could not be found
-
fetchByClassPK
Returns the ddm storage link where classPK = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
classPK
- the class pk- Returns:
- the matching ddm storage link, or
null
if a matching ddm storage link could not be found
-
fetchByClassPK
Returns the ddm storage link where classPK = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
classPK
- the class pkuseFinderCache
- whether to use the finder cache- Returns:
- the matching ddm storage link, or
null
if a matching ddm storage link could not be found
-
removeByClassPK
Removes the ddm storage link where classPK = ? from the database.- Parameters:
classPK
- the class pk- Returns:
- the ddm storage link that was removed
- Throws:
NoSuchStorageLinkException
-
countByClassPK
int countByClassPK(long classPK) Returns the number of ddm storage links where classPK = ?.- Parameters:
classPK
- the class pk- Returns:
- the number of matching ddm storage links
-
findByStructureId
Returns all the ddm storage links where structureId = ?.- Parameters:
structureId
- the structure ID- Returns:
- the matching ddm storage links
-
findByStructureId
Returns a range of all the ddm storage links where structureId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMStorageLinkModelImpl
.- Parameters:
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)- Returns:
- the range of matching ddm storage links
-
findByStructureId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMStorageLinkModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching ddm storage links
-
findByStructureId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMStorageLinkModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ddm storage links
-
findByStructureId_First
DDMStorageLink findByStructureId_First(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) throws NoSuchStorageLinkException Returns the first ddm storage link in the ordered set where structureId = ?.- Parameters:
structureId
- the structure IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm storage link
- Throws:
NoSuchStorageLinkException
- if a matching ddm storage link could not be found
-
fetchByStructureId_First
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 = ?.- Parameters:
structureId
- the structure IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm storage link, or
null
if a matching ddm storage link could not be found
-
findByStructureId_Last
DDMStorageLink findByStructureId_Last(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) throws NoSuchStorageLinkException Returns the last ddm storage link in the ordered set where structureId = ?.- Parameters:
structureId
- the structure IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm storage link
- Throws:
NoSuchStorageLinkException
- if a matching ddm storage link could not be found
-
fetchByStructureId_Last
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 = ?.- Parameters:
structureId
- the structure IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm storage link, or
null
if a matching ddm storage link could not be found
-
findByStructureId_PrevAndNext
DDMStorageLink[] findByStructureId_PrevAndNext(long storageLinkId, long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) throws NoSuchStorageLinkException Returns the ddm storage links before and after the current ddm storage link in the ordered set where structureId = ?.- Parameters:
storageLinkId
- the primary key of the current ddm storage linkstructureId
- the structure IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddm storage link
- Throws:
NoSuchStorageLinkException
- if a ddm storage link with the primary key could not be found
-
removeByStructureId
void removeByStructureId(long structureId) Removes all the ddm storage links where structureId = ? from the database.- Parameters:
structureId
- the structure ID
-
countByStructureId
int countByStructureId(long structureId) Returns the number of ddm storage links where structureId = ?.- Parameters:
structureId
- the structure ID- Returns:
- the number of matching ddm storage links
-
findByStructureVersionId
Returns all the ddm storage links where structureVersionId = ?.- Parameters:
structureVersionId
- the structure version ID- Returns:
- the matching ddm storage links
-
findByStructureVersionId
Returns a range of all the ddm storage links where structureVersionId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMStorageLinkModelImpl
.- Parameters:
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)- Returns:
- the range of matching ddm storage links
-
findByStructureVersionId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMStorageLinkModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching ddm storage links
-
findByStructureVersionId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMStorageLinkModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ddm storage links
-
findByStructureVersionId_First
DDMStorageLink findByStructureVersionId_First(long structureVersionId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) throws NoSuchStorageLinkException Returns the first ddm storage link in the ordered set where structureVersionId = ?.- Parameters:
structureVersionId
- the structure version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm storage link
- Throws:
NoSuchStorageLinkException
- if a matching ddm storage link could not be found
-
fetchByStructureVersionId_First
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 = ?.- Parameters:
structureVersionId
- the structure version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddm storage link, or
null
if a matching ddm storage link could not be found
-
findByStructureVersionId_Last
DDMStorageLink findByStructureVersionId_Last(long structureVersionId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) throws NoSuchStorageLinkException Returns the last ddm storage link in the ordered set where structureVersionId = ?.- Parameters:
structureVersionId
- the structure version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm storage link
- Throws:
NoSuchStorageLinkException
- if a matching ddm storage link could not be found
-
fetchByStructureVersionId_Last
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 = ?.- Parameters:
structureVersionId
- the structure version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddm storage link, or
null
if a matching ddm storage link could not be found
-
findByStructureVersionId_PrevAndNext
DDMStorageLink[] findByStructureVersionId_PrevAndNext(long storageLinkId, long structureVersionId, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) throws NoSuchStorageLinkException Returns the ddm storage links before and after the current ddm storage link in the ordered set where structureVersionId = ?.- Parameters:
storageLinkId
- the primary key of the current ddm storage linkstructureVersionId
- the structure version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddm storage link
- Throws:
NoSuchStorageLinkException
- if a ddm storage link with the primary key could not be found
-
findByStructureVersionId
Returns all the ddm storage links where structureVersionId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMStorageLinkModelImpl
.- Parameters:
structureVersionIds
- the structure version IDs- Returns:
- the matching ddm storage links
-
findByStructureVersionId
Returns a range of all the ddm storage links where structureVersionId = any ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMStorageLinkModelImpl
.- Parameters:
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)- Returns:
- the range of matching ddm storage links
-
findByStructureVersionId
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 ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMStorageLinkModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching ddm storage links
-
findByStructureVersionId
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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMStorageLinkModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching ddm storage links
-
removeByStructureVersionId
void removeByStructureVersionId(long structureVersionId) Removes all the ddm storage links where structureVersionId = ? from the database.- Parameters:
structureVersionId
- the structure version ID
-
countByStructureVersionId
int countByStructureVersionId(long structureVersionId) Returns the number of ddm storage links where structureVersionId = ?.- Parameters:
structureVersionId
- the structure version ID- Returns:
- the number of matching ddm storage links
-
countByStructureVersionId
int countByStructureVersionId(long[] structureVersionIds) Returns the number of ddm storage links where structureVersionId = any ?.- Parameters:
structureVersionIds
- the structure version IDs- Returns:
- the number of matching ddm storage links
-
cacheResult
Caches the ddm storage link in the entity cache if it is enabled.- Parameters:
ddmStorageLink
- the ddm storage link
-
cacheResult
Caches the ddm storage links in the entity cache if it is enabled.- Parameters:
ddmStorageLinks
- the ddm storage links
-
create
Creates a new ddm storage link with the primary key. Does not add the ddm storage link to the database.- Parameters:
storageLinkId
- the primary key for the new ddm storage link- Returns:
- the new ddm storage link
-
remove
Removes the ddm storage link with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
storageLinkId
- the primary key of the ddm storage link- Returns:
- the ddm storage link that was removed
- Throws:
NoSuchStorageLinkException
- if a ddm storage link with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the ddm storage link with the primary key or throws aNoSuchStorageLinkException
if it could not be found.- Parameters:
storageLinkId
- the primary key of the ddm storage link- Returns:
- the ddm storage link
- Throws:
NoSuchStorageLinkException
- if a ddm storage link with the primary key could not be found
-
fetchByPrimaryKey
Returns the ddm storage link with the primary key or returnsnull
if it could not be found.- Parameters:
storageLinkId
- the primary key of the ddm storage link- Returns:
- the ddm storage link, or
null
if a ddm storage link with the primary key could not be found
-
findAll
List<DDMStorageLink> findAll()Returns all the ddm storage links.- Returns:
- the ddm storage links
-
findAll
Returns a range of all the ddm storage links.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMStorageLinkModelImpl
.- Parameters:
start
- the lower bound of the range of ddm storage linksend
- the upper bound of the range of ddm storage links (not inclusive)- Returns:
- the range of ddm storage links
-
findAll
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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMStorageLinkModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of ddm storage links
-
findAll
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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromDDMStorageLinkModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of ddm storage links
-
removeAll
void removeAll()Removes all the ddm storage links from the database. -
countAll
int countAll()Returns the number of ddm storage links.- Returns:
- the number of ddm storage links
-