com.liferay.portlet.social.service.persistence
Class SocialEquityUserPersistenceImpl
java.lang.Object
com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialEquityUser>
com.liferay.portlet.social.service.persistence.SocialEquityUserPersistenceImpl
- All Implemented Interfaces:
- com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.social.model.SocialEquityUser>, com.liferay.portlet.social.service.persistence.SocialEquityUserPersistence
public class SocialEquityUserPersistenceImpl
- extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialEquityUser>
- implements com.liferay.portlet.social.service.persistence.SocialEquityUserPersistence
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
- Author:
- Brian Wing Shun Chan
- See Also:
SocialEquityUserPersistence
,
SocialEquityUserUtil
- Generated:
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
COUNT_COLUMN_NAME, listeners, 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 |
Method Summary |
void |
afterPropertiesSet()
|
void |
cacheResult(java.util.List<com.liferay.portlet.social.model.SocialEquityUser> socialEquityUsers)
|
void |
cacheResult(com.liferay.portlet.social.model.SocialEquityUser socialEquityUser)
|
void |
clearCache()
|
void |
clearCache(com.liferay.portlet.social.model.SocialEquityUser socialEquityUser)
|
int |
countAll()
|
int |
countByG_U(long groupId,
long userId)
|
int |
countByUserId(long userId)
|
com.liferay.portlet.social.model.SocialEquityUser |
create(long equityUserId)
|
com.liferay.portlet.social.model.SocialEquityUser |
fetchByG_U(long groupId,
long userId)
|
com.liferay.portlet.social.model.SocialEquityUser |
fetchByG_U(long groupId,
long userId,
boolean retrieveFromCache)
|
com.liferay.portlet.social.model.SocialEquityUser |
fetchByPrimaryKey(long equityUserId)
|
com.liferay.portlet.social.model.SocialEquityUser |
fetchByPrimaryKey(java.io.Serializable primaryKey)
|
java.util.List<com.liferay.portlet.social.model.SocialEquityUser> |
findAll()
|
java.util.List<com.liferay.portlet.social.model.SocialEquityUser> |
findAll(int start,
int end)
|
java.util.List<com.liferay.portlet.social.model.SocialEquityUser> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
com.liferay.portlet.social.model.SocialEquityUser |
findByG_U(long groupId,
long userId)
|
com.liferay.portlet.social.model.SocialEquityUser |
findByPrimaryKey(long equityUserId)
|
com.liferay.portlet.social.model.SocialEquityUser |
findByPrimaryKey(java.io.Serializable primaryKey)
|
com.liferay.portlet.social.model.SocialEquityUser |
findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
com.liferay.portlet.social.model.SocialEquityUser |
findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
com.liferay.portlet.social.model.SocialEquityUser[] |
findByUserId_PrevAndNext(long equityUserId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
java.util.List<com.liferay.portlet.social.model.SocialEquityUser> |
findByUserId(long userId)
|
java.util.List<com.liferay.portlet.social.model.SocialEquityUser> |
findByUserId(long userId,
int start,
int end)
|
java.util.List<com.liferay.portlet.social.model.SocialEquityUser> |
findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
protected com.liferay.portlet.social.model.SocialEquityUser |
getByUserId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.social.model.SocialEquityUser socialEquityUser,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
|
com.liferay.portlet.social.model.SocialEquityUser |
remove(long equityUserId)
|
com.liferay.portlet.social.model.SocialEquityUser |
remove(java.io.Serializable primaryKey)
|
com.liferay.portlet.social.model.SocialEquityUser |
remove(com.liferay.portlet.social.model.SocialEquityUser socialEquityUser)
|
void |
removeAll()
|
void |
removeByG_U(long groupId,
long userId)
|
void |
removeByUserId(long userId)
|
protected com.liferay.portlet.social.model.SocialEquityUser |
removeImpl(com.liferay.portlet.social.model.SocialEquityUser socialEquityUser)
|
protected com.liferay.portlet.social.model.SocialEquityUser |
toUnwrappedModel(com.liferay.portlet.social.model.SocialEquityUser socialEquityUser)
|
com.liferay.portlet.social.model.SocialEquityUser |
updateImpl(com.liferay.portlet.social.model.SocialEquityUser socialEquityUser,
boolean merge)
|
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDialect, getListeners, openNewSession, openSession, processException, registerListener, setDataSource, setSessionFactory, unregisterListener, update |
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 |
countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, setDataSource, unregisterListener, update |
FINDER_CLASS_NAME_ENTITY
public static final java.lang.String FINDER_CLASS_NAME_ENTITY
FINDER_CLASS_NAME_LIST
public static final java.lang.String FINDER_CLASS_NAME_LIST
FINDER_PATH_FIND_BY_USERID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_BY_USERID
FINDER_PATH_COUNT_BY_USERID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_USERID
FINDER_PATH_FETCH_BY_G_U
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_G_U
FINDER_PATH_COUNT_BY_G_U
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_U
FINDER_PATH_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FIND_ALL
FINDER_PATH_COUNT_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
socialActivityPersistence
@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialActivityPersistence.class)
protected com.liferay.portlet.social.service.persistence.SocialActivityPersistence socialActivityPersistence
socialEquityAssetEntryPersistence
@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialEquityAssetEntryPersistence.class)
protected com.liferay.portlet.social.service.persistence.SocialEquityAssetEntryPersistence socialEquityAssetEntryPersistence
socialEquityHistoryPersistence
@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialEquityHistoryPersistence.class)
protected com.liferay.portlet.social.service.persistence.SocialEquityHistoryPersistence socialEquityHistoryPersistence
socialEquityLogPersistence
@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialEquityLogPersistence.class)
protected com.liferay.portlet.social.service.persistence.SocialEquityLogPersistence socialEquityLogPersistence
socialEquitySettingPersistence
@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialEquitySettingPersistence.class)
protected com.liferay.portlet.social.service.persistence.SocialEquitySettingPersistence socialEquitySettingPersistence
socialEquityUserPersistence
@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialEquityUserPersistence.class)
protected com.liferay.portlet.social.service.persistence.SocialEquityUserPersistence socialEquityUserPersistence
socialRelationPersistence
@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialRelationPersistence.class)
protected com.liferay.portlet.social.service.persistence.SocialRelationPersistence socialRelationPersistence
socialRequestPersistence
@BeanReference(type=com.liferay.portlet.social.service.persistence.SocialRequestPersistence.class)
protected com.liferay.portlet.social.service.persistence.SocialRequestPersistence socialRequestPersistence
resourcePersistence
@BeanReference(type=com.liferay.portal.service.persistence.ResourcePersistence.class)
protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence
userPersistence
@BeanReference(type=com.liferay.portal.service.persistence.UserPersistence.class)
protected com.liferay.portal.service.persistence.UserPersistence userPersistence
SocialEquityUserPersistenceImpl
public SocialEquityUserPersistenceImpl()
cacheResult
public void cacheResult(com.liferay.portlet.social.model.SocialEquityUser socialEquityUser)
- Specified by:
cacheResult
in interface com.liferay.portlet.social.service.persistence.SocialEquityUserPersistence
cacheResult
public void cacheResult(java.util.List<com.liferay.portlet.social.model.SocialEquityUser> socialEquityUsers)
- Specified by:
cacheResult
in interface com.liferay.portlet.social.service.persistence.SocialEquityUserPersistence
clearCache
public void clearCache()
- Specified by:
clearCache
in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.social.model.SocialEquityUser>
- Overrides:
clearCache
in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialEquityUser>
clearCache
public void clearCache(com.liferay.portlet.social.model.SocialEquityUser socialEquityUser)
- Specified by:
clearCache
in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.social.model.SocialEquityUser>
- Overrides:
clearCache
in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialEquityUser>
create
public com.liferay.portlet.social.model.SocialEquityUser create(long equityUserId)
- Specified by:
create
in interface com.liferay.portlet.social.service.persistence.SocialEquityUserPersistence
remove
public com.liferay.portlet.social.model.SocialEquityUser remove(java.io.Serializable primaryKey)
throws com.liferay.portal.NoSuchModelException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
remove
in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.social.model.SocialEquityUser>
- Overrides:
remove
in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialEquityUser>
- Throws:
com.liferay.portal.NoSuchModelException
com.liferay.portal.kernel.exception.SystemException
remove
public com.liferay.portlet.social.model.SocialEquityUser remove(long equityUserId)
throws com.liferay.portlet.social.NoSuchEquityUserException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
remove
in interface com.liferay.portlet.social.service.persistence.SocialEquityUserPersistence
- Throws:
com.liferay.portlet.social.NoSuchEquityUserException
com.liferay.portal.kernel.exception.SystemException
remove
public com.liferay.portlet.social.model.SocialEquityUser remove(com.liferay.portlet.social.model.SocialEquityUser socialEquityUser)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
remove
in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.social.model.SocialEquityUser>
- Overrides:
remove
in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialEquityUser>
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeImpl
protected com.liferay.portlet.social.model.SocialEquityUser removeImpl(com.liferay.portlet.social.model.SocialEquityUser socialEquityUser)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateImpl
public com.liferay.portlet.social.model.SocialEquityUser updateImpl(com.liferay.portlet.social.model.SocialEquityUser socialEquityUser,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
updateImpl
in interface com.liferay.portlet.social.service.persistence.SocialEquityUserPersistence
- Overrides:
updateImpl
in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialEquityUser>
- Throws:
com.liferay.portal.kernel.exception.SystemException
toUnwrappedModel
protected com.liferay.portlet.social.model.SocialEquityUser toUnwrappedModel(com.liferay.portlet.social.model.SocialEquityUser socialEquityUser)
findByPrimaryKey
public com.liferay.portlet.social.model.SocialEquityUser findByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.NoSuchModelException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
findByPrimaryKey
in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.social.model.SocialEquityUser>
- Overrides:
findByPrimaryKey
in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialEquityUser>
- Throws:
com.liferay.portal.NoSuchModelException
com.liferay.portal.kernel.exception.SystemException
findByPrimaryKey
public com.liferay.portlet.social.model.SocialEquityUser findByPrimaryKey(long equityUserId)
throws com.liferay.portlet.social.NoSuchEquityUserException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
findByPrimaryKey
in interface com.liferay.portlet.social.service.persistence.SocialEquityUserPersistence
- Throws:
com.liferay.portlet.social.NoSuchEquityUserException
com.liferay.portal.kernel.exception.SystemException
fetchByPrimaryKey
public com.liferay.portlet.social.model.SocialEquityUser fetchByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
fetchByPrimaryKey
in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.social.model.SocialEquityUser>
- Overrides:
fetchByPrimaryKey
in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.social.model.SocialEquityUser>
- Throws:
com.liferay.portal.kernel.exception.SystemException
fetchByPrimaryKey
public com.liferay.portlet.social.model.SocialEquityUser fetchByPrimaryKey(long equityUserId)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
fetchByPrimaryKey
in interface com.liferay.portlet.social.service.persistence.SocialEquityUserPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByUserId
public java.util.List<com.liferay.portlet.social.model.SocialEquityUser> findByUserId(long userId)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
findByUserId
in interface com.liferay.portlet.social.service.persistence.SocialEquityUserPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByUserId
public java.util.List<com.liferay.portlet.social.model.SocialEquityUser> findByUserId(long userId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
findByUserId
in interface com.liferay.portlet.social.service.persistence.SocialEquityUserPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByUserId
public java.util.List<com.liferay.portlet.social.model.SocialEquityUser> findByUserId(long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
findByUserId
in interface com.liferay.portlet.social.service.persistence.SocialEquityUserPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByUserId_First
public com.liferay.portlet.social.model.SocialEquityUser findByUserId_First(long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.social.NoSuchEquityUserException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
findByUserId_First
in interface com.liferay.portlet.social.service.persistence.SocialEquityUserPersistence
- Throws:
com.liferay.portlet.social.NoSuchEquityUserException
com.liferay.portal.kernel.exception.SystemException
findByUserId_Last
public com.liferay.portlet.social.model.SocialEquityUser findByUserId_Last(long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.social.NoSuchEquityUserException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
findByUserId_Last
in interface com.liferay.portlet.social.service.persistence.SocialEquityUserPersistence
- Throws:
com.liferay.portlet.social.NoSuchEquityUserException
com.liferay.portal.kernel.exception.SystemException
findByUserId_PrevAndNext
public com.liferay.portlet.social.model.SocialEquityUser[] findByUserId_PrevAndNext(long equityUserId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.social.NoSuchEquityUserException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
findByUserId_PrevAndNext
in interface com.liferay.portlet.social.service.persistence.SocialEquityUserPersistence
- Throws:
com.liferay.portlet.social.NoSuchEquityUserException
com.liferay.portal.kernel.exception.SystemException
getByUserId_PrevAndNext
protected com.liferay.portlet.social.model.SocialEquityUser getByUserId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.social.model.SocialEquityUser socialEquityUser,
long userId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
findByG_U
public com.liferay.portlet.social.model.SocialEquityUser findByG_U(long groupId,
long userId)
throws com.liferay.portlet.social.NoSuchEquityUserException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
findByG_U
in interface com.liferay.portlet.social.service.persistence.SocialEquityUserPersistence
- Throws:
com.liferay.portlet.social.NoSuchEquityUserException
com.liferay.portal.kernel.exception.SystemException
fetchByG_U
public com.liferay.portlet.social.model.SocialEquityUser fetchByG_U(long groupId,
long userId)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
fetchByG_U
in interface com.liferay.portlet.social.service.persistence.SocialEquityUserPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
fetchByG_U
public com.liferay.portlet.social.model.SocialEquityUser fetchByG_U(long groupId,
long userId,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
fetchByG_U
in interface com.liferay.portlet.social.service.persistence.SocialEquityUserPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
public java.util.List<com.liferay.portlet.social.model.SocialEquityUser> findAll()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
findAll
in interface com.liferay.portlet.social.service.persistence.SocialEquityUserPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
public java.util.List<com.liferay.portlet.social.model.SocialEquityUser> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
findAll
in interface com.liferay.portlet.social.service.persistence.SocialEquityUserPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
public java.util.List<com.liferay.portlet.social.model.SocialEquityUser> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
findAll
in interface com.liferay.portlet.social.service.persistence.SocialEquityUserPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByUserId
public void removeByUserId(long userId)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
removeByUserId
in interface com.liferay.portlet.social.service.persistence.SocialEquityUserPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByG_U
public void removeByG_U(long groupId,
long userId)
throws com.liferay.portlet.social.NoSuchEquityUserException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
removeByG_U
in interface com.liferay.portlet.social.service.persistence.SocialEquityUserPersistence
- Throws:
com.liferay.portlet.social.NoSuchEquityUserException
com.liferay.portal.kernel.exception.SystemException
removeAll
public void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
removeAll
in interface com.liferay.portlet.social.service.persistence.SocialEquityUserPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByUserId
public int countByUserId(long userId)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
countByUserId
in interface com.liferay.portlet.social.service.persistence.SocialEquityUserPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByG_U
public int countByG_U(long groupId,
long userId)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
countByG_U
in interface com.liferay.portlet.social.service.persistence.SocialEquityUserPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
countAll
public int countAll()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
countAll
in interface com.liferay.portlet.social.service.persistence.SocialEquityUserPersistence
- Throws:
com.liferay.portal.kernel.exception.SystemException
afterPropertiesSet
public void afterPropertiesSet()