|
Liferay 6.1.2-ce-ga3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<DDMStructureLink>
com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureLinkPersistenceImpl
public class DDMStructureLinkPersistenceImpl
The persistence implementation for the d d m structure link service.
Caching information and settings can be found in portal.properties
DDMStructureLinkPersistence,
DDMStructureLinkUtil| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR |
| Constructor Summary | |
|---|---|
DDMStructureLinkPersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
Initializes the d d m structure link persistence. |
void |
cacheResult(DDMStructureLink ddmStructureLink)
Caches the d d m structure link in the entity cache if it is enabled. |
void |
cacheResult(List<DDMStructureLink> ddmStructureLinks)
Caches the d d m structure links in the entity cache if it is enabled. |
protected void |
cacheUniqueFindersCache(DDMStructureLink ddmStructureLink)
|
void |
clearCache()
Clears the cache for all d d m structure links. |
void |
clearCache(DDMStructureLink ddmStructureLink)
Clears the cache for the d d m structure link. |
void |
clearCache(List<DDMStructureLink> ddmStructureLinks)
Clears the cache for a List instances of this model. |
protected void |
clearUniqueFindersCache(DDMStructureLink ddmStructureLink)
|
int |
countAll()
Returns the number of d d m structure links. |
int |
countByClassNameId(long classNameId)
Returns the number of d d m structure links where classNameId = ?. |
int |
countByClassPK(long classPK)
Returns the number of d d m structure links where classPK = ?. |
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. |
void |
destroy()
|
DDMStructureLink |
fetchByClassNameId_First(long classNameId,
OrderByComparator orderByComparator)
Returns the first d d m structure link in the ordered set where classNameId = ?. |
DDMStructureLink |
fetchByClassNameId_Last(long classNameId,
OrderByComparator orderByComparator)
Returns the last d d m structure link in the ordered set where classNameId = ?. |
DDMStructureLink |
fetchByClassPK(long classPK)
Returns the d d m structure link where classPK = ? or returns null if it could not be found. |
DDMStructureLink |
fetchByClassPK(long classPK,
boolean retrieveFromCache)
Returns the d d m structure link where classPK = ? or returns null if it could not be found, optionally using the finder cache. |
DDMStructureLink |
fetchByPrimaryKey(long structureLinkId)
Returns the d d m structure link with the primary key or returns null if it could not be found. |
DDMStructureLink |
fetchByPrimaryKey(Serializable primaryKey)
Returns the d d m structure link with the primary key or returns null if it could not be found. |
DDMStructureLink |
fetchByStructureId_First(long structureId,
OrderByComparator orderByComparator)
Returns the first d d m structure link in the ordered set where structureId = ?. |
DDMStructureLink |
fetchByStructureId_Last(long structureId,
OrderByComparator orderByComparator)
Returns the last d d m structure link in the ordered set where structureId = ?. |
List<DDMStructureLink> |
findAll()
Returns all the d d m structure links. |
List<DDMStructureLink> |
findAll(int start,
int end)
Returns a range of all the d d m structure links. |
List<DDMStructureLink> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m structure links. |
DDMStructureLink |
findByClassNameId_First(long classNameId,
OrderByComparator orderByComparator)
Returns the first d d m structure link in the ordered set where classNameId = ?. |
DDMStructureLink |
findByClassNameId_Last(long classNameId,
OrderByComparator orderByComparator)
Returns the last d d m structure link in the ordered set where classNameId = ?. |
DDMStructureLink[] |
findByClassNameId_PrevAndNext(long structureLinkId,
long classNameId,
OrderByComparator orderByComparator)
Returns the d d m structure links before and after the current d d m structure link in the ordered set where classNameId = ?. |
List<DDMStructureLink> |
findByClassNameId(long classNameId)
Returns all the d d m structure links where classNameId = ?. |
List<DDMStructureLink> |
findByClassNameId(long classNameId,
int start,
int end)
Returns a range of all the d d m structure links where classNameId = ?. |
List<DDMStructureLink> |
findByClassNameId(long classNameId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m structure links where classNameId = ?. |
DDMStructureLink |
findByClassPK(long classPK)
Returns the d d m structure link where classPK = ? or throws a NoSuchStructureLinkException if it could not be found. |
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 |
findByPrimaryKey(Serializable primaryKey)
Returns the d d m structure link with the primary key or throws a NoSuchModelException if it could not be found. |
DDMStructureLink |
findByStructureId_First(long structureId,
OrderByComparator orderByComparator)
Returns the first d d m structure link in the ordered set where structureId = ?. |
DDMStructureLink |
findByStructureId_Last(long structureId,
OrderByComparator orderByComparator)
Returns the last d d m structure link in the ordered set where structureId = ?. |
DDMStructureLink[] |
findByStructureId_PrevAndNext(long structureLinkId,
long structureId,
OrderByComparator orderByComparator)
Returns the d d m structure links before and after the current d d m structure link in the ordered set where structureId = ?. |
List<DDMStructureLink> |
findByStructureId(long structureId)
Returns all the d d m structure links where structureId = ?. |
List<DDMStructureLink> |
findByStructureId(long structureId,
int start,
int end)
Returns a range of all the d d m structure links where structureId = ?. |
List<DDMStructureLink> |
findByStructureId(long structureId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m structure links where structureId = ?. |
protected DDMStructureLink |
getByClassNameId_PrevAndNext(Session session,
DDMStructureLink ddmStructureLink,
long classNameId,
OrderByComparator orderByComparator,
boolean previous)
|
protected DDMStructureLink |
getByStructureId_PrevAndNext(Session session,
DDMStructureLink ddmStructureLink,
long structureId,
OrderByComparator orderByComparator,
boolean previous)
|
DDMStructureLink |
remove(long structureLinkId)
Removes the d d m structure link with the primary key from the database. |
DDMStructureLink |
remove(Serializable primaryKey)
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. |
void |
removeByClassNameId(long classNameId)
Removes all the d d m structure links where classNameId = ? from the database. |
DDMStructureLink |
removeByClassPK(long classPK)
Removes the d d m structure link where classPK = ? from the database. |
void |
removeByStructureId(long structureId)
Removes all the d d m structure links where structureId = ? from the database. |
protected DDMStructureLink |
removeImpl(DDMStructureLink ddmStructureLink)
Removes the model instance from the database. |
protected DDMStructureLink |
toUnwrappedModel(DDMStructureLink ddmStructureLink)
|
DDMStructureLink |
updateImpl(DDMStructureLink ddmStructureLink,
boolean merge)
Updates the model instance in the database or adds it if it does not yet exist. |
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getClassLoader, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update |
| Field Detail |
|---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_CLASSNAMEID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_CLASSNAMEID
public static final FinderPath FINDER_PATH_COUNT_BY_CLASSNAMEID
public static final FinderPath FINDER_PATH_FETCH_BY_CLASSPK
public static final FinderPath FINDER_PATH_COUNT_BY_CLASSPK
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_STRUCTUREID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_STRUCTUREID
public static final FinderPath FINDER_PATH_COUNT_BY_STRUCTUREID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
@BeanReference(type=DDMContentPersistence.class) protected DDMContentPersistence ddmContentPersistence
@BeanReference(type=DDMStorageLinkPersistence.class) protected DDMStorageLinkPersistence ddmStorageLinkPersistence
@BeanReference(type=DDMStructurePersistence.class) protected DDMStructurePersistence ddmStructurePersistence
@BeanReference(type=DDMStructureLinkPersistence.class) protected DDMStructureLinkPersistence ddmStructureLinkPersistence
@BeanReference(type=DDMTemplatePersistence.class) protected DDMTemplatePersistence ddmTemplatePersistence
@BeanReference(type=ResourcePersistence.class) protected ResourcePersistence resourcePersistence
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
| Constructor Detail |
|---|
public DDMStructureLinkPersistenceImpl()
| Method Detail |
|---|
public void cacheResult(DDMStructureLink ddmStructureLink)
cacheResult in interface DDMStructureLinkPersistenceddmStructureLink - the d d m structure linkpublic void cacheResult(List<DDMStructureLink> ddmStructureLinks)
cacheResult in interface DDMStructureLinkPersistenceddmStructureLinks - the d d m structure linkspublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<DDMStructureLink>clearCache in class BasePersistenceImpl<DDMStructureLink>public void clearCache(DDMStructureLink ddmStructureLink)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<DDMStructureLink>clearCache in class BasePersistenceImpl<DDMStructureLink>ddmStructureLink - the instance of this model to clear the cache forpublic void clearCache(List<DDMStructureLink> ddmStructureLinks)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<DDMStructureLink>clearCache in class BasePersistenceImpl<DDMStructureLink>ddmStructureLinks - the List instances of this model to clear the cache forprotected void cacheUniqueFindersCache(DDMStructureLink ddmStructureLink)
protected void clearUniqueFindersCache(DDMStructureLink ddmStructureLink)
public DDMStructureLink create(long structureLinkId)
create in interface DDMStructureLinkPersistencestructureLinkId - the primary key for the new d d m structure link
public DDMStructureLink remove(long structureLinkId)
throws NoSuchStructureLinkException,
SystemException
remove in interface DDMStructureLinkPersistencestructureLinkId - the primary key of the d d m structure link
NoSuchStructureLinkException - if a d d m structure link with the primary key could not be found
SystemException - if a system exception occurred
public DDMStructureLink remove(Serializable primaryKey)
throws NoSuchStructureLinkException,
SystemException
remove in interface BasePersistence<DDMStructureLink>remove in class BasePersistenceImpl<DDMStructureLink>primaryKey - the primary key of the d d m structure link
NoSuchStructureLinkException - if a d d m structure link with the primary key could not be found
SystemException - if a system exception occurred
protected DDMStructureLink removeImpl(DDMStructureLink ddmStructureLink)
throws SystemException
BasePersistenceImplBasePersistenceImpl.update(BaseModel,
boolean) depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl in class BasePersistenceImpl<DDMStructureLink>ddmStructureLink - the model instance to remove
SystemException - if a system exception occurred
public DDMStructureLink updateImpl(DDMStructureLink ddmStructureLink,
boolean merge)
throws SystemException
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface DDMStructureLinkPersistenceupdateImpl in class BasePersistenceImpl<DDMStructureLink>ddmStructureLink - the model instance to updatemerge - whether to merge the model instance with the current
session. See BatchSession.update(
com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean)
for an explanation.
SystemException - if a system exception occurredprotected DDMStructureLink toUnwrappedModel(DDMStructureLink ddmStructureLink)
public DDMStructureLink findByPrimaryKey(Serializable primaryKey)
throws NoSuchModelException,
SystemException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface BasePersistence<DDMStructureLink>findByPrimaryKey in class BasePersistenceImpl<DDMStructureLink>primaryKey - the primary key of the d d m structure link
NoSuchModelException - if a d d m structure link with the primary key could not be found
SystemException - if a system exception occurred
public DDMStructureLink findByPrimaryKey(long structureLinkId)
throws NoSuchStructureLinkException,
SystemException
NoSuchStructureLinkException if it could not be found.
findByPrimaryKey in interface DDMStructureLinkPersistencestructureLinkId - the primary key of the d d m structure link
NoSuchStructureLinkException - if a d d m structure link with the primary key could not be found
SystemException - if a system exception occurred
public DDMStructureLink fetchByPrimaryKey(Serializable primaryKey)
throws SystemException
null if it could not be found.
fetchByPrimaryKey in interface BasePersistence<DDMStructureLink>fetchByPrimaryKey in class BasePersistenceImpl<DDMStructureLink>primaryKey - the primary key of the d d m structure link
null if a d d m structure link with the primary key could not be found
SystemException - if a system exception occurred
public DDMStructureLink fetchByPrimaryKey(long structureLinkId)
throws SystemException
null if it could not be found.
fetchByPrimaryKey in interface DDMStructureLinkPersistencestructureLinkId - the primary key of the d d m structure link
null if a d d m structure link with the primary key could not be found
SystemException - if a system exception occurred
public List<DDMStructureLink> findByClassNameId(long classNameId)
throws SystemException
findByClassNameId in interface DDMStructureLinkPersistenceclassNameId - the class name ID
SystemException - if a system exception occurred
public List<DDMStructureLink> findByClassNameId(long classNameId,
int start,
int end)
throws SystemException
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.
findByClassNameId in interface DDMStructureLinkPersistenceclassNameId - 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)
SystemException - if a system exception occurred
public List<DDMStructureLink> findByClassNameId(long classNameId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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.
findByClassNameId in interface DDMStructureLinkPersistenceclassNameId - 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)
SystemException - if a system exception occurred
public DDMStructureLink findByClassNameId_First(long classNameId,
OrderByComparator orderByComparator)
throws NoSuchStructureLinkException,
SystemException
findByClassNameId_First in interface DDMStructureLinkPersistenceclassNameId - 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 found
SystemException - if a system exception occurred
public DDMStructureLink fetchByClassNameId_First(long classNameId,
OrderByComparator orderByComparator)
throws SystemException
fetchByClassNameId_First in interface DDMStructureLinkPersistenceclassNameId - 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 found
SystemException - if a system exception occurred
public DDMStructureLink findByClassNameId_Last(long classNameId,
OrderByComparator orderByComparator)
throws NoSuchStructureLinkException,
SystemException
findByClassNameId_Last in interface DDMStructureLinkPersistenceclassNameId - 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 found
SystemException - if a system exception occurred
public DDMStructureLink fetchByClassNameId_Last(long classNameId,
OrderByComparator orderByComparator)
throws SystemException
fetchByClassNameId_Last in interface DDMStructureLinkPersistenceclassNameId - 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 found
SystemException - if a system exception occurred
public DDMStructureLink[] findByClassNameId_PrevAndNext(long structureLinkId,
long classNameId,
OrderByComparator orderByComparator)
throws NoSuchStructureLinkException,
SystemException
findByClassNameId_PrevAndNext in interface DDMStructureLinkPersistencestructureLinkId - 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 found
SystemException - if a system exception occurred
protected DDMStructureLink getByClassNameId_PrevAndNext(Session session,
DDMStructureLink ddmStructureLink,
long classNameId,
OrderByComparator orderByComparator,
boolean previous)
public DDMStructureLink findByClassPK(long classPK)
throws NoSuchStructureLinkException,
SystemException
NoSuchStructureLinkException if it could not be found.
findByClassPK in interface DDMStructureLinkPersistenceclassPK - the class p k
NoSuchStructureLinkException - if a matching d d m structure link could not be found
SystemException - if a system exception occurred
public DDMStructureLink fetchByClassPK(long classPK)
throws SystemException
null if it could not be found. Uses the finder cache.
fetchByClassPK in interface DDMStructureLinkPersistenceclassPK - the class p k
null if a matching d d m structure link could not be found
SystemException - if a system exception occurred
public DDMStructureLink fetchByClassPK(long classPK,
boolean retrieveFromCache)
throws SystemException
null if it could not be found, optionally using the finder cache.
fetchByClassPK in interface DDMStructureLinkPersistenceclassPK - the class p kretrieveFromCache - whether to use the finder cache
null if a matching d d m structure link could not be found
SystemException - if a system exception occurred
public List<DDMStructureLink> findByStructureId(long structureId)
throws SystemException
findByStructureId in interface DDMStructureLinkPersistencestructureId - the structure ID
SystemException - if a system exception occurred
public List<DDMStructureLink> findByStructureId(long structureId,
int start,
int end)
throws SystemException
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.
findByStructureId in interface DDMStructureLinkPersistencestructureId - 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)
SystemException - if a system exception occurred
public List<DDMStructureLink> findByStructureId(long structureId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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.
findByStructureId in interface DDMStructureLinkPersistencestructureId - 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)
SystemException - if a system exception occurred
public DDMStructureLink findByStructureId_First(long structureId,
OrderByComparator orderByComparator)
throws NoSuchStructureLinkException,
SystemException
findByStructureId_First in interface DDMStructureLinkPersistencestructureId - the structure IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchStructureLinkException - if a matching d d m structure link could not be found
SystemException - if a system exception occurred
public DDMStructureLink fetchByStructureId_First(long structureId,
OrderByComparator orderByComparator)
throws SystemException
fetchByStructureId_First in interface DDMStructureLinkPersistencestructureId - the structure IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching d d m structure link could not be found
SystemException - if a system exception occurred
public DDMStructureLink findByStructureId_Last(long structureId,
OrderByComparator orderByComparator)
throws NoSuchStructureLinkException,
SystemException
findByStructureId_Last in interface DDMStructureLinkPersistencestructureId - the structure IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchStructureLinkException - if a matching d d m structure link could not be found
SystemException - if a system exception occurred
public DDMStructureLink fetchByStructureId_Last(long structureId,
OrderByComparator orderByComparator)
throws SystemException
fetchByStructureId_Last in interface DDMStructureLinkPersistencestructureId - the structure IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching d d m structure link could not be found
SystemException - if a system exception occurred
public DDMStructureLink[] findByStructureId_PrevAndNext(long structureLinkId,
long structureId,
OrderByComparator orderByComparator)
throws NoSuchStructureLinkException,
SystemException
findByStructureId_PrevAndNext in interface DDMStructureLinkPersistencestructureLinkId - 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 found
SystemException - if a system exception occurred
protected DDMStructureLink getByStructureId_PrevAndNext(Session session,
DDMStructureLink ddmStructureLink,
long structureId,
OrderByComparator orderByComparator,
boolean previous)
public List<DDMStructureLink> findAll()
throws SystemException
findAll in interface DDMStructureLinkPersistenceSystemException - if a system exception occurred
public List<DDMStructureLink> findAll(int start,
int end)
throws SystemException
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.
findAll in interface DDMStructureLinkPersistencestart - 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)
SystemException - if a system exception occurred
public List<DDMStructureLink> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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.
findAll in interface DDMStructureLinkPersistencestart - 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)
SystemException - if a system exception occurred
public void removeByClassNameId(long classNameId)
throws SystemException
removeByClassNameId in interface DDMStructureLinkPersistenceclassNameId - the class name ID
SystemException - if a system exception occurred
public DDMStructureLink removeByClassPK(long classPK)
throws NoSuchStructureLinkException,
SystemException
removeByClassPK in interface DDMStructureLinkPersistenceclassPK - the class p k
SystemException - if a system exception occurred
NoSuchStructureLinkException
public void removeByStructureId(long structureId)
throws SystemException
removeByStructureId in interface DDMStructureLinkPersistencestructureId - the structure ID
SystemException - if a system exception occurred
public void removeAll()
throws SystemException
removeAll in interface DDMStructureLinkPersistenceSystemException - if a system exception occurred
public int countByClassNameId(long classNameId)
throws SystemException
countByClassNameId in interface DDMStructureLinkPersistenceclassNameId - the class name ID
SystemException - if a system exception occurred
public int countByClassPK(long classPK)
throws SystemException
countByClassPK in interface DDMStructureLinkPersistenceclassPK - the class p k
SystemException - if a system exception occurred
public int countByStructureId(long structureId)
throws SystemException
countByStructureId in interface DDMStructureLinkPersistencestructureId - the structure ID
SystemException - if a system exception occurred
public int countAll()
throws SystemException
countAll in interface DDMStructureLinkPersistenceSystemException - if a system exception occurredpublic void afterPropertiesSet()
public void destroy()
|
Liferay 6.1.2-ce-ga3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||