Class DDMStorageLinkUtil
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
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(DDMStorageLink ddmStorageLink) Caches the ddm storage link in the entity cache if it is enabled.static void
cacheResult
(List<DDMStorageLink> ddmStorageLinks) Caches the ddm storage links in the entity cache if it is enabled.static void
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
(String uuid) Returns the number of ddm storage links where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of ddm storage links where uuid = ? and companyId = ?.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 returnsnull
if it could not be found.static DDMStorageLink
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.static DDMStorageLink
fetchByPrimaryKey
(long storageLinkId) Returns the ddm storage link with the primary key or returnsnull
if it could not be found.static Map<Serializable,
DDMStorageLink> fetchByPrimaryKeys
(Set<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
(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
(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
(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
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) Returns the last ddm storage link in the ordered set where uuid = ?.static List<DDMStorageLink>
findAll()
Returns all the ddm storage links.static List<DDMStorageLink>
findAll
(int start, int end) Returns a range of all the ddm storage links.static 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 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 aNoSuchStorageLinkException
if it could not be found.static DDMStorageLink
findByPrimaryKey
(long storageLinkId) Returns the ddm storage link with the primary key or throws aNoSuchStorageLinkException
if it could not be found.static List<DDMStorageLink>
findByStructureId
(long structureId) Returns all the ddm storage links where structureId = ?.static List<DDMStorageLink>
findByStructureId
(long structureId, int start, int end) Returns a range of all the ddm storage links where structureId = ?.static 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 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
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 List<DDMStorageLink>
findByStructureVersionId
(long structureVersionId) Returns all the ddm storage links where structureVersionId = ?.static List<DDMStorageLink>
findByStructureVersionId
(long[] structureVersionIds) Returns all the ddm storage links where structureVersionId = any ?.static List<DDMStorageLink>
findByStructureVersionId
(long[] structureVersionIds, int start, int end) Returns a range of all the ddm storage links where structureVersionId = any ?.static 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 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 List<DDMStorageLink>
findByStructureVersionId
(long structureVersionId, int start, int end) Returns a range of all the ddm storage links where structureVersionId = ?.static 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 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
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 List<DDMStorageLink>
findByUuid
(String uuid) Returns all the ddm storage links where uuid = ?.static List<DDMStorageLink>
findByUuid
(String uuid, int start, int end) Returns a range of all the ddm storage links where uuid = ?.static 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 = ?.static 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 = ?.static List<DDMStorageLink>
findByUuid_C
(String uuid, long companyId) Returns all the ddm storage links where uuid = ? and companyId = ?.static List<DDMStorageLink>
findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the ddm storage links where uuid = ? and companyId = ?.static 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 = ?.static 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 = ?.static DDMStorageLink
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 = ?.static DDMStorageLink
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 = ?.static DDMStorageLink[]
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 = ?.static DDMStorageLink
findByUuid_First
(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
(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, 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 List<DDMStorageLink>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<DDMStorageLink>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static 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
static DDMStorageLink
remove
(long storageLinkId) Removes the ddm storage link with the primary key from the database.static void
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
(String uuid) Removes all the ddm storage links where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the ddm storage links where uuid = ? and companyId = ? from the database.static void
setPersistence
(DDMStorageLinkPersistence persistence) static DDMStorageLink
update
(DDMStorageLink ddmStorageLink) static DDMStorageLink
update
(DDMStorageLink ddmStorageLink, com.liferay.portal.kernel.service.ServiceContext serviceContext) static DDMStorageLink
updateImpl
(DDMStorageLink ddmStorageLink)
-
Constructor Details
-
DDMStorageLinkUtil
public DDMStorageLinkUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
- See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<DDMStorageLink> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<DDMStorageLink> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<DDMStorageLink> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStorageLink> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static DDMStorageLink update(DDMStorageLink ddmStorageLink, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
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
public static 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
public static 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
public static 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 foundNoSuchStorageLinkException
-
fetchByUuid_First
public static 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
public static 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 foundNoSuchStorageLinkException
-
fetchByUuid_Last
public static 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
public static 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 foundNoSuchStorageLinkException
-
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
public static 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
public static 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
public static 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 foundNoSuchStorageLinkException
-
fetchByUuid_C_First
public static 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
public static 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 foundNoSuchStorageLinkException
-
fetchByUuid_C_Last
public static 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
public static 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 foundNoSuchStorageLinkException
-
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 foundNoSuchStorageLinkException
-
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
public static 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
public static 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
public static 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
public static 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 foundNoSuchStorageLinkException
-
fetchByStructureId_First
public 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 = ?.- 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
public static 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 foundNoSuchStorageLinkException
-
fetchByStructureId_Last
public 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 = ?.- 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
public static 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 foundNoSuchStorageLinkException
-
removeByStructureId
public static void removeByStructureId(long structureId) Removes all the ddm storage links where structureId = ? from the database.- Parameters:
structureId
- the structure ID
-
countByStructureId
public static 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
public static List<DDMStorageLink> findByStructureVersionId(long structureVersionId, int start, int end) 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
public static 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
public static 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
public static 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 foundNoSuchStorageLinkException
-
fetchByStructureVersionId_First
public 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 = ?.- 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
public static 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 foundNoSuchStorageLinkException
-
fetchByStructureVersionId_Last
public 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 = ?.- 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
public static 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 foundNoSuchStorageLinkException
-
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
public static List<DDMStorageLink> findByStructureVersionId(long[] structureVersionIds, int start, int end) 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
public static 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
public static 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
public static void removeByStructureVersionId(long structureVersionId) Removes all the ddm storage links where structureVersionId = ? from the database.- Parameters:
structureVersionId
- the structure version ID
-
countByStructureVersionId
public static 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
public static 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 foundNoSuchStorageLinkException
-
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 foundNoSuchStorageLinkException
-
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
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
public static 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
public static 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
public static void removeAll()Removes all the ddm storage links from the database. -
countAll
public static int countAll()Returns the number of ddm storage links.- Returns:
- the number of ddm storage links
-
getPersistence
-
setPersistence
-