Liferay 7.0-ce-b4

com.liferay.portal.service.persistence.impl
Class PortletPreferencesFinderImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<PortletPreferences>
      extended by com.liferay.portal.service.persistence.impl.PortletPreferencesFinderBaseImpl
          extended by com.liferay.portal.service.persistence.impl.PortletPreferencesFinderImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<PortletPreferences>, PortletPreferencesFinder

public class PortletPreferencesFinderImpl
extends PortletPreferencesFinderBaseImpl
implements PortletPreferencesFinder


Field Summary
static String COUNT_BY_O_O_P
           
static String COUNT_BY_O_O_P_P_P
           
static String FIND_BY_C_G_O_O_P_P
           
static String FIND_BY_PORTLET_ID
           
static FinderPath FINDER_PATH_FIND_BY_C_G_O_O_P_P
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.PortletPreferencesFinderBaseImpl
portletPreferencesPersistence
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, 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
PortletPreferencesFinderImpl()
           
 
Method Summary
 long countByO_O_P_P_P(long ownerId, int ownerType, long plid, String portletId, boolean excludeDefaultPreferences)
           
 long countByO_O_P(long ownerId, int ownerType, String portletId, boolean excludeDefaultPreferences)
           
 Map<Serializable,PortletPreferences> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
           
 List<PortletPreferences> findByC_G_O_O_P_P(long companyId, long groupId, long ownerId, int ownerType, String portletId, boolean privateLayout)
           
 List<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.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getColumnName, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, getTableColumnsMap, openNewSession, openSession, processException, registerListener, remove, remove, removeConjunction, removeImpl, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl, updateImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COUNT_BY_O_O_P

public static final String COUNT_BY_O_O_P

COUNT_BY_O_O_P_P_P

public static final String COUNT_BY_O_O_P_P_P

FIND_BY_PORTLET_ID

public static final String FIND_BY_PORTLET_ID

FIND_BY_C_G_O_O_P_P

public static final String FIND_BY_C_G_O_O_P_P

FINDER_PATH_FIND_BY_C_G_O_O_P_P

public static final FinderPath FINDER_PATH_FIND_BY_C_G_O_O_P_P
Constructor Detail

PortletPreferencesFinderImpl

public PortletPreferencesFinderImpl()
Method Detail

countByO_O_P

public long countByO_O_P(long ownerId,
                         int ownerType,
                         String portletId,
                         boolean excludeDefaultPreferences)
Specified by:
countByO_O_P in interface 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 interface PortletPreferencesFinder

findByPortletId

public List<PortletPreferences> findByPortletId(String portletId)
Specified by:
findByPortletId in interface PortletPreferencesFinder

fetchByPrimaryKeys

public Map<Serializable,PortletPreferences> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
Specified by:
fetchByPrimaryKeys in interface BasePersistence<PortletPreferences>
Specified by:
fetchByPrimaryKeys in interface PortletPreferencesFinder
Overrides:
fetchByPrimaryKeys in class BasePersistenceImpl<PortletPreferences>

findByC_G_O_O_P_P

public List<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 interface PortletPreferencesFinder

isInstanceOf

protected boolean isInstanceOf(String portletPreferencesPortletId,
                               String portletId)

Liferay 7.0-ce-b4