|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DDMStorageLinkPersistence
The persistence interface for the d d m storage link service.
Caching information and settings can be found in portal.properties
DDMStorageLinkPersistenceImpl
,
DDMStorageLinkUtil
Method Summary | |
---|---|
void |
cacheResult(DDMStorageLink ddmStorageLink)
Caches the d d m storage link in the entity cache if it is enabled. |
void |
cacheResult(List<DDMStorageLink> ddmStorageLinks)
Caches the d d m storage links in the entity cache if it is enabled. |
int |
countAll()
Returns the number of d d m storage links. |
int |
countByClassPK(long classPK)
Returns the number of d d m storage links where classPK = ?. |
int |
countByStructureId(long structureId)
Returns the number of d d m storage links where structureId = ?. |
int |
countByUuid(String uuid)
Returns the number of d d m storage links where uuid = ?. |
DDMStorageLink |
create(long storageLinkId)
Creates a new d d m storage link with the primary key. |
DDMStorageLink |
fetchByClassPK(long classPK)
Returns the d d m storage link where classPK = ? or returns null if it could not be found. |
DDMStorageLink |
fetchByClassPK(long classPK,
boolean retrieveFromCache)
Returns the d d m storage link where classPK = ? or returns null if it could not be found, optionally using the finder cache. |
DDMStorageLink |
fetchByPrimaryKey(long storageLinkId)
Returns the d d m storage link with the primary key or returns null if it could not be found. |
DDMStorageLink |
fetchByStructureId_First(long structureId,
OrderByComparator orderByComparator)
Returns the first d d m storage link in the ordered set where structureId = ?. |
DDMStorageLink |
fetchByStructureId_Last(long structureId,
OrderByComparator orderByComparator)
Returns the last d d m storage link in the ordered set where structureId = ?. |
DDMStorageLink |
fetchByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first d d m storage link in the ordered set where uuid = ?. |
DDMStorageLink |
fetchByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last d d m storage link in the ordered set where uuid = ?. |
List<DDMStorageLink> |
findAll()
Returns all the d d m storage links. |
List<DDMStorageLink> |
findAll(int start,
int end)
Returns a range of all the d d m storage links. |
List<DDMStorageLink> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m storage links. |
DDMStorageLink |
findByClassPK(long classPK)
Returns the d d m storage link where classPK = ? or throws a NoSuchStorageLinkException if it could not be found. |
DDMStorageLink |
findByPrimaryKey(long storageLinkId)
Returns the d d m storage link with the primary key or throws a NoSuchStorageLinkException if it could not be found. |
DDMStorageLink |
findByStructureId_First(long structureId,
OrderByComparator orderByComparator)
Returns the first d d m storage link in the ordered set where structureId = ?. |
DDMStorageLink |
findByStructureId_Last(long structureId,
OrderByComparator orderByComparator)
Returns the last d d m storage link in the ordered set where structureId = ?. |
DDMStorageLink[] |
findByStructureId_PrevAndNext(long storageLinkId,
long structureId,
OrderByComparator orderByComparator)
Returns the d d m storage links before and after the current d d m storage link in the ordered set where structureId = ?. |
List<DDMStorageLink> |
findByStructureId(long structureId)
Returns all the d d m storage links where structureId = ?. |
List<DDMStorageLink> |
findByStructureId(long structureId,
int start,
int end)
Returns a range of all the d d m storage links where structureId = ?. |
List<DDMStorageLink> |
findByStructureId(long structureId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m storage links where structureId = ?. |
DDMStorageLink |
findByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first d d m storage link in the ordered set where uuid = ?. |
DDMStorageLink |
findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last d d m storage link in the ordered set where uuid = ?. |
DDMStorageLink[] |
findByUuid_PrevAndNext(long storageLinkId,
String uuid,
OrderByComparator orderByComparator)
Returns the d d m storage links before and after the current d d m storage link in the ordered set where uuid = ?. |
List<DDMStorageLink> |
findByUuid(String uuid)
Returns all the d d m storage links where uuid = ?. |
List<DDMStorageLink> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the d d m storage links where uuid = ?. |
List<DDMStorageLink> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the d d m storage links where uuid = ?. |
DDMStorageLink |
remove(long storageLinkId)
Removes the d d m storage link with the primary key from the database. |
void |
removeAll()
Removes all the d d m storage links from the database. |
DDMStorageLink |
removeByClassPK(long classPK)
Removes the d d m storage link where classPK = ? from the database. |
void |
removeByStructureId(long structureId)
Removes all the d d m storage links where structureId = ? from the database. |
void |
removeByUuid(String uuid)
Removes all the d d m storage links where uuid = ? from the database. |
DDMStorageLink |
updateImpl(DDMStorageLink ddmStorageLink,
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(DDMStorageLink ddmStorageLink)
ddmStorageLink
- the d d m storage linkvoid cacheResult(List<DDMStorageLink> ddmStorageLinks)
ddmStorageLinks
- the d d m storage linksDDMStorageLink create(long storageLinkId)
storageLinkId
- the primary key for the new d d m storage link
DDMStorageLink remove(long storageLinkId) throws SystemException, NoSuchStorageLinkException
storageLinkId
- the primary key of the d d m storage link
NoSuchStorageLinkException
- if a d d m storage link with the primary key could not be found
SystemException
- if a system exception occurredDDMStorageLink updateImpl(DDMStorageLink ddmStorageLink, boolean merge) throws SystemException
SystemException
DDMStorageLink findByPrimaryKey(long storageLinkId) throws SystemException, NoSuchStorageLinkException
NoSuchStorageLinkException
if it could not be found.
storageLinkId
- the primary key of the d d m storage link
NoSuchStorageLinkException
- if a d d m storage link with the primary key could not be found
SystemException
- if a system exception occurredDDMStorageLink fetchByPrimaryKey(long storageLinkId) throws SystemException
null
if it could not be found.
storageLinkId
- the primary key of the d d m storage link
null
if a d d m storage link with the primary key could not be found
SystemException
- if a system exception occurredList<DDMStorageLink> findByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredList<DDMStorageLink> findByUuid(String uuid, 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.
uuid
- the uuidstart
- the lower bound of the range of d d m storage linksend
- the upper bound of the range of d d m storage links (not inclusive)
SystemException
- if a system exception occurredList<DDMStorageLink> findByUuid(String uuid, 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.
uuid
- the uuidstart
- the lower bound of the range of d d m storage linksend
- the upper bound of the range of d d m storage links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredDDMStorageLink findByUuid_First(String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchStorageLinkException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStorageLinkException
- if a matching d d m storage link could not be found
SystemException
- if a system exception occurredDDMStorageLink fetchByUuid_First(String uuid, OrderByComparator orderByComparator) throws SystemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching d d m storage link could not be found
SystemException
- if a system exception occurredDDMStorageLink findByUuid_Last(String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchStorageLinkException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStorageLinkException
- if a matching d d m storage link could not be found
SystemException
- if a system exception occurredDDMStorageLink fetchByUuid_Last(String uuid, OrderByComparator orderByComparator) throws SystemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching d d m storage link could not be found
SystemException
- if a system exception occurredDDMStorageLink[] findByUuid_PrevAndNext(long storageLinkId, String uuid, OrderByComparator orderByComparator) throws SystemException, NoSuchStorageLinkException
storageLinkId
- the primary key of the current d d m storage linkuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStorageLinkException
- if a d d m storage link with the primary key could not be found
SystemException
- if a system exception occurredDDMStorageLink findByClassPK(long classPK) throws SystemException, NoSuchStorageLinkException
NoSuchStorageLinkException
if it could not be found.
classPK
- the class p k
NoSuchStorageLinkException
- if a matching d d m storage link could not be found
SystemException
- if a system exception occurredDDMStorageLink 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 storage link could not be found
SystemException
- if a system exception occurredDDMStorageLink 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 storage link could not be found
SystemException
- if a system exception occurredList<DDMStorageLink> findByStructureId(long structureId) throws SystemException
structureId
- the structure ID
SystemException
- if a system exception occurredList<DDMStorageLink> 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 storage linksend
- the upper bound of the range of d d m storage links (not inclusive)
SystemException
- if a system exception occurredList<DDMStorageLink> 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 storage linksend
- the upper bound of the range of d d m storage links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredDDMStorageLink findByStructureId_First(long structureId, OrderByComparator orderByComparator) throws SystemException, NoSuchStorageLinkException
structureId
- the structure IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStorageLinkException
- if a matching d d m storage link could not be found
SystemException
- if a system exception occurredDDMStorageLink 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 storage link could not be found
SystemException
- if a system exception occurredDDMStorageLink findByStructureId_Last(long structureId, OrderByComparator orderByComparator) throws SystemException, NoSuchStorageLinkException
structureId
- the structure IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStorageLinkException
- if a matching d d m storage link could not be found
SystemException
- if a system exception occurredDDMStorageLink 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 storage link could not be found
SystemException
- if a system exception occurredDDMStorageLink[] findByStructureId_PrevAndNext(long storageLinkId, long structureId, OrderByComparator orderByComparator) throws SystemException, NoSuchStorageLinkException
storageLinkId
- the primary key of the current d d m storage linkstructureId
- the structure IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchStorageLinkException
- if a d d m storage link with the primary key could not be found
SystemException
- if a system exception occurredList<DDMStorageLink> findAll() throws SystemException
SystemException
- if a system exception occurredList<DDMStorageLink> 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 storage linksend
- the upper bound of the range of d d m storage links (not inclusive)
SystemException
- if a system exception occurredList<DDMStorageLink> 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 storage linksend
- the upper bound of the range of d d m storage links (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredvoid removeByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredDDMStorageLink removeByClassPK(long classPK) throws SystemException, NoSuchStorageLinkException
classPK
- the class p k
SystemException
- if a system exception occurred
NoSuchStorageLinkException
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 countByUuid(String uuid) throws SystemException
uuid
- the uuid
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 |