|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DDMStructureLinkPersistence
The persistence interface for the d d m structure link service.
Caching information and settings can be found in portal.properties
DDMStructureLinkPersistenceImpl
,
DDMStructureLinkUtil
Method Summary | |
---|---|
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. |
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. |
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 |
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 |
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 = ?. |
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. |
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. |
DDMStructureLink |
updateImpl(DDMStructureLink ddmStructureLink,
boolean merge)
|
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
---|
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update |
Method Detail |
---|
void cacheResult(DDMStructureLink ddmStructureLink)
ddmStructureLink
- the d d m structure linkvoid cacheResult(List<DDMStructureLink> ddmStructureLinks)
ddmStructureLinks
- the d d m structure linksDDMStructureLink create(long structureLinkId)
structureLinkId
- the primary key for the new d d m structure link
DDMStructureLink remove(long structureLinkId) throws SystemException, NoSuchStructureLinkException
structureLinkId
- 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 occurredDDMStructureLink updateImpl(DDMStructureLink ddmStructureLink, boolean merge) throws SystemException
SystemException
DDMStructureLink findByPrimaryKey(long structureLinkId) throws SystemException, NoSuchStructureLinkException
NoSuchStructureLinkException
if it could not be found.
structureLinkId
- 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 occurredDDMStructureLink fetchByPrimaryKey(long structureLinkId) throws SystemException
null
if it could not be found.
structureLinkId
- 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 occurredList<DDMStructureLink> findByClassNameId(long classNameId) throws SystemException
classNameId
- the class name ID
SystemException
- if a system exception occurredList<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.
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)
SystemException
- if a system exception occurredList<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.
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
)
SystemException
- if a system exception occurredDDMStructureLink findByClassNameId_First(long classNameId, OrderByComparator orderByComparator) throws SystemException, 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 found
SystemException
- if a system exception occurredDDMStructureLink fetchByClassNameId_First(long classNameId, OrderByComparator orderByComparator) throws SystemException
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 found
SystemException
- if a system exception occurredDDMStructureLink findByClassNameId_Last(long classNameId, OrderByComparator orderByComparator) throws SystemException, 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 found
SystemException
- if a system exception occurredDDMStructureLink fetchByClassNameId_Last(long classNameId, OrderByComparator orderByComparator) throws SystemException
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 found
SystemException
- if a system exception occurredDDMStructureLink[] findByClassNameId_PrevAndNext(long structureLinkId, long classNameId, OrderByComparator orderByComparator) throws SystemException, 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 found
SystemException
- if a system exception occurredDDMStructureLink findByClassPK(long classPK) throws SystemException, NoSuchStructureLinkException
NoSuchStructureLinkException
if it could not be found.
classPK
- the class p k
NoSuchStructureLinkException
- if a matching d d m structure link could not be found
SystemException
- if a system exception occurredDDMStructureLink fetchByClassPK(long classPK) throws SystemException
null
if it could not be found. Uses the finder cache.
classPK
- the class p k
null
if a matching d d m structure link could not be found
SystemException
- if a system exception occurredDDMStructureLink fetchByClassPK(long classPK, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
classPK
- 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 occurredList<DDMStructureLink> findByStructureId(long structureId) throws SystemException
structureId
- the structure ID
SystemException
- if a system exception occurredList<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.
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)
SystemException
- if a system exception occurredList<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.
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
)
SystemException
- if a system exception occurredDDMStructureLink findByStructureId_First(long structureId, OrderByComparator orderByComparator) throws SystemException, 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 found
SystemException
- if a system exception occurredDDMStructureLink fetchByStructureId_First(long structureId, OrderByComparator orderByComparator) throws SystemException
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 found
SystemException
- if a system exception occurredDDMStructureLink findByStructureId_Last(long structureId, OrderByComparator orderByComparator) throws SystemException, 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 found
SystemException
- if a system exception occurredDDMStructureLink fetchByStructureId_Last(long structureId, OrderByComparator orderByComparator) throws SystemException
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 found
SystemException
- if a system exception occurredDDMStructureLink[] findByStructureId_PrevAndNext(long structureLinkId, long structureId, OrderByComparator orderByComparator) throws SystemException, 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 found
SystemException
- if a system exception occurredList<DDMStructureLink> findAll() throws SystemException
SystemException
- if a system exception occurredList<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.
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)
SystemException
- if a system exception occurredList<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.
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
)
SystemException
- if a system exception occurredvoid removeByClassNameId(long classNameId) throws SystemException
classNameId
- the class name ID
SystemException
- if a system exception occurredDDMStructureLink removeByClassPK(long classPK) throws SystemException, NoSuchStructureLinkException
classPK
- the class p k
SystemException
- if a system exception occurred
NoSuchStructureLinkException
void removeByStructureId(long structureId) throws SystemException
structureId
- the structure ID
SystemException
- if a system exception occurredvoid removeAll() throws SystemException
SystemException
- if a system exception occurredint countByClassNameId(long classNameId) throws SystemException
classNameId
- the class name ID
SystemException
- if a system exception occurredint countByClassPK(long classPK) throws SystemException
classPK
- the class p k
SystemException
- if a system exception occurredint countByStructureId(long structureId) throws SystemException
structureId
- the structure ID
SystemException
- if a system exception occurredint countAll() throws SystemException
SystemException
- if a system exception occurred
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |