@ProviderType public interface DDMStructureLinkPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<DDMStructureLink>
Caching information and settings can be found in portal.properties
com.liferay.dynamic.data.mapping.service.persistence.impl.DDMStructureLinkPersistenceImpl,
DDMStructureLinkUtil| Modifier and Type | Method and Description |
|---|---|
void |
cacheResult(DDMStructureLink ddmStructureLink)
Caches the d d m structure link in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<DDMStructureLink> ddmStructureLinks)
Caches the d d m structure links in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of d d m structure links.
|
int |
countByC_C_S(long classNameId,
long classPK,
long structureId)
Returns the number of d d m structure links where classNameId = ? and classPK = ? and structureId = ?.
|
int |
countByC_C(long classNameId,
long classPK)
Returns the number of d d m structure links where classNameId = ? and classPK = ?.
|
int |
countByClassNameId(long classNameId)
Returns the number of d d m structure links where classNameId = ?.
|
int |
countByStructureId(long structureId)
Returns the number of d d m structure links where structureId = ?.
|
DDMStructureLink |
create(long structureLinkId)
Creates a new d d m structure link with the primary key.
|
DDMStructureLink |
fetchByC_C_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator)
Returns the first d d m structure link in the ordered set where classNameId = ? and classPK = ?.
|
DDMStructureLink |
fetchByC_C_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator)
Returns the last d d m structure link in the ordered set where classNameId = ? and classPK = ?.
|
DDMStructureLink |
fetchByC_C_S(long classNameId,
long classPK,
long structureId)
Returns the d d m structure link where classNameId = ? and classPK = ? and structureId = ? or returns
null if it could not be found. |
DDMStructureLink |
fetchByC_C_S(long classNameId,
long classPK,
long structureId,
boolean retrieveFromCache)
Returns the d d m structure link where classNameId = ? and classPK = ? and structureId = ? or returns
null if it could not be found, optionally using the finder cache. |
DDMStructureLink |
fetchByClassNameId_First(long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator)
Returns the first d d m structure link in the ordered set where classNameId = ?.
|
DDMStructureLink |
fetchByClassNameId_Last(long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator)
Returns the last d d m structure link in the ordered set where classNameId = ?.
|
DDMStructureLink |
fetchByPrimaryKey(long structureLinkId)
Returns the d d m structure link with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,DDMStructureLink> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
DDMStructureLink |
fetchByStructureId_First(long structureId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator)
Returns the first d d m structure link in the ordered set where structureId = ?.
|
DDMStructureLink |
fetchByStructureId_Last(long structureId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator)
Returns the last d d m structure link in the ordered set where structureId = ?.
|
java.util.List<DDMStructureLink> |
findAll()
Returns all the d d m structure links.
|
java.util.List<DDMStructureLink> |
findAll(int start,
int end)
Returns a range of all the d d m structure links.
|
java.util.List<DDMStructureLink> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator)
Returns an ordered range of all the d d m structure links.
|
java.util.List<DDMStructureLink> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the d d m structure links.
|
DDMStructureLink |
findByC_C_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator)
Returns the first d d m structure link in the ordered set where classNameId = ? and classPK = ?.
|
DDMStructureLink |
findByC_C_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator)
Returns the last d d m structure link in the ordered set where classNameId = ? and classPK = ?.
|
DDMStructureLink[] |
findByC_C_PrevAndNext(long structureLinkId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator)
Returns the d d m structure links before and after the current d d m structure link in the ordered set where classNameId = ? and classPK = ?.
|
DDMStructureLink |
findByC_C_S(long classNameId,
long classPK,
long structureId)
Returns the d d m structure link where classNameId = ? and classPK = ? and structureId = ? or throws a
NoSuchStructureLinkException if it could not be found. |
java.util.List<DDMStructureLink> |
findByC_C(long classNameId,
long classPK)
Returns all the d d m structure links where classNameId = ? and classPK = ?.
|
java.util.List<DDMStructureLink> |
findByC_C(long classNameId,
long classPK,
int start,
int end)
Returns a range of all the d d m structure links where classNameId = ? and classPK = ?.
|
java.util.List<DDMStructureLink> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator)
Returns an ordered range of all the d d m structure links where classNameId = ? and classPK = ?.
|
java.util.List<DDMStructureLink> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the d d m structure links where classNameId = ? and classPK = ?.
|
DDMStructureLink |
findByClassNameId_First(long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator)
Returns the first d d m structure link in the ordered set where classNameId = ?.
|
DDMStructureLink |
findByClassNameId_Last(long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator)
Returns the last d d m structure link in the ordered set where classNameId = ?.
|
DDMStructureLink[] |
findByClassNameId_PrevAndNext(long structureLinkId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator)
Returns the d d m structure links before and after the current d d m structure link in the ordered set where classNameId = ?.
|
java.util.List<DDMStructureLink> |
findByClassNameId(long classNameId)
Returns all the d d m structure links where classNameId = ?.
|
java.util.List<DDMStructureLink> |
findByClassNameId(long classNameId,
int start,
int end)
Returns a range of all the d d m structure links where classNameId = ?.
|
java.util.List<DDMStructureLink> |
findByClassNameId(long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator)
Returns an ordered range of all the d d m structure links where classNameId = ?.
|
java.util.List<DDMStructureLink> |
findByClassNameId(long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the d d m structure links where classNameId = ?.
|
DDMStructureLink |
findByPrimaryKey(long structureLinkId)
Returns the d d m structure link with the primary key or throws a
NoSuchStructureLinkException if it could not be found. |
DDMStructureLink |
findByStructureId_First(long structureId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator)
Returns the first d d m structure link in the ordered set where structureId = ?.
|
DDMStructureLink |
findByStructureId_Last(long structureId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator)
Returns the last d d m structure link in the ordered set where structureId = ?.
|
DDMStructureLink[] |
findByStructureId_PrevAndNext(long structureLinkId,
long structureId,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator)
Returns the d d m structure links before and after the current d d m structure link in the ordered set where structureId = ?.
|
java.util.List<DDMStructureLink> |
findByStructureId(long structureId)
Returns all the d d m structure links where structureId = ?.
|
java.util.List<DDMStructureLink> |
findByStructureId(long structureId,
int start,
int end)
Returns a range of all the d d m structure links where structureId = ?.
|
java.util.List<DDMStructureLink> |
findByStructureId(long structureId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator)
Returns an ordered range of all the d d m structure links where structureId = ?.
|
java.util.List<DDMStructureLink> |
findByStructureId(long structureId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the d d m structure links where structureId = ?.
|
DDMStructureLink |
remove(long structureLinkId)
Removes the d d m structure link with the primary key from the database.
|
void |
removeAll()
Removes all the d d m structure links from the database.
|
DDMStructureLink |
removeByC_C_S(long classNameId,
long classPK,
long structureId)
Removes the d d m structure link where classNameId = ? and classPK = ? and structureId = ? from the database.
|
void |
removeByC_C(long classNameId,
long classPK)
Removes all the d d m structure links where classNameId = ? and classPK = ? from the database.
|
void |
removeByClassNameId(long classNameId)
Removes all the d d m structure links where classNameId = ? from the database.
|
void |
removeByStructureId(long structureId)
Removes all the d d m structure links where structureId = ? from the database.
|
DDMStructureLink |
updateImpl(DDMStructureLink ddmStructureLink) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, updatejava.util.List<DDMStructureLink> findByClassNameId(long classNameId)
classNameId - the class name IDjava.util.List<DDMStructureLink> findByClassNameId(long classNameId, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from DDMStructureLinkModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
classNameId - the class name IDstart - the lower bound of the range of d d m structure linksend - the upper bound of the range of d d m structure links (not inclusive)java.util.List<DDMStructureLink> findByClassNameId(long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from DDMStructureLinkModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
classNameId - the class name IDstart - the lower bound of the range of d d m structure linksend - the upper bound of the range of d d m structure links (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<DDMStructureLink> findByClassNameId(long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from DDMStructureLinkModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
classNameId - the class name IDstart - the lower bound of the range of d d m structure linksend - the upper bound of the range of d d m structure links (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheDDMStructureLink findByClassNameId_First(long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator) throws NoSuchStructureLinkException
classNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)NoSuchStructureLinkException - if a matching d d m structure link could not be foundDDMStructureLink fetchByClassNameId_First(long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator)
classNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)null if a matching d d m structure link could not be foundDDMStructureLink findByClassNameId_Last(long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator) throws NoSuchStructureLinkException
classNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)NoSuchStructureLinkException - if a matching d d m structure link could not be foundDDMStructureLink fetchByClassNameId_Last(long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator)
classNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)null if a matching d d m structure link could not be foundDDMStructureLink[] findByClassNameId_PrevAndNext(long structureLinkId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator) throws NoSuchStructureLinkException
structureLinkId - the primary key of the current d d m structure linkclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)NoSuchStructureLinkException - if a d d m structure link with the primary key could not be foundvoid removeByClassNameId(long classNameId)
classNameId - the class name IDint countByClassNameId(long classNameId)
classNameId - the class name IDjava.util.List<DDMStructureLink> findByStructureId(long structureId)
structureId - the structure IDjava.util.List<DDMStructureLink> findByStructureId(long structureId, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from DDMStructureLinkModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
structureId - the structure IDstart - the lower bound of the range of d d m structure linksend - the upper bound of the range of d d m structure links (not inclusive)java.util.List<DDMStructureLink> findByStructureId(long structureId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from DDMStructureLinkModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
structureId - the structure IDstart - the lower bound of the range of d d m structure linksend - the upper bound of the range of d d m structure links (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<DDMStructureLink> findByStructureId(long structureId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from DDMStructureLinkModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
structureId - the structure IDstart - the lower bound of the range of d d m structure linksend - the upper bound of the range of d d m structure links (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheDDMStructureLink findByStructureId_First(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator) throws NoSuchStructureLinkException
structureId - the structure IDorderByComparator - the comparator to order the set by (optionally null)NoSuchStructureLinkException - if a matching d d m structure link could not be foundDDMStructureLink fetchByStructureId_First(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator)
structureId - the structure IDorderByComparator - the comparator to order the set by (optionally null)null if a matching d d m structure link could not be foundDDMStructureLink findByStructureId_Last(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator) throws NoSuchStructureLinkException
structureId - the structure IDorderByComparator - the comparator to order the set by (optionally null)NoSuchStructureLinkException - if a matching d d m structure link could not be foundDDMStructureLink fetchByStructureId_Last(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator)
structureId - the structure IDorderByComparator - the comparator to order the set by (optionally null)null if a matching d d m structure link could not be foundDDMStructureLink[] findByStructureId_PrevAndNext(long structureLinkId, long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator) throws NoSuchStructureLinkException
structureLinkId - the primary key of the current d d m structure linkstructureId - the structure IDorderByComparator - the comparator to order the set by (optionally null)NoSuchStructureLinkException - if a d d m structure link with the primary key could not be foundvoid removeByStructureId(long structureId)
structureId - the structure IDint countByStructureId(long structureId)
structureId - the structure IDjava.util.List<DDMStructureLink> findByC_C(long classNameId, long classPK)
classNameId - the class name IDclassPK - the class p kjava.util.List<DDMStructureLink> findByC_C(long classNameId, long classPK, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from DDMStructureLinkModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
classNameId - the class name IDclassPK - the class p kstart - the lower bound of the range of d d m structure linksend - the upper bound of the range of d d m structure links (not inclusive)java.util.List<DDMStructureLink> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from DDMStructureLinkModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
classNameId - the class name IDclassPK - the class p kstart - the lower bound of the range of d d m structure linksend - the upper bound of the range of d d m structure links (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<DDMStructureLink> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from DDMStructureLinkModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
classNameId - the class name IDclassPK - the class p kstart - the lower bound of the range of d d m structure linksend - the upper bound of the range of d d m structure links (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cacheDDMStructureLink findByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator) throws NoSuchStructureLinkException
classNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)NoSuchStructureLinkException - if a matching d d m structure link could not be foundDDMStructureLink fetchByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator)
classNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)null if a matching d d m structure link could not be foundDDMStructureLink findByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator) throws NoSuchStructureLinkException
classNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)NoSuchStructureLinkException - if a matching d d m structure link could not be foundDDMStructureLink fetchByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator)
classNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)null if a matching d d m structure link could not be foundDDMStructureLink[] findByC_C_PrevAndNext(long structureLinkId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator) throws NoSuchStructureLinkException
structureLinkId - the primary key of the current d d m structure linkclassNameId - the class name IDclassPK - the class p korderByComparator - the comparator to order the set by (optionally null)NoSuchStructureLinkException - if a d d m structure link with the primary key could not be foundvoid removeByC_C(long classNameId,
long classPK)
classNameId - the class name IDclassPK - the class p kint countByC_C(long classNameId,
long classPK)
classNameId - the class name IDclassPK - the class p kDDMStructureLink findByC_C_S(long classNameId, long classPK, long structureId) throws NoSuchStructureLinkException
NoSuchStructureLinkException if it could not be found.classNameId - the class name IDclassPK - the class p kstructureId - the structure IDNoSuchStructureLinkException - if a matching d d m structure link could not be foundDDMStructureLink fetchByC_C_S(long classNameId, long classPK, long structureId)
null if it could not be found. Uses the finder cache.classNameId - the class name IDclassPK - the class p kstructureId - the structure IDnull if a matching d d m structure link could not be foundDDMStructureLink fetchByC_C_S(long classNameId, long classPK, long structureId, boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.classNameId - the class name IDclassPK - the class p kstructureId - the structure IDretrieveFromCache - whether to retrieve from the finder cachenull if a matching d d m structure link could not be foundDDMStructureLink removeByC_C_S(long classNameId, long classPK, long structureId) throws NoSuchStructureLinkException
classNameId - the class name IDclassPK - the class p kstructureId - the structure IDNoSuchStructureLinkExceptionint countByC_C_S(long classNameId,
long classPK,
long structureId)
classNameId - the class name IDclassPK - the class p kstructureId - the structure IDvoid cacheResult(DDMStructureLink ddmStructureLink)
ddmStructureLink - the d d m structure linkvoid cacheResult(java.util.List<DDMStructureLink> ddmStructureLinks)
ddmStructureLinks - the d d m structure linksDDMStructureLink create(long structureLinkId)
structureLinkId - the primary key for the new d d m structure linkDDMStructureLink remove(long structureLinkId) throws NoSuchStructureLinkException
structureLinkId - the primary key of the d d m structure linkNoSuchStructureLinkException - if a d d m structure link with the primary key could not be foundDDMStructureLink updateImpl(DDMStructureLink ddmStructureLink)
DDMStructureLink findByPrimaryKey(long structureLinkId) throws NoSuchStructureLinkException
NoSuchStructureLinkException if it could not be found.structureLinkId - the primary key of the d d m structure linkNoSuchStructureLinkException - if a d d m structure link with the primary key could not be foundDDMStructureLink fetchByPrimaryKey(long structureLinkId)
null if it could not be found.structureLinkId - the primary key of the d d m structure linknull if a d d m structure link with the primary key could not be foundjava.util.Map<java.io.Serializable,DDMStructureLink> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.BasePersistence<DDMStructureLink>java.util.List<DDMStructureLink> findAll()
java.util.List<DDMStructureLink> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from DDMStructureLinkModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of d d m structure linksend - the upper bound of the range of d d m structure links (not inclusive)java.util.List<DDMStructureLink> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from DDMStructureLinkModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of d d m structure linksend - the upper bound of the range of d d m structure links (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<DDMStructureLink> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLink> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from DDMStructureLinkModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of d d m structure linksend - the upper bound of the range of d d m structure links (not inclusive)orderByComparator - the comparator to order the results by (optionally null)retrieveFromCache - whether to retrieve from the finder cachevoid removeAll()
int countAll()