public class PortletPersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Portlet>
implements com.liferay.portal.kernel.service.persistence.PortletPersistence
Caching information and settings can be found in portal.properties
| Modifier and Type | Field and Description |
|---|---|
static String |
FINDER_CLASS_NAME_ENTITY |
static String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, dummyEntityCache, dummyFinderCache, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, NULL_SAFE_STRING_COMPARATOR, nullModel, 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 and Description |
|---|
PortletPersistenceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Initializes the portlet persistence.
|
void |
cacheResult(List<com.liferay.portal.kernel.model.Portlet> portlets)
Caches the portlets in the entity cache if it is enabled.
|
void |
cacheResult(com.liferay.portal.kernel.model.Portlet portlet)
Caches the portlet in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(PortletModelImpl portletModelImpl) |
void |
clearCache()
Clears the cache for all portlets.
|
void |
clearCache(List<com.liferay.portal.kernel.model.Portlet> portlets) |
void |
clearCache(com.liferay.portal.kernel.model.Portlet portlet)
Clears the cache for the portlet.
|
void |
clearCache(Set<Serializable> primaryKeys) |
int |
countAll()
Returns the number of portlets.
|
int |
countByC_P(long companyId,
String portletId)
Returns the number of portlets where companyId = ? and portletId = ?.
|
int |
countByCompanyId(long companyId)
Returns the number of portlets where companyId = ?.
|
com.liferay.portal.kernel.model.Portlet |
create(long id)
Creates a new portlet with the primary key.
|
void |
destroy() |
com.liferay.portal.kernel.model.Portlet |
fetchByC_P(long companyId,
String portletId)
Returns the portlet where companyId = ? and portletId = ? or returns
null if it could not be found. |
com.liferay.portal.kernel.model.Portlet |
fetchByC_P(long companyId,
String portletId,
boolean useFinderCache)
Returns the portlet where companyId = ? and portletId = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.kernel.model.Portlet |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Portlet> orderByComparator)
Returns the first portlet in the ordered set where companyId = ?.
|
com.liferay.portal.kernel.model.Portlet |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Portlet> orderByComparator)
Returns the last portlet in the ordered set where companyId = ?.
|
com.liferay.portal.kernel.model.Portlet |
fetchByPrimaryKey(long id)
Returns the portlet with the primary key or returns
null if it could not be found. |
List<com.liferay.portal.kernel.model.Portlet> |
findAll()
Returns all the portlets.
|
List<com.liferay.portal.kernel.model.Portlet> |
findAll(int start,
int end)
Returns a range of all the portlets.
|
List<com.liferay.portal.kernel.model.Portlet> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Portlet> orderByComparator)
Returns an ordered range of all the portlets.
|
List<com.liferay.portal.kernel.model.Portlet> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Portlet> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the portlets.
|
com.liferay.portal.kernel.model.Portlet |
findByC_P(long companyId,
String portletId)
Returns the portlet where companyId = ? and portletId = ? or throws a
NoSuchPortletException if it could not be found. |
com.liferay.portal.kernel.model.Portlet |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Portlet> orderByComparator)
Returns the first portlet in the ordered set where companyId = ?.
|
com.liferay.portal.kernel.model.Portlet |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Portlet> orderByComparator)
Returns the last portlet in the ordered set where companyId = ?.
|
com.liferay.portal.kernel.model.Portlet[] |
findByCompanyId_PrevAndNext(long id,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Portlet> orderByComparator)
Returns the portlets before and after the current portlet in the ordered set where companyId = ?.
|
List<com.liferay.portal.kernel.model.Portlet> |
findByCompanyId(long companyId)
Returns all the portlets where companyId = ?.
|
List<com.liferay.portal.kernel.model.Portlet> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the portlets where companyId = ?.
|
List<com.liferay.portal.kernel.model.Portlet> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Portlet> orderByComparator)
Returns an ordered range of all the portlets where companyId = ?.
|
List<com.liferay.portal.kernel.model.Portlet> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Portlet> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the portlets where companyId = ?.
|
com.liferay.portal.kernel.model.Portlet |
findByPrimaryKey(long id)
Returns the portlet with the primary key or throws a
NoSuchPortletException if it could not be found. |
com.liferay.portal.kernel.model.Portlet |
findByPrimaryKey(Serializable primaryKey)
Returns the portlet with the primary key or throws a
com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found. |
Set<String> |
getBadColumnNames() |
protected com.liferay.portal.kernel.model.Portlet |
getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.Portlet portlet,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Portlet> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.dao.orm.EntityCache |
getEntityCache() |
protected com.liferay.portal.kernel.dao.orm.FinderCache |
getFinderCache() |
protected String |
getPKDBName() |
protected String |
getSelectSQL() |
protected Map<String,Integer> |
getTableColumnsMap() |
com.liferay.portal.kernel.model.Portlet |
remove(long id)
Removes the portlet with the primary key from the database.
|
com.liferay.portal.kernel.model.Portlet |
remove(Serializable primaryKey)
Removes the portlet with the primary key from the database.
|
void |
removeAll()
Removes all the portlets from the database.
|
com.liferay.portal.kernel.model.Portlet |
removeByC_P(long companyId,
String portletId)
Removes the portlet where companyId = ? and portletId = ? from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the portlets where companyId = ? from the database.
|
protected com.liferay.portal.kernel.model.Portlet |
removeImpl(com.liferay.portal.kernel.model.Portlet portlet) |
com.liferay.portal.kernel.model.Portlet |
updateImpl(com.liferay.portal.kernel.model.Portlet portlet) |
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, updatepublic 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 List<com.liferay.portal.kernel.model.Portlet> findByCompanyId(long companyId)
findByCompanyId in interface com.liferay.portal.kernel.service.persistence.PortletPersistencecompanyId - the company IDpublic List<com.liferay.portal.kernel.model.Portlet> findByCompanyId(long companyId,
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, then the query will include the default ORDER BY logic from PortletModelImpl.
findByCompanyId in interface com.liferay.portal.kernel.service.persistence.PortletPersistencecompanyId - the company IDstart - the lower bound of the range of portletsend - the upper bound of the range of portlets (not inclusive)public List<com.liferay.portal.kernel.model.Portlet> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Portlet> 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, then the query will include the default ORDER BY logic from PortletModelImpl.
findByCompanyId in interface com.liferay.portal.kernel.service.persistence.PortletPersistencecompanyId - the company IDstart - the lower bound of the range of portletsend - the upper bound of the range of portlets (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.portal.kernel.model.Portlet> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Portlet> orderByComparator,
boolean useFinderCache)
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, then the query will include the default ORDER BY logic from PortletModelImpl.
findByCompanyId in interface com.liferay.portal.kernel.service.persistence.PortletPersistencecompanyId - the company IDstart - the lower bound of the range of portletsend - the upper bound of the range of portlets (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic com.liferay.portal.kernel.model.Portlet findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Portlet> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchPortletException
findByCompanyId_First in interface com.liferay.portal.kernel.service.persistence.PortletPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchPortletException - if a matching portlet could not be foundpublic com.liferay.portal.kernel.model.Portlet fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Portlet> orderByComparator)
fetchByCompanyId_First in interface com.liferay.portal.kernel.service.persistence.PortletPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching portlet could not be foundpublic com.liferay.portal.kernel.model.Portlet findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Portlet> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchPortletException
findByCompanyId_Last in interface com.liferay.portal.kernel.service.persistence.PortletPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchPortletException - if a matching portlet could not be foundpublic com.liferay.portal.kernel.model.Portlet fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Portlet> orderByComparator)
fetchByCompanyId_Last in interface com.liferay.portal.kernel.service.persistence.PortletPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching portlet could not be foundpublic com.liferay.portal.kernel.model.Portlet[] findByCompanyId_PrevAndNext(long id,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Portlet> orderByComparator)
throws com.liferay.portal.kernel.exception.NoSuchPortletException
findByCompanyId_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.PortletPersistenceid - the primary key of the current portletcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchPortletException - if a portlet with the primary key could not be foundprotected com.liferay.portal.kernel.model.Portlet getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.Portlet portlet,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Portlet> orderByComparator,
boolean previous)
public void removeByCompanyId(long companyId)
removeByCompanyId in interface com.liferay.portal.kernel.service.persistence.PortletPersistencecompanyId - the company IDpublic int countByCompanyId(long companyId)
countByCompanyId in interface com.liferay.portal.kernel.service.persistence.PortletPersistencecompanyId - the company IDpublic com.liferay.portal.kernel.model.Portlet findByC_P(long companyId,
String portletId)
throws com.liferay.portal.kernel.exception.NoSuchPortletException
NoSuchPortletException if it could not be found.findByC_P in interface com.liferay.portal.kernel.service.persistence.PortletPersistencecompanyId - the company IDportletId - the portlet IDcom.liferay.portal.kernel.exception.NoSuchPortletException - if a matching portlet could not be foundpublic com.liferay.portal.kernel.model.Portlet fetchByC_P(long companyId,
String portletId)
null if it could not be found. Uses the finder cache.fetchByC_P in interface com.liferay.portal.kernel.service.persistence.PortletPersistencecompanyId - the company IDportletId - the portlet IDnull if a matching portlet could not be foundpublic com.liferay.portal.kernel.model.Portlet fetchByC_P(long companyId,
String portletId,
boolean useFinderCache)
null if it could not be found, optionally using the finder cache.fetchByC_P in interface com.liferay.portal.kernel.service.persistence.PortletPersistencecompanyId - the company IDportletId - the portlet IDuseFinderCache - whether to use the finder cachenull if a matching portlet could not be foundpublic com.liferay.portal.kernel.model.Portlet removeByC_P(long companyId,
String portletId)
throws com.liferay.portal.kernel.exception.NoSuchPortletException
removeByC_P in interface com.liferay.portal.kernel.service.persistence.PortletPersistencecompanyId - the company IDportletId - the portlet IDcom.liferay.portal.kernel.exception.NoSuchPortletExceptionpublic int countByC_P(long companyId,
String portletId)
countByC_P in interface com.liferay.portal.kernel.service.persistence.PortletPersistencecompanyId - the company IDportletId - the portlet IDpublic void cacheResult(com.liferay.portal.kernel.model.Portlet portlet)
cacheResult in interface com.liferay.portal.kernel.service.persistence.PortletPersistencecacheResult in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Portlet>portlet - the portletpublic void cacheResult(List<com.liferay.portal.kernel.model.Portlet> portlets)
cacheResult in interface com.liferay.portal.kernel.service.persistence.PortletPersistenceportlets - the portletspublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Portlet>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Portlet>public void clearCache(com.liferay.portal.kernel.model.Portlet portlet)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Portlet>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Portlet>public void clearCache(List<com.liferay.portal.kernel.model.Portlet> portlets)
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Portlet>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Portlet>public void clearCache(Set<Serializable> primaryKeys)
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Portlet>protected void cacheUniqueFindersCache(PortletModelImpl portletModelImpl)
public com.liferay.portal.kernel.model.Portlet create(long id)
create in interface com.liferay.portal.kernel.service.persistence.PortletPersistenceid - the primary key for the new portletpublic com.liferay.portal.kernel.model.Portlet remove(long id)
throws com.liferay.portal.kernel.exception.NoSuchPortletException
remove in interface com.liferay.portal.kernel.service.persistence.PortletPersistenceid - the primary key of the portletcom.liferay.portal.kernel.exception.NoSuchPortletException - if a portlet with the primary key could not be foundpublic com.liferay.portal.kernel.model.Portlet remove(Serializable primaryKey)
throws com.liferay.portal.kernel.exception.NoSuchPortletException
remove in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Portlet>remove in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Portlet>primaryKey - the primary key of the portletcom.liferay.portal.kernel.exception.NoSuchPortletException - if a portlet with the primary key could not be foundprotected com.liferay.portal.kernel.model.Portlet removeImpl(com.liferay.portal.kernel.model.Portlet portlet)
removeImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Portlet>public com.liferay.portal.kernel.model.Portlet updateImpl(com.liferay.portal.kernel.model.Portlet portlet)
updateImpl in interface com.liferay.portal.kernel.service.persistence.PortletPersistenceupdateImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Portlet>public com.liferay.portal.kernel.model.Portlet findByPrimaryKey(Serializable primaryKey)
throws com.liferay.portal.kernel.exception.NoSuchPortletException
com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found.findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Portlet>findByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Portlet>primaryKey - the primary key of the portletcom.liferay.portal.kernel.exception.NoSuchPortletException - if a portlet with the primary key could not be foundpublic com.liferay.portal.kernel.model.Portlet findByPrimaryKey(long id)
throws com.liferay.portal.kernel.exception.NoSuchPortletException
NoSuchPortletException if it could not be found.findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.PortletPersistenceid - the primary key of the portletcom.liferay.portal.kernel.exception.NoSuchPortletException - if a portlet with the primary key could not be foundpublic com.liferay.portal.kernel.model.Portlet fetchByPrimaryKey(long id)
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.PortletPersistenceid - the primary key of the portletnull if a portlet with the primary key could not be foundpublic List<com.liferay.portal.kernel.model.Portlet> findAll()
findAll in interface com.liferay.portal.kernel.service.persistence.PortletPersistencepublic List<com.liferay.portal.kernel.model.Portlet> 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, then the query will include the default ORDER BY logic from PortletModelImpl.
findAll in interface com.liferay.portal.kernel.service.persistence.PortletPersistencestart - the lower bound of the range of portletsend - the upper bound of the range of portlets (not inclusive)public List<com.liferay.portal.kernel.model.Portlet> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Portlet> 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, then the query will include the default ORDER BY logic from PortletModelImpl.
findAll in interface com.liferay.portal.kernel.service.persistence.PortletPersistencestart - the lower bound of the range of portletsend - the upper bound of the range of portlets (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.portal.kernel.model.Portlet> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Portlet> orderByComparator,
boolean useFinderCache)
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, then the query will include the default ORDER BY logic from PortletModelImpl.
findAll in interface com.liferay.portal.kernel.service.persistence.PortletPersistencestart - the lower bound of the range of portletsend - the upper bound of the range of portlets (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic void removeAll()
removeAll in interface com.liferay.portal.kernel.service.persistence.PortletPersistencepublic int countAll()
countAll in interface com.liferay.portal.kernel.service.persistence.PortletPersistencepublic Set<String> getBadColumnNames()
getBadColumnNames in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Portlet>getBadColumnNames in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Portlet>protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()
getEntityCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Portlet>protected String getPKDBName()
getPKDBName in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Portlet>protected String getSelectSQL()
getSelectSQL in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Portlet>protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Portlet>public void afterPropertiesSet()
public void destroy()
protected com.liferay.portal.kernel.dao.orm.FinderCache getFinderCache()
getFinderCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Portlet>