Class PortletPreferencesFinderImpl
Object
com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferences>
com.liferay.portal.service.persistence.impl.PortletPreferencesFinderBaseImpl
com.liferay.portal.service.persistence.impl.PortletPreferencesFinderImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory
,com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferences>
,com.liferay.portal.kernel.service.persistence.PortletPreferencesFinder
public class PortletPreferencesFinderImpl
extends PortletPreferencesFinderBaseImpl
implements com.liferay.portal.kernel.service.persistence.PortletPreferencesFinder
- Author:
- Brian Wing Shun Chan, Hugo Huijser
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final com.liferay.portal.kernel.dao.orm.FinderPath
Fields inherited from class com.liferay.portal.service.persistence.impl.PortletPreferencesFinderBaseImpl
portletPreferencesPersistence
Fields inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
countByO_O_P
(long ownerId, int ownerType, String portletId, boolean excludeDefaultPreferences) long
countByO_O_P_P_P
(long ownerId, int ownerType, long plid, String portletId, boolean excludeDefaultPreferences) Map<Serializable,
com.liferay.portal.kernel.model.PortletPreferences> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) Deprecated.As of Cavanaugh (7.4.x), with no direct replacementList<com.liferay.portal.kernel.model.PortletPreferences>
findByC_G_O_O_P_P
(long companyId, long groupId, long ownerId, int ownerType, String portletId, boolean privateLayout) List<com.liferay.portal.kernel.model.PortletPreferences>
findByPortletId
(String portletId) protected boolean
isInstanceOf
(String portletPreferencesPortletId, String portletId) Methods inherited from class com.liferay.portal.service.persistence.impl.PortletPreferencesFinderBaseImpl
getPortletPreferencesPersistence, setPortletPreferencesPersistence
Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, cacheResult, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getEntityCache, getFinderCache, getListeners, getModelClass, getPKDBName, getSelectSQL, getTableColumnsMap, openNewSession, openSession, processException, registerListener, remove, remove, removeByFunction, removeConjunction, removeImpl, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, update, updateImpl
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.kernel.service.persistence.BasePersistence
clearCache, dslQueryCount
-
Field Details
-
FIND_BY_PORTLET_ID
-
FIND_BY_C_G_O_O_P_P
-
FINDER_PATH_FIND_BY_C_G_O_O_P_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_C_G_O_O_P_P
-
-
Constructor Details
-
PortletPreferencesFinderImpl
public PortletPreferencesFinderImpl()
-
-
Method Details
-
countByO_O_P
public long countByO_O_P(long ownerId, int ownerType, String portletId, boolean excludeDefaultPreferences) - Specified by:
countByO_O_P
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesFinder
-
countByO_O_P_P_P
public long countByO_O_P_P_P(long ownerId, int ownerType, long plid, String portletId, boolean excludeDefaultPreferences) - Specified by:
countByO_O_P_P_P
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesFinder
-
fetchByPrimaryKeys
@Deprecated public Map<Serializable,com.liferay.portal.kernel.model.PortletPreferences> fetchByPrimaryKeys(Set<Serializable> primaryKeys) Deprecated.As of Cavanaugh (7.4.x), with no direct replacement- Specified by:
fetchByPrimaryKeys
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.PortletPreferences>
- Specified by:
fetchByPrimaryKeys
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesFinder
- Overrides:
fetchByPrimaryKeys
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.PortletPreferences>
-
findByPortletId
- Specified by:
findByPortletId
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesFinder
-
findByC_G_O_O_P_P
public List<com.liferay.portal.kernel.model.PortletPreferences> findByC_G_O_O_P_P(long companyId, long groupId, long ownerId, int ownerType, String portletId, boolean privateLayout) - Specified by:
findByC_G_O_O_P_P
in interfacecom.liferay.portal.kernel.service.persistence.PortletPreferencesFinder
-
isInstanceOf
-