com.liferay.portlet.social.service.persistence
Class SocialActivityPersistenceImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl
      extended by com.liferay.portlet.social.service.persistence.SocialActivityPersistenceImpl
All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.service.persistence.BasePersistence, com.liferay.portlet.social.service.persistence.SocialActivityPersistence

public class SocialActivityPersistenceImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl
implements com.liferay.portlet.social.service.persistence.SocialActivityPersistence

View Source

Author:
Brian Wing Shun Chan

Field Summary
protected  com.liferay.portlet.social.service.persistence.SocialActivityPersistence socialActivityPersistence
           
protected  com.liferay.portlet.social.service.persistence.SocialRelationPersistence socialRelationPersistence
           
protected  com.liferay.portlet.social.service.persistence.SocialRequestPersistence socialRequestPersistence
           
protected  com.liferay.portal.service.persistence.UserPersistence userPersistence
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, listeners
 
Constructor Summary
SocialActivityPersistenceImpl()
           
 
Method Summary
 void afterPropertiesSet()
           
 int countAll()
           
 int countByC_C(long classNameId, long classPK)
           
 int countByClassNameId(long classNameId)
           
 int countByCompanyId(long companyId)
           
 int countByG_U_CD_C_C_T_R(long groupId, long userId, java.util.Date createDate, long classNameId, long classPK, int type, long receiverUserId)
           
 int countByGroupId(long groupId)
           
 int countByM_C_C(long mirrorActivityId, long classNameId, long classPK)
           
 int countByMirrorActivityId(long mirrorActivityId)
           
 int countByReceiverUserId(long receiverUserId)
           
 int countByUserId(long userId)
           
 com.liferay.portlet.social.model.SocialActivity create(long activityId)
           
 com.liferay.portlet.social.model.SocialActivity fetchByG_U_CD_C_C_T_R(long groupId, long userId, java.util.Date createDate, long classNameId, long classPK, int type, long receiverUserId)
           
 com.liferay.portlet.social.model.SocialActivity fetchByMirrorActivityId(long mirrorActivityId)
           
 com.liferay.portlet.social.model.SocialActivity fetchByPrimaryKey(long activityId)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> findAll()
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> findAll(int start, int end)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.social.model.SocialActivity findByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.social.model.SocialActivity findByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.social.model.SocialActivity[] findByC_C_PrevAndNext(long activityId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> findByC_C(long classNameId, long classPK)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> findByC_C(long classNameId, long classPK, int start, int end)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.social.model.SocialActivity findByClassNameId_First(long classNameId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.social.model.SocialActivity findByClassNameId_Last(long classNameId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.social.model.SocialActivity[] findByClassNameId_PrevAndNext(long activityId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> findByClassNameId(long classNameId)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> findByClassNameId(long classNameId, int start, int end)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> findByClassNameId(long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.social.model.SocialActivity findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.social.model.SocialActivity findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.social.model.SocialActivity[] findByCompanyId_PrevAndNext(long activityId, long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> findByCompanyId(long companyId)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> findByCompanyId(long companyId, int start, int end)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.social.model.SocialActivity findByG_U_CD_C_C_T_R(long groupId, long userId, java.util.Date createDate, long classNameId, long classPK, int type, long receiverUserId)
           
 com.liferay.portlet.social.model.SocialActivity findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.social.model.SocialActivity findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.social.model.SocialActivity[] findByGroupId_PrevAndNext(long activityId, long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> findByGroupId(long groupId)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> findByGroupId(long groupId, int start, int end)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.social.model.SocialActivity findByM_C_C_First(long mirrorActivityId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.social.model.SocialActivity findByM_C_C_Last(long mirrorActivityId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.social.model.SocialActivity[] findByM_C_C_PrevAndNext(long activityId, long mirrorActivityId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> findByM_C_C(long mirrorActivityId, long classNameId, long classPK)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> findByM_C_C(long mirrorActivityId, long classNameId, long classPK, int start, int end)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> findByM_C_C(long mirrorActivityId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.social.model.SocialActivity findByMirrorActivityId(long mirrorActivityId)
           
 com.liferay.portlet.social.model.SocialActivity findByPrimaryKey(long activityId)
           
 com.liferay.portlet.social.model.SocialActivity findByReceiverUserId_First(long receiverUserId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.social.model.SocialActivity findByReceiverUserId_Last(long receiverUserId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.social.model.SocialActivity[] findByReceiverUserId_PrevAndNext(long activityId, long receiverUserId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> findByReceiverUserId(long receiverUserId)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> findByReceiverUserId(long receiverUserId, int start, int end)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> findByReceiverUserId(long receiverUserId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.social.model.SocialActivity findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.social.model.SocialActivity findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portlet.social.model.SocialActivity[] findByUserId_PrevAndNext(long activityId, long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> findByUserId(long userId)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> findByUserId(long userId, int start, int end)
           
 java.util.List<com.liferay.portlet.social.model.SocialActivity> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 com.liferay.portlet.social.model.SocialActivity remove(long activityId)
           
 com.liferay.portlet.social.model.SocialActivity remove(com.liferay.portlet.social.model.SocialActivity socialActivity)
           
 void removeAll()
           
 void removeByC_C(long classNameId, long classPK)
           
 void removeByClassNameId(long classNameId)
           
 void removeByCompanyId(long companyId)
           
 void removeByG_U_CD_C_C_T_R(long groupId, long userId, java.util.Date createDate, long classNameId, long classPK, int type, long receiverUserId)
           
 void removeByGroupId(long groupId)
           
 void removeByM_C_C(long mirrorActivityId, long classNameId, long classPK)
           
 void removeByMirrorActivityId(long mirrorActivityId)
           
 void removeByReceiverUserId(long receiverUserId)
           
 void removeByUserId(long userId)
           
protected  com.liferay.portlet.social.model.SocialActivity removeImpl(com.liferay.portlet.social.model.SocialActivity socialActivity)
           
 com.liferay.portlet.social.model.SocialActivity update(com.liferay.portlet.social.model.SocialActivity socialActivity)
          Deprecated. Use update(SocialActivity socialActivity, boolean merge).
 com.liferay.portlet.social.model.SocialActivity update(com.liferay.portlet.social.model.SocialActivity socialActivity, boolean merge)
          Add, update, or merge, the entity.
 com.liferay.portlet.social.model.SocialActivity updateImpl(com.liferay.portlet.social.model.SocialActivity socialActivity, boolean merge)
           
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
closeSession, getDataSource, getDialect, getListeners, openSession, processException, registerListener, setDataSource, setSessionFactory, unregisterListener
 
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.service.persistence.BasePersistence
getListeners, registerListener, unregisterListener
 

Field Detail

socialActivityPersistence

@BeanReference(name="com.liferay.portlet.social.service.persistence.SocialActivityPersistence.impl")
protected com.liferay.portlet.social.service.persistence.SocialActivityPersistence socialActivityPersistence

socialRelationPersistence

@BeanReference(name="com.liferay.portlet.social.service.persistence.SocialRelationPersistence.impl")
protected com.liferay.portlet.social.service.persistence.SocialRelationPersistence socialRelationPersistence

socialRequestPersistence

@BeanReference(name="com.liferay.portlet.social.service.persistence.SocialRequestPersistence.impl")
protected com.liferay.portlet.social.service.persistence.SocialRequestPersistence socialRequestPersistence

userPersistence

@BeanReference(name="com.liferay.portal.service.persistence.UserPersistence.impl")
protected com.liferay.portal.service.persistence.UserPersistence userPersistence
Constructor Detail

SocialActivityPersistenceImpl

public SocialActivityPersistenceImpl()
Method Detail

create

public com.liferay.portlet.social.model.SocialActivity create(long activityId)
Specified by:
create in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence

remove

public com.liferay.portlet.social.model.SocialActivity remove(long activityId)
                                                       throws com.liferay.portlet.social.NoSuchActivityException,
                                                              com.liferay.portal.SystemException
Specified by:
remove in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portlet.social.NoSuchActivityException
com.liferay.portal.SystemException

remove

public com.liferay.portlet.social.model.SocialActivity remove(com.liferay.portlet.social.model.SocialActivity socialActivity)
                                                       throws com.liferay.portal.SystemException
Specified by:
remove in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

removeImpl

protected com.liferay.portlet.social.model.SocialActivity removeImpl(com.liferay.portlet.social.model.SocialActivity socialActivity)
                                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public com.liferay.portlet.social.model.SocialActivity update(com.liferay.portlet.social.model.SocialActivity socialActivity)
                                                       throws com.liferay.portal.SystemException
Deprecated. Use update(SocialActivity socialActivity, boolean merge).

Specified by:
update in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

update

public com.liferay.portlet.social.model.SocialActivity update(com.liferay.portlet.social.model.SocialActivity socialActivity,
                                                              boolean merge)
                                                       throws com.liferay.portal.SystemException
Add, update, or merge, the entity. This method also calls the model listeners to trigger the proper events associated with adding, deleting, or updating an entity.

Specified by:
update in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Parameters:
socialActivity - the entity to add, update, or merge
merge - boolean value for whether to merge the entity. The default value is false. Setting merge to true is more expensive and should only be true when socialActivity is transient. See LEP-5473 for a detailed discussion of this method.
Returns:
true if the portlet can be displayed via Ajax
Throws:
com.liferay.portal.SystemException

updateImpl

public com.liferay.portlet.social.model.SocialActivity updateImpl(com.liferay.portlet.social.model.SocialActivity socialActivity,
                                                                  boolean merge)
                                                           throws com.liferay.portal.SystemException
Specified by:
updateImpl in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public com.liferay.portlet.social.model.SocialActivity findByPrimaryKey(long activityId)
                                                                 throws com.liferay.portlet.social.NoSuchActivityException,
                                                                        com.liferay.portal.SystemException
Specified by:
findByPrimaryKey in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portlet.social.NoSuchActivityException
com.liferay.portal.SystemException

fetchByPrimaryKey

public com.liferay.portlet.social.model.SocialActivity fetchByPrimaryKey(long activityId)
                                                                  throws com.liferay.portal.SystemException
Specified by:
fetchByPrimaryKey in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

findByGroupId

public java.util.List<com.liferay.portlet.social.model.SocialActivity> findByGroupId(long groupId)
                                                                              throws com.liferay.portal.SystemException
Specified by:
findByGroupId in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

findByGroupId

public java.util.List<com.liferay.portlet.social.model.SocialActivity> findByGroupId(long groupId,
                                                                                     int start,
                                                                                     int end)
                                                                              throws com.liferay.portal.SystemException
Specified by:
findByGroupId in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

findByGroupId

public java.util.List<com.liferay.portlet.social.model.SocialActivity> findByGroupId(long groupId,
                                                                                     int start,
                                                                                     int end,
                                                                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                              throws com.liferay.portal.SystemException
Specified by:
findByGroupId in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

findByGroupId_First

public com.liferay.portlet.social.model.SocialActivity findByGroupId_First(long groupId,
                                                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                    throws com.liferay.portlet.social.NoSuchActivityException,
                                                                           com.liferay.portal.SystemException
Specified by:
findByGroupId_First in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portlet.social.NoSuchActivityException
com.liferay.portal.SystemException

findByGroupId_Last

public com.liferay.portlet.social.model.SocialActivity findByGroupId_Last(long groupId,
                                                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                   throws com.liferay.portlet.social.NoSuchActivityException,
                                                                          com.liferay.portal.SystemException
Specified by:
findByGroupId_Last in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portlet.social.NoSuchActivityException
com.liferay.portal.SystemException

findByGroupId_PrevAndNext

public com.liferay.portlet.social.model.SocialActivity[] findByGroupId_PrevAndNext(long activityId,
                                                                                   long groupId,
                                                                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                            throws com.liferay.portlet.social.NoSuchActivityException,
                                                                                   com.liferay.portal.SystemException
Specified by:
findByGroupId_PrevAndNext in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portlet.social.NoSuchActivityException
com.liferay.portal.SystemException

findByCompanyId

public java.util.List<com.liferay.portlet.social.model.SocialActivity> findByCompanyId(long companyId)
                                                                                throws com.liferay.portal.SystemException
Specified by:
findByCompanyId in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

findByCompanyId

public java.util.List<com.liferay.portlet.social.model.SocialActivity> findByCompanyId(long companyId,
                                                                                       int start,
                                                                                       int end)
                                                                                throws com.liferay.portal.SystemException
Specified by:
findByCompanyId in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

findByCompanyId

public java.util.List<com.liferay.portlet.social.model.SocialActivity> findByCompanyId(long companyId,
                                                                                       int start,
                                                                                       int end,
                                                                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                                throws com.liferay.portal.SystemException
Specified by:
findByCompanyId in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

findByCompanyId_First

public com.liferay.portlet.social.model.SocialActivity findByCompanyId_First(long companyId,
                                                                             com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                      throws com.liferay.portlet.social.NoSuchActivityException,
                                                                             com.liferay.portal.SystemException
Specified by:
findByCompanyId_First in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portlet.social.NoSuchActivityException
com.liferay.portal.SystemException

findByCompanyId_Last

public com.liferay.portlet.social.model.SocialActivity findByCompanyId_Last(long companyId,
                                                                            com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                     throws com.liferay.portlet.social.NoSuchActivityException,
                                                                            com.liferay.portal.SystemException
Specified by:
findByCompanyId_Last in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portlet.social.NoSuchActivityException
com.liferay.portal.SystemException

findByCompanyId_PrevAndNext

public com.liferay.portlet.social.model.SocialActivity[] findByCompanyId_PrevAndNext(long activityId,
                                                                                     long companyId,
                                                                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                              throws com.liferay.portlet.social.NoSuchActivityException,
                                                                                     com.liferay.portal.SystemException
Specified by:
findByCompanyId_PrevAndNext in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portlet.social.NoSuchActivityException
com.liferay.portal.SystemException

findByUserId

public java.util.List<com.liferay.portlet.social.model.SocialActivity> findByUserId(long userId)
                                                                             throws com.liferay.portal.SystemException
Specified by:
findByUserId in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

findByUserId

public java.util.List<com.liferay.portlet.social.model.SocialActivity> findByUserId(long userId,
                                                                                    int start,
                                                                                    int end)
                                                                             throws com.liferay.portal.SystemException
Specified by:
findByUserId in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

findByUserId

public java.util.List<com.liferay.portlet.social.model.SocialActivity> findByUserId(long userId,
                                                                                    int start,
                                                                                    int end,
                                                                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                             throws com.liferay.portal.SystemException
Specified by:
findByUserId in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

findByUserId_First

public com.liferay.portlet.social.model.SocialActivity findByUserId_First(long userId,
                                                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                   throws com.liferay.portlet.social.NoSuchActivityException,
                                                                          com.liferay.portal.SystemException
Specified by:
findByUserId_First in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portlet.social.NoSuchActivityException
com.liferay.portal.SystemException

findByUserId_Last

public com.liferay.portlet.social.model.SocialActivity findByUserId_Last(long userId,
                                                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                  throws com.liferay.portlet.social.NoSuchActivityException,
                                                                         com.liferay.portal.SystemException
Specified by:
findByUserId_Last in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portlet.social.NoSuchActivityException
com.liferay.portal.SystemException

findByUserId_PrevAndNext

public com.liferay.portlet.social.model.SocialActivity[] findByUserId_PrevAndNext(long activityId,
                                                                                  long userId,
                                                                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                           throws com.liferay.portlet.social.NoSuchActivityException,
                                                                                  com.liferay.portal.SystemException
Specified by:
findByUserId_PrevAndNext in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portlet.social.NoSuchActivityException
com.liferay.portal.SystemException

findByMirrorActivityId

public com.liferay.portlet.social.model.SocialActivity findByMirrorActivityId(long mirrorActivityId)
                                                                       throws com.liferay.portlet.social.NoSuchActivityException,
                                                                              com.liferay.portal.SystemException
Specified by:
findByMirrorActivityId in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portlet.social.NoSuchActivityException
com.liferay.portal.SystemException

fetchByMirrorActivityId

public com.liferay.portlet.social.model.SocialActivity fetchByMirrorActivityId(long mirrorActivityId)
                                                                        throws com.liferay.portal.SystemException
Specified by:
fetchByMirrorActivityId in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

findByClassNameId

public java.util.List<com.liferay.portlet.social.model.SocialActivity> findByClassNameId(long classNameId)
                                                                                  throws com.liferay.portal.SystemException
Specified by:
findByClassNameId in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

findByClassNameId

public java.util.List<com.liferay.portlet.social.model.SocialActivity> findByClassNameId(long classNameId,
                                                                                         int start,
                                                                                         int end)
                                                                                  throws com.liferay.portal.SystemException
Specified by:
findByClassNameId in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

findByClassNameId

public java.util.List<com.liferay.portlet.social.model.SocialActivity> findByClassNameId(long classNameId,
                                                                                         int start,
                                                                                         int end,
                                                                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                                  throws com.liferay.portal.SystemException
Specified by:
findByClassNameId in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

findByClassNameId_First

public com.liferay.portlet.social.model.SocialActivity findByClassNameId_First(long classNameId,
                                                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                        throws com.liferay.portlet.social.NoSuchActivityException,
                                                                               com.liferay.portal.SystemException
Specified by:
findByClassNameId_First in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portlet.social.NoSuchActivityException
com.liferay.portal.SystemException

findByClassNameId_Last

public com.liferay.portlet.social.model.SocialActivity findByClassNameId_Last(long classNameId,
                                                                              com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                       throws com.liferay.portlet.social.NoSuchActivityException,
                                                                              com.liferay.portal.SystemException
Specified by:
findByClassNameId_Last in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portlet.social.NoSuchActivityException
com.liferay.portal.SystemException

findByClassNameId_PrevAndNext

public com.liferay.portlet.social.model.SocialActivity[] findByClassNameId_PrevAndNext(long activityId,
                                                                                       long classNameId,
                                                                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                                throws com.liferay.portlet.social.NoSuchActivityException,
                                                                                       com.liferay.portal.SystemException
Specified by:
findByClassNameId_PrevAndNext in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portlet.social.NoSuchActivityException
com.liferay.portal.SystemException

findByReceiverUserId

public java.util.List<com.liferay.portlet.social.model.SocialActivity> findByReceiverUserId(long receiverUserId)
                                                                                     throws com.liferay.portal.SystemException
Specified by:
findByReceiverUserId in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

findByReceiverUserId

public java.util.List<com.liferay.portlet.social.model.SocialActivity> findByReceiverUserId(long receiverUserId,
                                                                                            int start,
                                                                                            int end)
                                                                                     throws com.liferay.portal.SystemException
Specified by:
findByReceiverUserId in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

findByReceiverUserId

public java.util.List<com.liferay.portlet.social.model.SocialActivity> findByReceiverUserId(long receiverUserId,
                                                                                            int start,
                                                                                            int end,
                                                                                            com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                                     throws com.liferay.portal.SystemException
Specified by:
findByReceiverUserId in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

findByReceiverUserId_First

public com.liferay.portlet.social.model.SocialActivity findByReceiverUserId_First(long receiverUserId,
                                                                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                           throws com.liferay.portlet.social.NoSuchActivityException,
                                                                                  com.liferay.portal.SystemException
Specified by:
findByReceiverUserId_First in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portlet.social.NoSuchActivityException
com.liferay.portal.SystemException

findByReceiverUserId_Last

public com.liferay.portlet.social.model.SocialActivity findByReceiverUserId_Last(long receiverUserId,
                                                                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                          throws com.liferay.portlet.social.NoSuchActivityException,
                                                                                 com.liferay.portal.SystemException
Specified by:
findByReceiverUserId_Last in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portlet.social.NoSuchActivityException
com.liferay.portal.SystemException

findByReceiverUserId_PrevAndNext

public com.liferay.portlet.social.model.SocialActivity[] findByReceiverUserId_PrevAndNext(long activityId,
                                                                                          long receiverUserId,
                                                                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                                   throws com.liferay.portlet.social.NoSuchActivityException,
                                                                                          com.liferay.portal.SystemException
Specified by:
findByReceiverUserId_PrevAndNext in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portlet.social.NoSuchActivityException
com.liferay.portal.SystemException

findByC_C

public java.util.List<com.liferay.portlet.social.model.SocialActivity> findByC_C(long classNameId,
                                                                                 long classPK)
                                                                          throws com.liferay.portal.SystemException
Specified by:
findByC_C in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

findByC_C

public java.util.List<com.liferay.portlet.social.model.SocialActivity> findByC_C(long classNameId,
                                                                                 long classPK,
                                                                                 int start,
                                                                                 int end)
                                                                          throws com.liferay.portal.SystemException
Specified by:
findByC_C in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

findByC_C

public java.util.List<com.liferay.portlet.social.model.SocialActivity> findByC_C(long classNameId,
                                                                                 long classPK,
                                                                                 int start,
                                                                                 int end,
                                                                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                          throws com.liferay.portal.SystemException
Specified by:
findByC_C in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

findByC_C_First

public com.liferay.portlet.social.model.SocialActivity findByC_C_First(long classNameId,
                                                                       long classPK,
                                                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                throws com.liferay.portlet.social.NoSuchActivityException,
                                                                       com.liferay.portal.SystemException
Specified by:
findByC_C_First in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portlet.social.NoSuchActivityException
com.liferay.portal.SystemException

findByC_C_Last

public com.liferay.portlet.social.model.SocialActivity findByC_C_Last(long classNameId,
                                                                      long classPK,
                                                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                                               throws com.liferay.portlet.social.NoSuchActivityException,
                                                                      com.liferay.portal.SystemException
Specified by:
findByC_C_Last in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portlet.social.NoSuchActivityException
com.liferay.portal.SystemException

findByC_C_PrevAndNext

public com.liferay.portlet.social.model.SocialActivity[] findByC_C_PrevAndNext(long activityId,
                                                                               long classNameId,
                                                                               long classPK,
                                                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                        throws com.liferay.portlet.social.NoSuchActivityException,
                                                                               com.liferay.portal.SystemException
Specified by:
findByC_C_PrevAndNext in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portlet.social.NoSuchActivityException
com.liferay.portal.SystemException

findByM_C_C

public java.util.List<com.liferay.portlet.social.model.SocialActivity> findByM_C_C(long mirrorActivityId,
                                                                                   long classNameId,
                                                                                   long classPK)
                                                                            throws com.liferay.portal.SystemException
Specified by:
findByM_C_C in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

findByM_C_C

public java.util.List<com.liferay.portlet.social.model.SocialActivity> findByM_C_C(long mirrorActivityId,
                                                                                   long classNameId,
                                                                                   long classPK,
                                                                                   int start,
                                                                                   int end)
                                                                            throws com.liferay.portal.SystemException
Specified by:
findByM_C_C in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

findByM_C_C

public java.util.List<com.liferay.portlet.social.model.SocialActivity> findByM_C_C(long mirrorActivityId,
                                                                                   long classNameId,
                                                                                   long classPK,
                                                                                   int start,
                                                                                   int end,
                                                                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                            throws com.liferay.portal.SystemException
Specified by:
findByM_C_C in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

findByM_C_C_First

public com.liferay.portlet.social.model.SocialActivity findByM_C_C_First(long mirrorActivityId,
                                                                         long classNameId,
                                                                         long classPK,
                                                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                  throws com.liferay.portlet.social.NoSuchActivityException,
                                                                         com.liferay.portal.SystemException
Specified by:
findByM_C_C_First in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portlet.social.NoSuchActivityException
com.liferay.portal.SystemException

findByM_C_C_Last

public com.liferay.portlet.social.model.SocialActivity findByM_C_C_Last(long mirrorActivityId,
                                                                        long classNameId,
                                                                        long classPK,
                                                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                 throws com.liferay.portlet.social.NoSuchActivityException,
                                                                        com.liferay.portal.SystemException
Specified by:
findByM_C_C_Last in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portlet.social.NoSuchActivityException
com.liferay.portal.SystemException

findByM_C_C_PrevAndNext

public com.liferay.portlet.social.model.SocialActivity[] findByM_C_C_PrevAndNext(long activityId,
                                                                                 long mirrorActivityId,
                                                                                 long classNameId,
                                                                                 long classPK,
                                                                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                          throws com.liferay.portlet.social.NoSuchActivityException,
                                                                                 com.liferay.portal.SystemException
Specified by:
findByM_C_C_PrevAndNext in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portlet.social.NoSuchActivityException
com.liferay.portal.SystemException

findByG_U_CD_C_C_T_R

public com.liferay.portlet.social.model.SocialActivity findByG_U_CD_C_C_T_R(long groupId,
                                                                            long userId,
                                                                            java.util.Date createDate,
                                                                            long classNameId,
                                                                            long classPK,
                                                                            int type,
                                                                            long receiverUserId)
                                                                     throws com.liferay.portlet.social.NoSuchActivityException,
                                                                            com.liferay.portal.SystemException
Specified by:
findByG_U_CD_C_C_T_R in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portlet.social.NoSuchActivityException
com.liferay.portal.SystemException

fetchByG_U_CD_C_C_T_R

public com.liferay.portlet.social.model.SocialActivity fetchByG_U_CD_C_C_T_R(long groupId,
                                                                             long userId,
                                                                             java.util.Date createDate,
                                                                             long classNameId,
                                                                             long classPK,
                                                                             int type,
                                                                             long receiverUserId)
                                                                      throws com.liferay.portal.SystemException
Specified by:
fetchByG_U_CD_C_C_T_R in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                                      throws com.liferay.portal.SystemException
Specified by:
findWithDynamicQuery in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                             int start,
                                                             int end)
                                                      throws com.liferay.portal.SystemException
Specified by:
findWithDynamicQuery in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List<com.liferay.portlet.social.model.SocialActivity> findAll()
                                                                        throws com.liferay.portal.SystemException
Specified by:
findAll in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List<com.liferay.portlet.social.model.SocialActivity> findAll(int start,
                                                                               int end)
                                                                        throws com.liferay.portal.SystemException
Specified by:
findAll in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List<com.liferay.portlet.social.model.SocialActivity> findAll(int start,
                                                                               int end,
                                                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                        throws com.liferay.portal.SystemException
Specified by:
findAll in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

removeByGroupId

public void removeByGroupId(long groupId)
                     throws com.liferay.portal.SystemException
Specified by:
removeByGroupId in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

removeByCompanyId

public void removeByCompanyId(long companyId)
                       throws com.liferay.portal.SystemException
Specified by:
removeByCompanyId in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

removeByUserId

public void removeByUserId(long userId)
                    throws com.liferay.portal.SystemException
Specified by:
removeByUserId in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

removeByMirrorActivityId

public void removeByMirrorActivityId(long mirrorActivityId)
                              throws com.liferay.portlet.social.NoSuchActivityException,
                                     com.liferay.portal.SystemException
Specified by:
removeByMirrorActivityId in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portlet.social.NoSuchActivityException
com.liferay.portal.SystemException

removeByClassNameId

public void removeByClassNameId(long classNameId)
                         throws com.liferay.portal.SystemException
Specified by:
removeByClassNameId in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

removeByReceiverUserId

public void removeByReceiverUserId(long receiverUserId)
                            throws com.liferay.portal.SystemException
Specified by:
removeByReceiverUserId in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

removeByC_C

public void removeByC_C(long classNameId,
                        long classPK)
                 throws com.liferay.portal.SystemException
Specified by:
removeByC_C in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

removeByM_C_C

public void removeByM_C_C(long mirrorActivityId,
                          long classNameId,
                          long classPK)
                   throws com.liferay.portal.SystemException
Specified by:
removeByM_C_C in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

removeByG_U_CD_C_C_T_R

public void removeByG_U_CD_C_C_T_R(long groupId,
                                   long userId,
                                   java.util.Date createDate,
                                   long classNameId,
                                   long classPK,
                                   int type,
                                   long receiverUserId)
                            throws com.liferay.portlet.social.NoSuchActivityException,
                                   com.liferay.portal.SystemException
Specified by:
removeByG_U_CD_C_C_T_R in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portlet.social.NoSuchActivityException
com.liferay.portal.SystemException

removeAll

public void removeAll()
               throws com.liferay.portal.SystemException
Specified by:
removeAll in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

countByGroupId

public int countByGroupId(long groupId)
                   throws com.liferay.portal.SystemException
Specified by:
countByGroupId in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

countByCompanyId

public int countByCompanyId(long companyId)
                     throws com.liferay.portal.SystemException
Specified by:
countByCompanyId in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

countByUserId

public int countByUserId(long userId)
                  throws com.liferay.portal.SystemException
Specified by:
countByUserId in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

countByMirrorActivityId

public int countByMirrorActivityId(long mirrorActivityId)
                            throws com.liferay.portal.SystemException
Specified by:
countByMirrorActivityId in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

countByClassNameId

public int countByClassNameId(long classNameId)
                       throws com.liferay.portal.SystemException
Specified by:
countByClassNameId in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

countByReceiverUserId

public int countByReceiverUserId(long receiverUserId)
                          throws com.liferay.portal.SystemException
Specified by:
countByReceiverUserId in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

countByC_C

public int countByC_C(long classNameId,
                      long classPK)
               throws com.liferay.portal.SystemException
Specified by:
countByC_C in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

countByM_C_C

public int countByM_C_C(long mirrorActivityId,
                        long classNameId,
                        long classPK)
                 throws com.liferay.portal.SystemException
Specified by:
countByM_C_C in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

countByG_U_CD_C_C_T_R

public int countByG_U_CD_C_C_T_R(long groupId,
                                 long userId,
                                 java.util.Date createDate,
                                 long classNameId,
                                 long classPK,
                                 int type,
                                 long receiverUserId)
                          throws com.liferay.portal.SystemException
Specified by:
countByG_U_CD_C_C_T_R in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

countAll

public int countAll()
             throws com.liferay.portal.SystemException
Specified by:
countAll in interface com.liferay.portlet.social.service.persistence.SocialActivityPersistence
Throws:
com.liferay.portal.SystemException

afterPropertiesSet

public void afterPropertiesSet()