com.liferay.portal.service.persistence
Interface PortletPersistence
- All Superinterfaces:
- BasePersistence<Portlet>
- All Known Implementing Classes:
- PortletPersistenceImpl
public interface PortletPersistence
- extends BasePersistence<Portlet>
- See Also:
PortletPersistenceImpl,
PortletUtil- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
|
Method Summary |
void |
cacheResult(List<Portlet> portlets)
|
void |
cacheResult(Portlet portlet)
|
int |
countAll()
|
int |
countByC_P(long companyId,
String portletId)
|
int |
countByCompanyId(long companyId)
|
Portlet |
create(long id)
|
Portlet |
fetchByC_P(long companyId,
String portletId)
|
Portlet |
fetchByC_P(long companyId,
String portletId,
boolean retrieveFromCache)
|
Portlet |
fetchByPrimaryKey(long id)
|
List<Portlet> |
findAll()
|
List<Portlet> |
findAll(int start,
int end)
|
List<Portlet> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
|
Portlet |
findByC_P(long companyId,
String portletId)
|
Portlet |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
|
Portlet |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
|
Portlet[] |
findByCompanyId_PrevAndNext(long id,
long companyId,
OrderByComparator orderByComparator)
|
List<Portlet> |
findByCompanyId(long companyId)
|
List<Portlet> |
findByCompanyId(long companyId,
int start,
int end)
|
List<Portlet> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
|
Portlet |
findByPrimaryKey(long id)
|
Portlet |
remove(long id)
|
void |
removeAll()
|
void |
removeByC_P(long companyId,
String portletId)
|
void |
removeByCompanyId(long companyId)
|
Portlet |
updateImpl(Portlet portlet,
boolean merge)
|
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update, update |
cacheResult
void cacheResult(Portlet portlet)
cacheResult
void cacheResult(List<Portlet> portlets)
create
Portlet create(long id)
remove
Portlet remove(long id)
throws NoSuchPortletException,
SystemException
- Throws:
NoSuchPortletException
SystemException
updateImpl
Portlet updateImpl(Portlet portlet,
boolean merge)
throws SystemException
- Throws:
SystemException
findByPrimaryKey
Portlet findByPrimaryKey(long id)
throws NoSuchPortletException,
SystemException
- Throws:
NoSuchPortletException
SystemException
fetchByPrimaryKey
Portlet fetchByPrimaryKey(long id)
throws SystemException
- Throws:
SystemException
findByCompanyId
List<Portlet> findByCompanyId(long companyId)
throws SystemException
- Throws:
SystemException
findByCompanyId
List<Portlet> findByCompanyId(long companyId,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByCompanyId
List<Portlet> findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findByCompanyId_First
Portlet findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
throws NoSuchPortletException,
SystemException
- Throws:
NoSuchPortletException
SystemException
findByCompanyId_Last
Portlet findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
throws NoSuchPortletException,
SystemException
- Throws:
NoSuchPortletException
SystemException
findByCompanyId_PrevAndNext
Portlet[] findByCompanyId_PrevAndNext(long id,
long companyId,
OrderByComparator orderByComparator)
throws NoSuchPortletException,
SystemException
- Throws:
NoSuchPortletException
SystemException
findByC_P
Portlet findByC_P(long companyId,
String portletId)
throws NoSuchPortletException,
SystemException
- Throws:
NoSuchPortletException
SystemException
fetchByC_P
Portlet fetchByC_P(long companyId,
String portletId)
throws SystemException
- Throws:
SystemException
fetchByC_P
Portlet fetchByC_P(long companyId,
String portletId,
boolean retrieveFromCache)
throws SystemException
- Throws:
SystemException
findAll
List<Portlet> findAll()
throws SystemException
- Throws:
SystemException
findAll
List<Portlet> findAll(int start,
int end)
throws SystemException
- Throws:
SystemException
findAll
List<Portlet> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
removeByCompanyId
void removeByCompanyId(long companyId)
throws SystemException
- Throws:
SystemException
removeByC_P
void removeByC_P(long companyId,
String portletId)
throws NoSuchPortletException,
SystemException
- Throws:
NoSuchPortletException
SystemException
removeAll
void removeAll()
throws SystemException
- Throws:
SystemException
countByCompanyId
int countByCompanyId(long companyId)
throws SystemException
- Throws:
SystemException
countByC_P
int countByC_P(long companyId,
String portletId)
throws SystemException
- Throws:
SystemException
countAll
int countAll()
throws SystemException
- Throws:
SystemException