public class DDMDataProviderInstanceLinkUtil
extends java.lang.Object
com.liferay.dynamic.data.mapping.service.persistence.impl.DDMDataProviderInstanceLinkPersistenceImpl
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
DDMDataProviderInstanceLinkPersistence
Constructor and Description |
---|
DDMDataProviderInstanceLinkUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(DDMDataProviderInstanceLink ddmDataProviderInstanceLink)
Caches the ddm data provider instance link in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<DDMDataProviderInstanceLink> ddmDataProviderInstanceLinks)
Caches the ddm data provider instance links in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(DDMDataProviderInstanceLink ddmDataProviderInstanceLink) |
static int |
countAll()
Returns the number of ddm data provider instance links.
|
static int |
countByD_S(long dataProviderInstanceId,
long structureId)
Returns the number of ddm data provider instance links where dataProviderInstanceId = ? and structureId = ?.
|
static int |
countByDataProviderInstanceId(long dataProviderInstanceId)
Returns the number of ddm data provider instance links where dataProviderInstanceId = ?.
|
static int |
countByStructureId(long structureId)
Returns the number of ddm data provider instance links where structureId = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static DDMDataProviderInstanceLink |
create(long dataProviderInstanceLinkId)
Creates a new ddm data provider instance link with the primary key.
|
static DDMDataProviderInstanceLink |
fetchByD_S(long dataProviderInstanceId,
long structureId)
Returns the ddm data provider instance link where dataProviderInstanceId = ? and structureId = ? or returns
null if it could not be found. |
static DDMDataProviderInstanceLink |
fetchByD_S(long dataProviderInstanceId,
long structureId,
boolean useFinderCache)
Returns the ddm data provider instance link where dataProviderInstanceId = ? and structureId = ? or returns
null if it could not be found, optionally using the finder cache. |
static DDMDataProviderInstanceLink |
fetchByDataProviderInstanceId_First(long dataProviderInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator)
Returns the first ddm data provider instance link in the ordered set where dataProviderInstanceId = ?.
|
static DDMDataProviderInstanceLink |
fetchByDataProviderInstanceId_Last(long dataProviderInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator)
Returns the last ddm data provider instance link in the ordered set where dataProviderInstanceId = ?.
|
static DDMDataProviderInstanceLink |
fetchByPrimaryKey(long dataProviderInstanceLinkId)
Returns the ddm data provider instance link with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,DDMDataProviderInstanceLink> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static DDMDataProviderInstanceLink |
fetchByStructureId_First(long structureId,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator)
Returns the first ddm data provider instance link in the ordered set where structureId = ?.
|
static DDMDataProviderInstanceLink |
fetchByStructureId_Last(long structureId,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator)
Returns the last ddm data provider instance link in the ordered set where structureId = ?.
|
static java.util.List<DDMDataProviderInstanceLink> |
findAll()
Returns all the ddm data provider instance links.
|
static java.util.List<DDMDataProviderInstanceLink> |
findAll(int start,
int end)
Returns a range of all the ddm data provider instance links.
|
static java.util.List<DDMDataProviderInstanceLink> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator)
Returns an ordered range of all the ddm data provider instance links.
|
static java.util.List<DDMDataProviderInstanceLink> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm data provider instance links.
|
static DDMDataProviderInstanceLink |
findByD_S(long dataProviderInstanceId,
long structureId)
Returns the ddm data provider instance link where dataProviderInstanceId = ? and structureId = ? or throws a
NoSuchDataProviderInstanceLinkException if it could not be found. |
static DDMDataProviderInstanceLink |
findByDataProviderInstanceId_First(long dataProviderInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator)
Returns the first ddm data provider instance link in the ordered set where dataProviderInstanceId = ?.
|
static DDMDataProviderInstanceLink |
findByDataProviderInstanceId_Last(long dataProviderInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator)
Returns the last ddm data provider instance link in the ordered set where dataProviderInstanceId = ?.
|
static DDMDataProviderInstanceLink[] |
findByDataProviderInstanceId_PrevAndNext(long dataProviderInstanceLinkId,
long dataProviderInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator)
Returns the ddm data provider instance links before and after the current ddm data provider instance link in the ordered set where dataProviderInstanceId = ?.
|
static java.util.List<DDMDataProviderInstanceLink> |
findByDataProviderInstanceId(long dataProviderInstanceId)
Returns all the ddm data provider instance links where dataProviderInstanceId = ?.
|
static java.util.List<DDMDataProviderInstanceLink> |
findByDataProviderInstanceId(long dataProviderInstanceId,
int start,
int end)
Returns a range of all the ddm data provider instance links where dataProviderInstanceId = ?.
|
static java.util.List<DDMDataProviderInstanceLink> |
findByDataProviderInstanceId(long dataProviderInstanceId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator)
Returns an ordered range of all the ddm data provider instance links where dataProviderInstanceId = ?.
|
static java.util.List<DDMDataProviderInstanceLink> |
findByDataProviderInstanceId(long dataProviderInstanceId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm data provider instance links where dataProviderInstanceId = ?.
|
static DDMDataProviderInstanceLink |
findByPrimaryKey(long dataProviderInstanceLinkId)
Returns the ddm data provider instance link with the primary key or throws a
NoSuchDataProviderInstanceLinkException if it could not be found. |
static DDMDataProviderInstanceLink |
findByStructureId_First(long structureId,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator)
Returns the first ddm data provider instance link in the ordered set where structureId = ?.
|
static DDMDataProviderInstanceLink |
findByStructureId_Last(long structureId,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator)
Returns the last ddm data provider instance link in the ordered set where structureId = ?.
|
static DDMDataProviderInstanceLink[] |
findByStructureId_PrevAndNext(long dataProviderInstanceLinkId,
long structureId,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator)
Returns the ddm data provider instance links before and after the current ddm data provider instance link in the ordered set where structureId = ?.
|
static java.util.List<DDMDataProviderInstanceLink> |
findByStructureId(long structureId)
Returns all the ddm data provider instance links where structureId = ?.
|
static java.util.List<DDMDataProviderInstanceLink> |
findByStructureId(long structureId,
int start,
int end)
Returns a range of all the ddm data provider instance links where structureId = ?.
|
static java.util.List<DDMDataProviderInstanceLink> |
findByStructureId(long structureId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator)
Returns an ordered range of all the ddm data provider instance links where structureId = ?.
|
static java.util.List<DDMDataProviderInstanceLink> |
findByStructureId(long structureId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the ddm data provider instance links where structureId = ?.
|
static java.util.List<DDMDataProviderInstanceLink> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<DDMDataProviderInstanceLink> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<DDMDataProviderInstanceLink> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator) |
static DDMDataProviderInstanceLinkPersistence |
getPersistence() |
static DDMDataProviderInstanceLink |
remove(long dataProviderInstanceLinkId)
Removes the ddm data provider instance link with the primary key from the database.
|
static void |
removeAll()
Removes all the ddm data provider instance links from the database.
|
static DDMDataProviderInstanceLink |
removeByD_S(long dataProviderInstanceId,
long structureId)
Removes the ddm data provider instance link where dataProviderInstanceId = ? and structureId = ? from the database.
|
static void |
removeByDataProviderInstanceId(long dataProviderInstanceId)
Removes all the ddm data provider instance links where dataProviderInstanceId = ? from the database.
|
static void |
removeByStructureId(long structureId)
Removes all the ddm data provider instance links where structureId = ? from the database.
|
static DDMDataProviderInstanceLink |
update(DDMDataProviderInstanceLink ddmDataProviderInstanceLink) |
static DDMDataProviderInstanceLink |
update(DDMDataProviderInstanceLink ddmDataProviderInstanceLink,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static DDMDataProviderInstanceLink |
updateImpl(DDMDataProviderInstanceLink ddmDataProviderInstanceLink) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(DDMDataProviderInstanceLink ddmDataProviderInstanceLink)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,DDMDataProviderInstanceLink> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<DDMDataProviderInstanceLink> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<DDMDataProviderInstanceLink> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<DDMDataProviderInstanceLink> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static DDMDataProviderInstanceLink update(DDMDataProviderInstanceLink ddmDataProviderInstanceLink)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static DDMDataProviderInstanceLink update(DDMDataProviderInstanceLink ddmDataProviderInstanceLink, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<DDMDataProviderInstanceLink> findByDataProviderInstanceId(long dataProviderInstanceId)
dataProviderInstanceId
- the data provider instance IDpublic static java.util.List<DDMDataProviderInstanceLink> findByDataProviderInstanceId(long dataProviderInstanceId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMDataProviderInstanceLinkModelImpl
.
dataProviderInstanceId
- the data provider instance IDstart
- the lower bound of the range of ddm data provider instance linksend
- the upper bound of the range of ddm data provider instance links (not inclusive)public static java.util.List<DDMDataProviderInstanceLink> findByDataProviderInstanceId(long dataProviderInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMDataProviderInstanceLinkModelImpl
.
dataProviderInstanceId
- the data provider instance IDstart
- the lower bound of the range of ddm data provider instance linksend
- the upper bound of the range of ddm data provider instance links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMDataProviderInstanceLink> findByDataProviderInstanceId(long dataProviderInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMDataProviderInstanceLinkModelImpl
.
dataProviderInstanceId
- the data provider instance IDstart
- the lower bound of the range of ddm data provider instance linksend
- the upper bound of the range of ddm data provider instance links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static DDMDataProviderInstanceLink findByDataProviderInstanceId_First(long dataProviderInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator) throws NoSuchDataProviderInstanceLinkException
dataProviderInstanceId
- the data provider instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDataProviderInstanceLinkException
- if a matching ddm data provider instance link could not be foundpublic static DDMDataProviderInstanceLink fetchByDataProviderInstanceId_First(long dataProviderInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator)
dataProviderInstanceId
- the data provider instance IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm data provider instance link could not be foundpublic static DDMDataProviderInstanceLink findByDataProviderInstanceId_Last(long dataProviderInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator) throws NoSuchDataProviderInstanceLinkException
dataProviderInstanceId
- the data provider instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDataProviderInstanceLinkException
- if a matching ddm data provider instance link could not be foundpublic static DDMDataProviderInstanceLink fetchByDataProviderInstanceId_Last(long dataProviderInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator)
dataProviderInstanceId
- the data provider instance IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm data provider instance link could not be foundpublic static DDMDataProviderInstanceLink[] findByDataProviderInstanceId_PrevAndNext(long dataProviderInstanceLinkId, long dataProviderInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator) throws NoSuchDataProviderInstanceLinkException
dataProviderInstanceLinkId
- the primary key of the current ddm data provider instance linkdataProviderInstanceId
- the data provider instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDataProviderInstanceLinkException
- if a ddm data provider instance link with the primary key could not be foundpublic static void removeByDataProviderInstanceId(long dataProviderInstanceId)
dataProviderInstanceId
- the data provider instance IDpublic static int countByDataProviderInstanceId(long dataProviderInstanceId)
dataProviderInstanceId
- the data provider instance IDpublic static java.util.List<DDMDataProviderInstanceLink> findByStructureId(long structureId)
structureId
- the structure IDpublic static java.util.List<DDMDataProviderInstanceLink> findByStructureId(long structureId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMDataProviderInstanceLinkModelImpl
.
structureId
- the structure IDstart
- the lower bound of the range of ddm data provider instance linksend
- the upper bound of the range of ddm data provider instance links (not inclusive)public static java.util.List<DDMDataProviderInstanceLink> findByStructureId(long structureId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMDataProviderInstanceLinkModelImpl
.
structureId
- the structure IDstart
- the lower bound of the range of ddm data provider instance linksend
- the upper bound of the range of ddm data provider instance links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMDataProviderInstanceLink> findByStructureId(long structureId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMDataProviderInstanceLinkModelImpl
.
structureId
- the structure IDstart
- the lower bound of the range of ddm data provider instance linksend
- the upper bound of the range of ddm data provider instance links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static DDMDataProviderInstanceLink findByStructureId_First(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator) throws NoSuchDataProviderInstanceLinkException
structureId
- the structure IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDataProviderInstanceLinkException
- if a matching ddm data provider instance link could not be foundpublic static DDMDataProviderInstanceLink fetchByStructureId_First(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator)
structureId
- the structure IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm data provider instance link could not be foundpublic static DDMDataProviderInstanceLink findByStructureId_Last(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator) throws NoSuchDataProviderInstanceLinkException
structureId
- the structure IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDataProviderInstanceLinkException
- if a matching ddm data provider instance link could not be foundpublic static DDMDataProviderInstanceLink fetchByStructureId_Last(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator)
structureId
- the structure IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching ddm data provider instance link could not be foundpublic static DDMDataProviderInstanceLink[] findByStructureId_PrevAndNext(long dataProviderInstanceLinkId, long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator) throws NoSuchDataProviderInstanceLinkException
dataProviderInstanceLinkId
- the primary key of the current ddm data provider instance linkstructureId
- the structure IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDataProviderInstanceLinkException
- if a ddm data provider instance link with the primary key could not be foundpublic static void removeByStructureId(long structureId)
structureId
- the structure IDpublic static int countByStructureId(long structureId)
structureId
- the structure IDpublic static DDMDataProviderInstanceLink findByD_S(long dataProviderInstanceId, long structureId) throws NoSuchDataProviderInstanceLinkException
NoSuchDataProviderInstanceLinkException
if it could not be found.dataProviderInstanceId
- the data provider instance IDstructureId
- the structure IDNoSuchDataProviderInstanceLinkException
- if a matching ddm data provider instance link could not be foundpublic static DDMDataProviderInstanceLink fetchByD_S(long dataProviderInstanceId, long structureId)
null
if it could not be found. Uses the finder cache.dataProviderInstanceId
- the data provider instance IDstructureId
- the structure IDnull
if a matching ddm data provider instance link could not be foundpublic static DDMDataProviderInstanceLink fetchByD_S(long dataProviderInstanceId, long structureId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.dataProviderInstanceId
- the data provider instance IDstructureId
- the structure IDuseFinderCache
- whether to use the finder cachenull
if a matching ddm data provider instance link could not be foundpublic static DDMDataProviderInstanceLink removeByD_S(long dataProviderInstanceId, long structureId) throws NoSuchDataProviderInstanceLinkException
dataProviderInstanceId
- the data provider instance IDstructureId
- the structure IDNoSuchDataProviderInstanceLinkException
public static int countByD_S(long dataProviderInstanceId, long structureId)
dataProviderInstanceId
- the data provider instance IDstructureId
- the structure IDpublic static void cacheResult(DDMDataProviderInstanceLink ddmDataProviderInstanceLink)
ddmDataProviderInstanceLink
- the ddm data provider instance linkpublic static void cacheResult(java.util.List<DDMDataProviderInstanceLink> ddmDataProviderInstanceLinks)
ddmDataProviderInstanceLinks
- the ddm data provider instance linkspublic static DDMDataProviderInstanceLink create(long dataProviderInstanceLinkId)
dataProviderInstanceLinkId
- the primary key for the new ddm data provider instance linkpublic static DDMDataProviderInstanceLink remove(long dataProviderInstanceLinkId) throws NoSuchDataProviderInstanceLinkException
dataProviderInstanceLinkId
- the primary key of the ddm data provider instance linkNoSuchDataProviderInstanceLinkException
- if a ddm data provider instance link with the primary key could not be foundpublic static DDMDataProviderInstanceLink updateImpl(DDMDataProviderInstanceLink ddmDataProviderInstanceLink)
public static DDMDataProviderInstanceLink findByPrimaryKey(long dataProviderInstanceLinkId) throws NoSuchDataProviderInstanceLinkException
NoSuchDataProviderInstanceLinkException
if it could not be found.dataProviderInstanceLinkId
- the primary key of the ddm data provider instance linkNoSuchDataProviderInstanceLinkException
- if a ddm data provider instance link with the primary key could not be foundpublic static DDMDataProviderInstanceLink fetchByPrimaryKey(long dataProviderInstanceLinkId)
null
if it could not be found.dataProviderInstanceLinkId
- the primary key of the ddm data provider instance linknull
if a ddm data provider instance link with the primary key could not be foundpublic static java.util.List<DDMDataProviderInstanceLink> findAll()
public static java.util.List<DDMDataProviderInstanceLink> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMDataProviderInstanceLinkModelImpl
.
start
- the lower bound of the range of ddm data provider instance linksend
- the upper bound of the range of ddm data provider instance links (not inclusive)public static java.util.List<DDMDataProviderInstanceLink> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMDataProviderInstanceLinkModelImpl
.
start
- the lower bound of the range of ddm data provider instance linksend
- the upper bound of the range of ddm data provider instance links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<DDMDataProviderInstanceLink> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMDataProviderInstanceLink> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from DDMDataProviderInstanceLinkModelImpl
.
start
- the lower bound of the range of ddm data provider instance linksend
- the upper bound of the range of ddm data provider instance links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static DDMDataProviderInstanceLinkPersistence getPersistence()