Liferay 6.0.5

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

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<SocialEquityLog>
      extended by com.liferay.portlet.social.service.persistence.SocialEquityLogPersistenceImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<SocialEquityLog>, SocialEquityLogPersistence

public class SocialEquityLogPersistenceImpl
extends BasePersistenceImpl<SocialEquityLog>
implements SocialEquityLogPersistence

The persistence implementation for the social equity log service.

Never modify or reference this class directly. Always use SocialEquityLogUtil to access the social equity log persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class.

Caching information and settings can be found in portal.properties

See Also:
SocialEquityLogPersistence, SocialEquityLogUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Field Summary
protected  AssetEntryPersistence assetEntryPersistence
           
static String FINDER_CLASS_NAME_ENTITY
           
static String FINDER_CLASS_NAME_LIST
           
static FinderPath FINDER_PATH_COUNT_ALL
           
static FinderPath FINDER_PATH_COUNT_BY_AEI_AID_A_T
           
static FinderPath FINDER_PATH_COUNT_BY_AEI_AID_AD_A_T
           
static FinderPath FINDER_PATH_COUNT_BY_AEI_T_A
           
static FinderPath FINDER_PATH_COUNT_BY_U_AEI_AID_AD_A_T
           
static FinderPath FINDER_PATH_COUNT_BY_U_AID_A_T
           
static FinderPath FINDER_PATH_COUNT_BY_U_AID_AD_A_T
           
static FinderPath FINDER_PATH_FETCH_BY_U_AEI_AID_AD_A_T
           
static FinderPath FINDER_PATH_FIND_ALL
           
static FinderPath FINDER_PATH_FIND_BY_AEI_AID_A_T
           
static FinderPath FINDER_PATH_FIND_BY_AEI_AID_AD_A_T
           
static FinderPath FINDER_PATH_FIND_BY_AEI_T_A
           
static FinderPath FINDER_PATH_FIND_BY_U_AID_A_T
           
static FinderPath FINDER_PATH_FIND_BY_U_AID_AD_A_T
           
protected  ResourcePersistence resourcePersistence
           
protected  SocialActivityPersistence socialActivityPersistence
           
protected  SocialEquityAssetEntryPersistence socialEquityAssetEntryPersistence
           
protected  SocialEquityHistoryPersistence socialEquityHistoryPersistence
           
protected  SocialEquityLogPersistence socialEquityLogPersistence
           
protected  SocialEquitySettingPersistence socialEquitySettingPersistence
           
protected  SocialEquityUserPersistence socialEquityUserPersistence
           
protected  SocialRelationPersistence socialRelationPersistence
           
protected  SocialRequestPersistence socialRequestPersistence
           
protected  UserPersistence userPersistence
           
 
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, WHERE_OR
 
Constructor Summary
SocialEquityLogPersistenceImpl()
           
 
Method Summary
 void afterPropertiesSet()
          Initializes the social equity log persistence.
 void cacheResult(List<SocialEquityLog> socialEquityLogs)
          Caches the social equity logs in the entity cache if it is enabled.
 void cacheResult(SocialEquityLog socialEquityLog)
          Caches the social equity log in the entity cache if it is enabled.
 void clearCache()
          Clears the cache for all social equity logs.
 void clearCache(SocialEquityLog socialEquityLog)
          Clears the cache for the social equity log.
 int countAll()
          Counts all the social equity logs.
 int countByAEI_AID_A_T(long assetEntryId, String actionId, boolean active, int type)
          Counts all the social equity logs where assetEntryId = ? and actionId = ? and active = ? and type = ?.
 int countByAEI_AID_AD_A_T(long assetEntryId, String actionId, int actionDate, boolean active, int type)
          Counts all the social equity logs where assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ?.
 int countByAEI_T_A(long assetEntryId, int type, boolean active)
          Counts all the social equity logs where assetEntryId = ? and type = ? and active = ?.
 int countByU_AEI_AID_AD_A_T(long userId, long assetEntryId, String actionId, int actionDate, boolean active, int type)
          Counts all the social equity logs where userId = ? and assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ?.
 int countByU_AID_A_T(long userId, String actionId, boolean active, int type)
          Counts all the social equity logs where userId = ? and actionId = ? and active = ? and type = ?.
 int countByU_AID_AD_A_T(long userId, String actionId, int actionDate, boolean active, int type)
          Counts all the social equity logs where userId = ? and actionId = ? and actionDate = ? and active = ? and type = ?.
 SocialEquityLog create(long equityLogId)
          Creates a new social equity log with the primary key.
 SocialEquityLog fetchByPrimaryKey(long equityLogId)
          Finds the social equity log with the primary key or returns null if it could not be found.
 SocialEquityLog fetchByPrimaryKey(Serializable primaryKey)
          Finds the social equity log with the primary key or returns null if it could not be found.
 SocialEquityLog fetchByU_AEI_AID_AD_A_T(long userId, long assetEntryId, String actionId, int actionDate, boolean active, int type)
          Finds the social equity log where userId = ? and assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? or returns null if it could not be found.
 SocialEquityLog fetchByU_AEI_AID_AD_A_T(long userId, long assetEntryId, String actionId, int actionDate, boolean active, int type, boolean retrieveFromCache)
          Finds the social equity log where userId = ? and assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? or returns null if it could not be found, optionally using the finder cache.
 List<SocialEquityLog> findAll()
          Finds all the social equity logs.
 List<SocialEquityLog> findAll(int start, int end)
          Finds a range of all the social equity logs.
 List<SocialEquityLog> findAll(int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the social equity logs.
 SocialEquityLog findByAEI_AID_A_T_First(long assetEntryId, String actionId, boolean active, int type, OrderByComparator orderByComparator)
          Finds the first social equity log in the ordered set where assetEntryId = ? and actionId = ? and active = ? and type = ?.
 SocialEquityLog findByAEI_AID_A_T_Last(long assetEntryId, String actionId, boolean active, int type, OrderByComparator orderByComparator)
          Finds the last social equity log in the ordered set where assetEntryId = ? and actionId = ? and active = ? and type = ?.
 SocialEquityLog[] findByAEI_AID_A_T_PrevAndNext(long equityLogId, long assetEntryId, String actionId, boolean active, int type, OrderByComparator orderByComparator)
          Finds the social equity logs before and after the current social equity log in the ordered set where assetEntryId = ? and actionId = ? and active = ? and type = ?.
 List<SocialEquityLog> findByAEI_AID_A_T(long assetEntryId, String actionId, boolean active, int type)
          Finds all the social equity logs where assetEntryId = ? and actionId = ? and active = ? and type = ?.
 List<SocialEquityLog> findByAEI_AID_A_T(long assetEntryId, String actionId, boolean active, int type, int start, int end)
          Finds a range of all the social equity logs where assetEntryId = ? and actionId = ? and active = ? and type = ?.
 List<SocialEquityLog> findByAEI_AID_A_T(long assetEntryId, String actionId, boolean active, int type, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the social equity logs where assetEntryId = ? and actionId = ? and active = ? and type = ?.
 SocialEquityLog findByAEI_AID_AD_A_T_First(long assetEntryId, String actionId, int actionDate, boolean active, int type, OrderByComparator orderByComparator)
          Finds the first social equity log in the ordered set where assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ?.
 SocialEquityLog findByAEI_AID_AD_A_T_Last(long assetEntryId, String actionId, int actionDate, boolean active, int type, OrderByComparator orderByComparator)
          Finds the last social equity log in the ordered set where assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ?.
 SocialEquityLog[] findByAEI_AID_AD_A_T_PrevAndNext(long equityLogId, long assetEntryId, String actionId, int actionDate, boolean active, int type, OrderByComparator orderByComparator)
          Finds the social equity logs before and after the current social equity log in the ordered set where assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ?.
 List<SocialEquityLog> findByAEI_AID_AD_A_T(long assetEntryId, String actionId, int actionDate, boolean active, int type)
          Finds all the social equity logs where assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ?.
 List<SocialEquityLog> findByAEI_AID_AD_A_T(long assetEntryId, String actionId, int actionDate, boolean active, int type, int start, int end)
          Finds a range of all the social equity logs where assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ?.
 List<SocialEquityLog> findByAEI_AID_AD_A_T(long assetEntryId, String actionId, int actionDate, boolean active, int type, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the social equity logs where assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ?.
 SocialEquityLog findByAEI_T_A_First(long assetEntryId, int type, boolean active, OrderByComparator orderByComparator)
          Finds the first social equity log in the ordered set where assetEntryId = ? and type = ? and active = ?.
 SocialEquityLog findByAEI_T_A_Last(long assetEntryId, int type, boolean active, OrderByComparator orderByComparator)
          Finds the last social equity log in the ordered set where assetEntryId = ? and type = ? and active = ?.
 SocialEquityLog[] findByAEI_T_A_PrevAndNext(long equityLogId, long assetEntryId, int type, boolean active, OrderByComparator orderByComparator)
          Finds the social equity logs before and after the current social equity log in the ordered set where assetEntryId = ? and type = ? and active = ?.
 List<SocialEquityLog> findByAEI_T_A(long assetEntryId, int type, boolean active)
          Finds all the social equity logs where assetEntryId = ? and type = ? and active = ?.
 List<SocialEquityLog> findByAEI_T_A(long assetEntryId, int type, boolean active, int start, int end)
          Finds a range of all the social equity logs where assetEntryId = ? and type = ? and active = ?.
 List<SocialEquityLog> findByAEI_T_A(long assetEntryId, int type, boolean active, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the social equity logs where assetEntryId = ? and type = ? and active = ?.
 SocialEquityLog findByPrimaryKey(long equityLogId)
          Finds the social equity log with the primary key or throws a NoSuchEquityLogException if it could not be found.
 SocialEquityLog findByPrimaryKey(Serializable primaryKey)
          Finds the social equity log with the primary key or throws a NoSuchModelException if it could not be found.
 SocialEquityLog findByU_AEI_AID_AD_A_T(long userId, long assetEntryId, String actionId, int actionDate, boolean active, int type)
          Finds the social equity log where userId = ? and assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? or throws a NoSuchEquityLogException if it could not be found.
 SocialEquityLog findByU_AID_A_T_First(long userId, String actionId, boolean active, int type, OrderByComparator orderByComparator)
          Finds the first social equity log in the ordered set where userId = ? and actionId = ? and active = ? and type = ?.
 SocialEquityLog findByU_AID_A_T_Last(long userId, String actionId, boolean active, int type, OrderByComparator orderByComparator)
          Finds the last social equity log in the ordered set where userId = ? and actionId = ? and active = ? and type = ?.
 SocialEquityLog[] findByU_AID_A_T_PrevAndNext(long equityLogId, long userId, String actionId, boolean active, int type, OrderByComparator orderByComparator)
          Finds the social equity logs before and after the current social equity log in the ordered set where userId = ? and actionId = ? and active = ? and type = ?.
 List<SocialEquityLog> findByU_AID_A_T(long userId, String actionId, boolean active, int type)
          Finds all the social equity logs where userId = ? and actionId = ? and active = ? and type = ?.
 List<SocialEquityLog> findByU_AID_A_T(long userId, String actionId, boolean active, int type, int start, int end)
          Finds a range of all the social equity logs where userId = ? and actionId = ? and active = ? and type = ?.
 List<SocialEquityLog> findByU_AID_A_T(long userId, String actionId, boolean active, int type, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the social equity logs where userId = ? and actionId = ? and active = ? and type = ?.
 SocialEquityLog findByU_AID_AD_A_T_First(long userId, String actionId, int actionDate, boolean active, int type, OrderByComparator orderByComparator)
          Finds the first social equity log in the ordered set where userId = ? and actionId = ? and actionDate = ? and active = ? and type = ?.
 SocialEquityLog findByU_AID_AD_A_T_Last(long userId, String actionId, int actionDate, boolean active, int type, OrderByComparator orderByComparator)
          Finds the last social equity log in the ordered set where userId = ? and actionId = ? and actionDate = ? and active = ? and type = ?.
 SocialEquityLog[] findByU_AID_AD_A_T_PrevAndNext(long equityLogId, long userId, String actionId, int actionDate, boolean active, int type, OrderByComparator orderByComparator)
          Finds the social equity logs before and after the current social equity log in the ordered set where userId = ? and actionId = ? and actionDate = ? and active = ? and type = ?.
 List<SocialEquityLog> findByU_AID_AD_A_T(long userId, String actionId, int actionDate, boolean active, int type)
          Finds all the social equity logs where userId = ? and actionId = ? and actionDate = ? and active = ? and type = ?.
 List<SocialEquityLog> findByU_AID_AD_A_T(long userId, String actionId, int actionDate, boolean active, int type, int start, int end)
          Finds a range of all the social equity logs where userId = ? and actionId = ? and actionDate = ? and active = ? and type = ?.
 List<SocialEquityLog> findByU_AID_AD_A_T(long userId, String actionId, int actionDate, boolean active, int type, int start, int end, OrderByComparator orderByComparator)
          Finds an ordered range of all the social equity logs where userId = ? and actionId = ? and actionDate = ? and active = ? and type = ?.
protected  SocialEquityLog getByAEI_AID_A_T_PrevAndNext(Session session, SocialEquityLog socialEquityLog, long assetEntryId, String actionId, boolean active, int type, OrderByComparator orderByComparator, boolean previous)
           
protected  SocialEquityLog getByAEI_AID_AD_A_T_PrevAndNext(Session session, SocialEquityLog socialEquityLog, long assetEntryId, String actionId, int actionDate, boolean active, int type, OrderByComparator orderByComparator, boolean previous)
           
protected  SocialEquityLog getByAEI_T_A_PrevAndNext(Session session, SocialEquityLog socialEquityLog, long assetEntryId, int type, boolean active, OrderByComparator orderByComparator, boolean previous)
           
protected  SocialEquityLog getByU_AID_A_T_PrevAndNext(Session session, SocialEquityLog socialEquityLog, long userId, String actionId, boolean active, int type, OrderByComparator orderByComparator, boolean previous)
           
protected  SocialEquityLog getByU_AID_AD_A_T_PrevAndNext(Session session, SocialEquityLog socialEquityLog, long userId, String actionId, int actionDate, boolean active, int type, OrderByComparator orderByComparator, boolean previous)
           
 SocialEquityLog remove(long equityLogId)
          Removes the social equity log with the primary key from the database.
 SocialEquityLog remove(Serializable primaryKey)
          Removes the social equity log with the primary key from the database.
 void removeAll()
          Removes all the social equity logs from the database.
 void removeByAEI_AID_A_T(long assetEntryId, String actionId, boolean active, int type)
          Removes all the social equity logs where assetEntryId = ? and actionId = ? and active = ? and type = ? from the database.
 void removeByAEI_AID_AD_A_T(long assetEntryId, String actionId, int actionDate, boolean active, int type)
          Removes all the social equity logs where assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? from the database.
 void removeByAEI_T_A(long assetEntryId, int type, boolean active)
          Removes all the social equity logs where assetEntryId = ? and type = ? and active = ? from the database.
 void removeByU_AEI_AID_AD_A_T(long userId, long assetEntryId, String actionId, int actionDate, boolean active, int type)
          Removes the social equity log where userId = ? and assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? from the database.
 void removeByU_AID_A_T(long userId, String actionId, boolean active, int type)
          Removes all the social equity logs where userId = ? and actionId = ? and active = ? and type = ? from the database.
 void removeByU_AID_AD_A_T(long userId, String actionId, int actionDate, boolean active, int type)
          Removes all the social equity logs where userId = ? and actionId = ? and actionDate = ? and active = ? and type = ? from the database.
protected  SocialEquityLog removeImpl(SocialEquityLog socialEquityLog)
          Removes the model instance from the database.
protected  SocialEquityLog toUnwrappedModel(SocialEquityLog socialEquityLog)
           
 SocialEquityLog updateImpl(SocialEquityLog socialEquityLog, boolean merge)
          Updates the model instance in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, 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, remove, setDataSource, unregisterListener, update, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST

public static final String FINDER_CLASS_NAME_LIST

FINDER_PATH_FIND_BY_AEI_T_A

public static final FinderPath FINDER_PATH_FIND_BY_AEI_T_A

FINDER_PATH_COUNT_BY_AEI_T_A

public static final FinderPath FINDER_PATH_COUNT_BY_AEI_T_A

FINDER_PATH_FIND_BY_U_AID_A_T

public static final FinderPath FINDER_PATH_FIND_BY_U_AID_A_T

FINDER_PATH_COUNT_BY_U_AID_A_T

public static final FinderPath FINDER_PATH_COUNT_BY_U_AID_A_T

FINDER_PATH_FIND_BY_AEI_AID_A_T

public static final FinderPath FINDER_PATH_FIND_BY_AEI_AID_A_T

FINDER_PATH_COUNT_BY_AEI_AID_A_T

public static final FinderPath FINDER_PATH_COUNT_BY_AEI_AID_A_T

FINDER_PATH_FIND_BY_U_AID_AD_A_T

public static final FinderPath FINDER_PATH_FIND_BY_U_AID_AD_A_T

FINDER_PATH_COUNT_BY_U_AID_AD_A_T

public static final FinderPath FINDER_PATH_COUNT_BY_U_AID_AD_A_T

FINDER_PATH_FIND_BY_AEI_AID_AD_A_T

public static final FinderPath FINDER_PATH_FIND_BY_AEI_AID_AD_A_T

FINDER_PATH_COUNT_BY_AEI_AID_AD_A_T

public static final FinderPath FINDER_PATH_COUNT_BY_AEI_AID_AD_A_T

FINDER_PATH_FETCH_BY_U_AEI_AID_AD_A_T

public static final FinderPath FINDER_PATH_FETCH_BY_U_AEI_AID_AD_A_T

FINDER_PATH_COUNT_BY_U_AEI_AID_AD_A_T

public static final FinderPath FINDER_PATH_COUNT_BY_U_AEI_AID_AD_A_T

FINDER_PATH_FIND_ALL

public static final FinderPath FINDER_PATH_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final FinderPath FINDER_PATH_COUNT_ALL

socialActivityPersistence

@BeanReference(type=SocialActivityPersistence.class)
protected SocialActivityPersistence socialActivityPersistence

socialEquityAssetEntryPersistence

@BeanReference(type=SocialEquityAssetEntryPersistence.class)
protected SocialEquityAssetEntryPersistence socialEquityAssetEntryPersistence

socialEquityHistoryPersistence

@BeanReference(type=SocialEquityHistoryPersistence.class)
protected SocialEquityHistoryPersistence socialEquityHistoryPersistence

socialEquityLogPersistence

@BeanReference(type=SocialEquityLogPersistence.class)
protected SocialEquityLogPersistence socialEquityLogPersistence

socialEquitySettingPersistence

@BeanReference(type=SocialEquitySettingPersistence.class)
protected SocialEquitySettingPersistence socialEquitySettingPersistence

socialEquityUserPersistence

@BeanReference(type=SocialEquityUserPersistence.class)
protected SocialEquityUserPersistence socialEquityUserPersistence

socialRelationPersistence

@BeanReference(type=SocialRelationPersistence.class)
protected SocialRelationPersistence socialRelationPersistence

socialRequestPersistence

@BeanReference(type=SocialRequestPersistence.class)
protected SocialRequestPersistence socialRequestPersistence

resourcePersistence

@BeanReference(type=ResourcePersistence.class)
protected ResourcePersistence resourcePersistence

userPersistence

@BeanReference(type=UserPersistence.class)
protected UserPersistence userPersistence

assetEntryPersistence

@BeanReference(type=AssetEntryPersistence.class)
protected AssetEntryPersistence assetEntryPersistence
Constructor Detail

SocialEquityLogPersistenceImpl

public SocialEquityLogPersistenceImpl()
Method Detail

cacheResult

public void cacheResult(SocialEquityLog socialEquityLog)
Caches the social equity log in the entity cache if it is enabled.

Specified by:
cacheResult in interface SocialEquityLogPersistence
Parameters:
socialEquityLog - the social equity log to cache

cacheResult

public void cacheResult(List<SocialEquityLog> socialEquityLogs)
Caches the social equity logs in the entity cache if it is enabled.

Specified by:
cacheResult in interface SocialEquityLogPersistence
Parameters:
socialEquityLogs - the social equity logs to cache

clearCache

public void clearCache()
Clears the cache for all social equity logs.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<SocialEquityLog>
Overrides:
clearCache in class BasePersistenceImpl<SocialEquityLog>

clearCache

public void clearCache(SocialEquityLog socialEquityLog)
Clears the cache for the social equity log.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<SocialEquityLog>
Overrides:
clearCache in class BasePersistenceImpl<SocialEquityLog>
Parameters:
socialEquityLog - the instance of this model to clear the cache for

create

public SocialEquityLog create(long equityLogId)
Creates a new social equity log with the primary key. Does not add the social equity log to the database.

Specified by:
create in interface SocialEquityLogPersistence
Parameters:
equityLogId - the primary key for the new social equity log
Returns:
the new social equity log

remove

public SocialEquityLog remove(Serializable primaryKey)
                       throws NoSuchModelException,
                              SystemException
Removes the social equity log with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface BasePersistence<SocialEquityLog>
Overrides:
remove in class BasePersistenceImpl<SocialEquityLog>
Parameters:
primaryKey - the primary key of the social equity log to remove
Returns:
the social equity log that was removed
Throws:
NoSuchModelException - if a social equity log with the primary key could not be found
SystemException - if a system exception occurred

remove

public SocialEquityLog remove(long equityLogId)
                       throws NoSuchEquityLogException,
                              SystemException
Removes the social equity log with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface SocialEquityLogPersistence
Parameters:
equityLogId - the primary key of the social equity log to remove
Returns:
the social equity log that was removed
Throws:
NoSuchEquityLogException - if a social equity log with the primary key could not be found
SystemException - if a system exception occurred

removeImpl

protected SocialEquityLog removeImpl(SocialEquityLog socialEquityLog)
                              throws SystemException
Description copied from class: BasePersistenceImpl
Removes the model instance from the database. BasePersistenceImpl.update(BaseModel, boolean) depends on this method to implement the remove operation; it only notifies the model listeners.

Overrides:
removeImpl in class BasePersistenceImpl<SocialEquityLog>
Parameters:
socialEquityLog - the model instance to remove
Returns:
the model instance that was removed
Throws:
SystemException - if a system exception occurred

updateImpl

public SocialEquityLog updateImpl(SocialEquityLog socialEquityLog,
                                  boolean merge)
                           throws SystemException
Description copied from class: BasePersistenceImpl
Updates the model instance in the database or adds it if it does not yet exist. BasePersistenceImpl.remove(BaseModel) depends on this method to implement the update operation; it only notifies the model listeners.

Specified by:
updateImpl in interface SocialEquityLogPersistence
Overrides:
updateImpl in class BasePersistenceImpl<SocialEquityLog>
Parameters:
socialEquityLog - the model instance to update
merge - whether to merge the model instance with the current session. See BatchSession.update( com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean) for an explanation.
Returns:
the model instance that was updated
Throws:
SystemException - if a system exception occurred

toUnwrappedModel

protected SocialEquityLog toUnwrappedModel(SocialEquityLog socialEquityLog)

findByPrimaryKey

public SocialEquityLog findByPrimaryKey(Serializable primaryKey)
                                 throws NoSuchModelException,
                                        SystemException
Finds the social equity log with the primary key or throws a NoSuchModelException if it could not be found.

Specified by:
findByPrimaryKey in interface BasePersistence<SocialEquityLog>
Overrides:
findByPrimaryKey in class BasePersistenceImpl<SocialEquityLog>
Parameters:
primaryKey - the primary key of the social equity log to find
Returns:
the social equity log
Throws:
NoSuchModelException - if a social equity log with the primary key could not be found
SystemException - if a system exception occurred

findByPrimaryKey

public SocialEquityLog findByPrimaryKey(long equityLogId)
                                 throws NoSuchEquityLogException,
                                        SystemException
Finds the social equity log with the primary key or throws a NoSuchEquityLogException if it could not be found.

Specified by:
findByPrimaryKey in interface SocialEquityLogPersistence
Parameters:
equityLogId - the primary key of the social equity log to find
Returns:
the social equity log
Throws:
NoSuchEquityLogException - if a social equity log with the primary key could not be found
SystemException - if a system exception occurred

fetchByPrimaryKey

public SocialEquityLog fetchByPrimaryKey(Serializable primaryKey)
                                  throws SystemException
Finds the social equity log with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface BasePersistence<SocialEquityLog>
Overrides:
fetchByPrimaryKey in class BasePersistenceImpl<SocialEquityLog>
Parameters:
primaryKey - the primary key of the social equity log to find
Returns:
the social equity log, or null if a social equity log with the primary key could not be found
Throws:
SystemException - if a system exception occurred

fetchByPrimaryKey

public SocialEquityLog fetchByPrimaryKey(long equityLogId)
                                  throws SystemException
Finds the social equity log with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface SocialEquityLogPersistence
Parameters:
equityLogId - the primary key of the social equity log to find
Returns:
the social equity log, or null if a social equity log with the primary key could not be found
Throws:
SystemException - if a system exception occurred

findByAEI_T_A

public List<SocialEquityLog> findByAEI_T_A(long assetEntryId,
                                           int type,
                                           boolean active)
                                    throws SystemException
Finds all the social equity logs where assetEntryId = ? and type = ? and active = ?.

Specified by:
findByAEI_T_A in interface SocialEquityLogPersistence
Parameters:
assetEntryId - the asset entry id to search with
type - the type to search with
active - the active to search with
Returns:
the matching social equity logs
Throws:
SystemException - if a system exception occurred

findByAEI_T_A

public List<SocialEquityLog> findByAEI_T_A(long assetEntryId,
                                           int type,
                                           boolean active,
                                           int start,
                                           int end)
                                    throws SystemException
Finds a range of all the social equity logs where assetEntryId = ? and type = ? and active = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByAEI_T_A in interface SocialEquityLogPersistence
Parameters:
assetEntryId - the asset entry id to search with
type - the type to search with
active - the active to search with
start - the lower bound of the range of social equity logs to return
end - the upper bound of the range of social equity logs to return (not inclusive)
Returns:
the range of matching social equity logs
Throws:
SystemException - if a system exception occurred

findByAEI_T_A

public List<SocialEquityLog> findByAEI_T_A(long assetEntryId,
                                           int type,
                                           boolean active,
                                           int start,
                                           int end,
                                           OrderByComparator orderByComparator)
                                    throws SystemException
Finds an ordered range of all the social equity logs where assetEntryId = ? and type = ? and active = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByAEI_T_A in interface SocialEquityLogPersistence
Parameters:
assetEntryId - the asset entry id to search with
type - the type to search with
active - the active to search with
start - the lower bound of the range of social equity logs to return
end - the upper bound of the range of social equity logs to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching social equity logs
Throws:
SystemException - if a system exception occurred

findByAEI_T_A_First

public SocialEquityLog findByAEI_T_A_First(long assetEntryId,
                                           int type,
                                           boolean active,
                                           OrderByComparator orderByComparator)
                                    throws NoSuchEquityLogException,
                                           SystemException
Finds the first social equity log in the ordered set where assetEntryId = ? and type = ? and active = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByAEI_T_A_First in interface SocialEquityLogPersistence
Parameters:
assetEntryId - the asset entry id to search with
type - the type to search with
active - the active to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching social equity log
Throws:
NoSuchEquityLogException - if a matching social equity log could not be found
SystemException - if a system exception occurred

findByAEI_T_A_Last

public SocialEquityLog findByAEI_T_A_Last(long assetEntryId,
                                          int type,
                                          boolean active,
                                          OrderByComparator orderByComparator)
                                   throws NoSuchEquityLogException,
                                          SystemException
Finds the last social equity log in the ordered set where assetEntryId = ? and type = ? and active = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByAEI_T_A_Last in interface SocialEquityLogPersistence
Parameters:
assetEntryId - the asset entry id to search with
type - the type to search with
active - the active to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching social equity log
Throws:
NoSuchEquityLogException - if a matching social equity log could not be found
SystemException - if a system exception occurred

findByAEI_T_A_PrevAndNext

public SocialEquityLog[] findByAEI_T_A_PrevAndNext(long equityLogId,
                                                   long assetEntryId,
                                                   int type,
                                                   boolean active,
                                                   OrderByComparator orderByComparator)
                                            throws NoSuchEquityLogException,
                                                   SystemException
Finds the social equity logs before and after the current social equity log in the ordered set where assetEntryId = ? and type = ? and active = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByAEI_T_A_PrevAndNext in interface SocialEquityLogPersistence
Parameters:
equityLogId - the primary key of the current social equity log
assetEntryId - the asset entry id to search with
type - the type to search with
active - the active to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next social equity log
Throws:
NoSuchEquityLogException - if a social equity log with the primary key could not be found
SystemException - if a system exception occurred

getByAEI_T_A_PrevAndNext

protected SocialEquityLog getByAEI_T_A_PrevAndNext(Session session,
                                                   SocialEquityLog socialEquityLog,
                                                   long assetEntryId,
                                                   int type,
                                                   boolean active,
                                                   OrderByComparator orderByComparator,
                                                   boolean previous)

findByU_AID_A_T

public List<SocialEquityLog> findByU_AID_A_T(long userId,
                                             String actionId,
                                             boolean active,
                                             int type)
                                      throws SystemException
Finds all the social equity logs where userId = ? and actionId = ? and active = ? and type = ?.

Specified by:
findByU_AID_A_T in interface SocialEquityLogPersistence
Parameters:
userId - the user id to search with
actionId - the action id to search with
active - the active to search with
type - the type to search with
Returns:
the matching social equity logs
Throws:
SystemException - if a system exception occurred

findByU_AID_A_T

public List<SocialEquityLog> findByU_AID_A_T(long userId,
                                             String actionId,
                                             boolean active,
                                             int type,
                                             int start,
                                             int end)
                                      throws SystemException
Finds a range of all the social equity logs where userId = ? and actionId = ? and active = ? and type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByU_AID_A_T in interface SocialEquityLogPersistence
Parameters:
userId - the user id to search with
actionId - the action id to search with
active - the active to search with
type - the type to search with
start - the lower bound of the range of social equity logs to return
end - the upper bound of the range of social equity logs to return (not inclusive)
Returns:
the range of matching social equity logs
Throws:
SystemException - if a system exception occurred

findByU_AID_A_T

public List<SocialEquityLog> findByU_AID_A_T(long userId,
                                             String actionId,
                                             boolean active,
                                             int type,
                                             int start,
                                             int end,
                                             OrderByComparator orderByComparator)
                                      throws SystemException
Finds an ordered range of all the social equity logs where userId = ? and actionId = ? and active = ? and type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByU_AID_A_T in interface SocialEquityLogPersistence
Parameters:
userId - the user id to search with
actionId - the action id to search with
active - the active to search with
type - the type to search with
start - the lower bound of the range of social equity logs to return
end - the upper bound of the range of social equity logs to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching social equity logs
Throws:
SystemException - if a system exception occurred

findByU_AID_A_T_First

public SocialEquityLog findByU_AID_A_T_First(long userId,
                                             String actionId,
                                             boolean active,
                                             int type,
                                             OrderByComparator orderByComparator)
                                      throws NoSuchEquityLogException,
                                             SystemException
Finds the first social equity log in the ordered set where userId = ? and actionId = ? and active = ? and type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByU_AID_A_T_First in interface SocialEquityLogPersistence
Parameters:
userId - the user id to search with
actionId - the action id to search with
active - the active to search with
type - the type to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching social equity log
Throws:
NoSuchEquityLogException - if a matching social equity log could not be found
SystemException - if a system exception occurred

findByU_AID_A_T_Last

public SocialEquityLog findByU_AID_A_T_Last(long userId,
                                            String actionId,
                                            boolean active,
                                            int type,
                                            OrderByComparator orderByComparator)
                                     throws NoSuchEquityLogException,
                                            SystemException
Finds the last social equity log in the ordered set where userId = ? and actionId = ? and active = ? and type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByU_AID_A_T_Last in interface SocialEquityLogPersistence
Parameters:
userId - the user id to search with
actionId - the action id to search with
active - the active to search with
type - the type to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching social equity log
Throws:
NoSuchEquityLogException - if a matching social equity log could not be found
SystemException - if a system exception occurred

findByU_AID_A_T_PrevAndNext

public SocialEquityLog[] findByU_AID_A_T_PrevAndNext(long equityLogId,
                                                     long userId,
                                                     String actionId,
                                                     boolean active,
                                                     int type,
                                                     OrderByComparator orderByComparator)
                                              throws NoSuchEquityLogException,
                                                     SystemException
Finds the social equity logs before and after the current social equity log in the ordered set where userId = ? and actionId = ? and active = ? and type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByU_AID_A_T_PrevAndNext in interface SocialEquityLogPersistence
Parameters:
equityLogId - the primary key of the current social equity log
userId - the user id to search with
actionId - the action id to search with
active - the active to search with
type - the type to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next social equity log
Throws:
NoSuchEquityLogException - if a social equity log with the primary key could not be found
SystemException - if a system exception occurred

getByU_AID_A_T_PrevAndNext

protected SocialEquityLog getByU_AID_A_T_PrevAndNext(Session session,
                                                     SocialEquityLog socialEquityLog,
                                                     long userId,
                                                     String actionId,
                                                     boolean active,
                                                     int type,
                                                     OrderByComparator orderByComparator,
                                                     boolean previous)

findByAEI_AID_A_T

public List<SocialEquityLog> findByAEI_AID_A_T(long assetEntryId,
                                               String actionId,
                                               boolean active,
                                               int type)
                                        throws SystemException
Finds all the social equity logs where assetEntryId = ? and actionId = ? and active = ? and type = ?.

Specified by:
findByAEI_AID_A_T in interface SocialEquityLogPersistence
Parameters:
assetEntryId - the asset entry id to search with
actionId - the action id to search with
active - the active to search with
type - the type to search with
Returns:
the matching social equity logs
Throws:
SystemException - if a system exception occurred

findByAEI_AID_A_T

public List<SocialEquityLog> findByAEI_AID_A_T(long assetEntryId,
                                               String actionId,
                                               boolean active,
                                               int type,
                                               int start,
                                               int end)
                                        throws SystemException
Finds a range of all the social equity logs where assetEntryId = ? and actionId = ? and active = ? and type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByAEI_AID_A_T in interface SocialEquityLogPersistence
Parameters:
assetEntryId - the asset entry id to search with
actionId - the action id to search with
active - the active to search with
type - the type to search with
start - the lower bound of the range of social equity logs to return
end - the upper bound of the range of social equity logs to return (not inclusive)
Returns:
the range of matching social equity logs
Throws:
SystemException - if a system exception occurred

findByAEI_AID_A_T

public List<SocialEquityLog> findByAEI_AID_A_T(long assetEntryId,
                                               String actionId,
                                               boolean active,
                                               int type,
                                               int start,
                                               int end,
                                               OrderByComparator orderByComparator)
                                        throws SystemException
Finds an ordered range of all the social equity logs where assetEntryId = ? and actionId = ? and active = ? and type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByAEI_AID_A_T in interface SocialEquityLogPersistence
Parameters:
assetEntryId - the asset entry id to search with
actionId - the action id to search with
active - the active to search with
type - the type to search with
start - the lower bound of the range of social equity logs to return
end - the upper bound of the range of social equity logs to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching social equity logs
Throws:
SystemException - if a system exception occurred

findByAEI_AID_A_T_First

public SocialEquityLog findByAEI_AID_A_T_First(long assetEntryId,
                                               String actionId,
                                               boolean active,
                                               int type,
                                               OrderByComparator orderByComparator)
                                        throws NoSuchEquityLogException,
                                               SystemException
Finds the first social equity log in the ordered set where assetEntryId = ? and actionId = ? and active = ? and type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByAEI_AID_A_T_First in interface SocialEquityLogPersistence
Parameters:
assetEntryId - the asset entry id to search with
actionId - the action id to search with
active - the active to search with
type - the type to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching social equity log
Throws:
NoSuchEquityLogException - if a matching social equity log could not be found
SystemException - if a system exception occurred

findByAEI_AID_A_T_Last

public SocialEquityLog findByAEI_AID_A_T_Last(long assetEntryId,
                                              String actionId,
                                              boolean active,
                                              int type,
                                              OrderByComparator orderByComparator)
                                       throws NoSuchEquityLogException,
                                              SystemException
Finds the last social equity log in the ordered set where assetEntryId = ? and actionId = ? and active = ? and type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByAEI_AID_A_T_Last in interface SocialEquityLogPersistence
Parameters:
assetEntryId - the asset entry id to search with
actionId - the action id to search with
active - the active to search with
type - the type to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching social equity log
Throws:
NoSuchEquityLogException - if a matching social equity log could not be found
SystemException - if a system exception occurred

findByAEI_AID_A_T_PrevAndNext

public SocialEquityLog[] findByAEI_AID_A_T_PrevAndNext(long equityLogId,
                                                       long assetEntryId,
                                                       String actionId,
                                                       boolean active,
                                                       int type,
                                                       OrderByComparator orderByComparator)
                                                throws NoSuchEquityLogException,
                                                       SystemException
Finds the social equity logs before and after the current social equity log in the ordered set where assetEntryId = ? and actionId = ? and active = ? and type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByAEI_AID_A_T_PrevAndNext in interface SocialEquityLogPersistence
Parameters:
equityLogId - the primary key of the current social equity log
assetEntryId - the asset entry id to search with
actionId - the action id to search with
active - the active to search with
type - the type to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next social equity log
Throws:
NoSuchEquityLogException - if a social equity log with the primary key could not be found
SystemException - if a system exception occurred

getByAEI_AID_A_T_PrevAndNext

protected SocialEquityLog getByAEI_AID_A_T_PrevAndNext(Session session,
                                                       SocialEquityLog socialEquityLog,
                                                       long assetEntryId,
                                                       String actionId,
                                                       boolean active,
                                                       int type,
                                                       OrderByComparator orderByComparator,
                                                       boolean previous)

findByU_AID_AD_A_T

public List<SocialEquityLog> findByU_AID_AD_A_T(long userId,
                                                String actionId,
                                                int actionDate,
                                                boolean active,
                                                int type)
                                         throws SystemException
Finds all the social equity logs where userId = ? and actionId = ? and actionDate = ? and active = ? and type = ?.

Specified by:
findByU_AID_AD_A_T in interface SocialEquityLogPersistence
Parameters:
userId - the user id to search with
actionId - the action id to search with
actionDate - the action date to search with
active - the active to search with
type - the type to search with
Returns:
the matching social equity logs
Throws:
SystemException - if a system exception occurred

findByU_AID_AD_A_T

public List<SocialEquityLog> findByU_AID_AD_A_T(long userId,
                                                String actionId,
                                                int actionDate,
                                                boolean active,
                                                int type,
                                                int start,
                                                int end)
                                         throws SystemException
Finds a range of all the social equity logs where userId = ? and actionId = ? and actionDate = ? and active = ? and type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByU_AID_AD_A_T in interface SocialEquityLogPersistence
Parameters:
userId - the user id to search with
actionId - the action id to search with
actionDate - the action date to search with
active - the active to search with
type - the type to search with
start - the lower bound of the range of social equity logs to return
end - the upper bound of the range of social equity logs to return (not inclusive)
Returns:
the range of matching social equity logs
Throws:
SystemException - if a system exception occurred

findByU_AID_AD_A_T

public List<SocialEquityLog> findByU_AID_AD_A_T(long userId,
                                                String actionId,
                                                int actionDate,
                                                boolean active,
                                                int type,
                                                int start,
                                                int end,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Finds an ordered range of all the social equity logs where userId = ? and actionId = ? and actionDate = ? and active = ? and type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByU_AID_AD_A_T in interface SocialEquityLogPersistence
Parameters:
userId - the user id to search with
actionId - the action id to search with
actionDate - the action date to search with
active - the active to search with
type - the type to search with
start - the lower bound of the range of social equity logs to return
end - the upper bound of the range of social equity logs to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching social equity logs
Throws:
SystemException - if a system exception occurred

findByU_AID_AD_A_T_First

public SocialEquityLog findByU_AID_AD_A_T_First(long userId,
                                                String actionId,
                                                int actionDate,
                                                boolean active,
                                                int type,
                                                OrderByComparator orderByComparator)
                                         throws NoSuchEquityLogException,
                                                SystemException
Finds the first social equity log in the ordered set where userId = ? and actionId = ? and actionDate = ? and active = ? and type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByU_AID_AD_A_T_First in interface SocialEquityLogPersistence
Parameters:
userId - the user id to search with
actionId - the action id to search with
actionDate - the action date to search with
active - the active to search with
type - the type to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching social equity log
Throws:
NoSuchEquityLogException - if a matching social equity log could not be found
SystemException - if a system exception occurred

findByU_AID_AD_A_T_Last

public SocialEquityLog findByU_AID_AD_A_T_Last(long userId,
                                               String actionId,
                                               int actionDate,
                                               boolean active,
                                               int type,
                                               OrderByComparator orderByComparator)
                                        throws NoSuchEquityLogException,
                                               SystemException
Finds the last social equity log in the ordered set where userId = ? and actionId = ? and actionDate = ? and active = ? and type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByU_AID_AD_A_T_Last in interface SocialEquityLogPersistence
Parameters:
userId - the user id to search with
actionId - the action id to search with
actionDate - the action date to search with
active - the active to search with
type - the type to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching social equity log
Throws:
NoSuchEquityLogException - if a matching social equity log could not be found
SystemException - if a system exception occurred

findByU_AID_AD_A_T_PrevAndNext

public SocialEquityLog[] findByU_AID_AD_A_T_PrevAndNext(long equityLogId,
                                                        long userId,
                                                        String actionId,
                                                        int actionDate,
                                                        boolean active,
                                                        int type,
                                                        OrderByComparator orderByComparator)
                                                 throws NoSuchEquityLogException,
                                                        SystemException
Finds the social equity logs before and after the current social equity log in the ordered set where userId = ? and actionId = ? and actionDate = ? and active = ? and type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByU_AID_AD_A_T_PrevAndNext in interface SocialEquityLogPersistence
Parameters:
equityLogId - the primary key of the current social equity log
userId - the user id to search with
actionId - the action id to search with
actionDate - the action date to search with
active - the active to search with
type - the type to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next social equity log
Throws:
NoSuchEquityLogException - if a social equity log with the primary key could not be found
SystemException - if a system exception occurred

getByU_AID_AD_A_T_PrevAndNext

protected SocialEquityLog getByU_AID_AD_A_T_PrevAndNext(Session session,
                                                        SocialEquityLog socialEquityLog,
                                                        long userId,
                                                        String actionId,
                                                        int actionDate,
                                                        boolean active,
                                                        int type,
                                                        OrderByComparator orderByComparator,
                                                        boolean previous)

findByAEI_AID_AD_A_T

public List<SocialEquityLog> findByAEI_AID_AD_A_T(long assetEntryId,
                                                  String actionId,
                                                  int actionDate,
                                                  boolean active,
                                                  int type)
                                           throws SystemException
Finds all the social equity logs where assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ?.

Specified by:
findByAEI_AID_AD_A_T in interface SocialEquityLogPersistence
Parameters:
assetEntryId - the asset entry id to search with
actionId - the action id to search with
actionDate - the action date to search with
active - the active to search with
type - the type to search with
Returns:
the matching social equity logs
Throws:
SystemException - if a system exception occurred

findByAEI_AID_AD_A_T

public List<SocialEquityLog> findByAEI_AID_AD_A_T(long assetEntryId,
                                                  String actionId,
                                                  int actionDate,
                                                  boolean active,
                                                  int type,
                                                  int start,
                                                  int end)
                                           throws SystemException
Finds a range of all the social equity logs where assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByAEI_AID_AD_A_T in interface SocialEquityLogPersistence
Parameters:
assetEntryId - the asset entry id to search with
actionId - the action id to search with
actionDate - the action date to search with
active - the active to search with
type - the type to search with
start - the lower bound of the range of social equity logs to return
end - the upper bound of the range of social equity logs to return (not inclusive)
Returns:
the range of matching social equity logs
Throws:
SystemException - if a system exception occurred

findByAEI_AID_AD_A_T

public List<SocialEquityLog> findByAEI_AID_AD_A_T(long assetEntryId,
                                                  String actionId,
                                                  int actionDate,
                                                  boolean active,
                                                  int type,
                                                  int start,
                                                  int end,
                                                  OrderByComparator orderByComparator)
                                           throws SystemException
Finds an ordered range of all the social equity logs where assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByAEI_AID_AD_A_T in interface SocialEquityLogPersistence
Parameters:
assetEntryId - the asset entry id to search with
actionId - the action id to search with
actionDate - the action date to search with
active - the active to search with
type - the type to search with
start - the lower bound of the range of social equity logs to return
end - the upper bound of the range of social equity logs to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching social equity logs
Throws:
SystemException - if a system exception occurred

findByAEI_AID_AD_A_T_First

public SocialEquityLog findByAEI_AID_AD_A_T_First(long assetEntryId,
                                                  String actionId,
                                                  int actionDate,
                                                  boolean active,
                                                  int type,
                                                  OrderByComparator orderByComparator)
                                           throws NoSuchEquityLogException,
                                                  SystemException
Finds the first social equity log in the ordered set where assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByAEI_AID_AD_A_T_First in interface SocialEquityLogPersistence
Parameters:
assetEntryId - the asset entry id to search with
actionId - the action id to search with
actionDate - the action date to search with
active - the active to search with
type - the type to search with
orderByComparator - the comparator to order the set by
Returns:
the first matching social equity log
Throws:
NoSuchEquityLogException - if a matching social equity log could not be found
SystemException - if a system exception occurred

findByAEI_AID_AD_A_T_Last

public SocialEquityLog findByAEI_AID_AD_A_T_Last(long assetEntryId,
                                                 String actionId,
                                                 int actionDate,
                                                 boolean active,
                                                 int type,
                                                 OrderByComparator orderByComparator)
                                          throws NoSuchEquityLogException,
                                                 SystemException
Finds the last social equity log in the ordered set where assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByAEI_AID_AD_A_T_Last in interface SocialEquityLogPersistence
Parameters:
assetEntryId - the asset entry id to search with
actionId - the action id to search with
actionDate - the action date to search with
active - the active to search with
type - the type to search with
orderByComparator - the comparator to order the set by
Returns:
the last matching social equity log
Throws:
NoSuchEquityLogException - if a matching social equity log could not be found
SystemException - if a system exception occurred

findByAEI_AID_AD_A_T_PrevAndNext

public SocialEquityLog[] findByAEI_AID_AD_A_T_PrevAndNext(long equityLogId,
                                                          long assetEntryId,
                                                          String actionId,
                                                          int actionDate,
                                                          boolean active,
                                                          int type,
                                                          OrderByComparator orderByComparator)
                                                   throws NoSuchEquityLogException,
                                                          SystemException
Finds the social equity logs before and after the current social equity log in the ordered set where assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByAEI_AID_AD_A_T_PrevAndNext in interface SocialEquityLogPersistence
Parameters:
equityLogId - the primary key of the current social equity log
assetEntryId - the asset entry id to search with
actionId - the action id to search with
actionDate - the action date to search with
active - the active to search with
type - the type to search with
orderByComparator - the comparator to order the set by
Returns:
the previous, current, and next social equity log
Throws:
NoSuchEquityLogException - if a social equity log with the primary key could not be found
SystemException - if a system exception occurred

getByAEI_AID_AD_A_T_PrevAndNext

protected SocialEquityLog getByAEI_AID_AD_A_T_PrevAndNext(Session session,
                                                          SocialEquityLog socialEquityLog,
                                                          long assetEntryId,
                                                          String actionId,
                                                          int actionDate,
                                                          boolean active,
                                                          int type,
                                                          OrderByComparator orderByComparator,
                                                          boolean previous)

findByU_AEI_AID_AD_A_T

public SocialEquityLog findByU_AEI_AID_AD_A_T(long userId,
                                              long assetEntryId,
                                              String actionId,
                                              int actionDate,
                                              boolean active,
                                              int type)
                                       throws NoSuchEquityLogException,
                                              SystemException
Finds the social equity log where userId = ? and assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? or throws a NoSuchEquityLogException if it could not be found.

Specified by:
findByU_AEI_AID_AD_A_T in interface SocialEquityLogPersistence
Parameters:
userId - the user id to search with
assetEntryId - the asset entry id to search with
actionId - the action id to search with
actionDate - the action date to search with
active - the active to search with
type - the type to search with
Returns:
the matching social equity log
Throws:
NoSuchEquityLogException - if a matching social equity log could not be found
SystemException - if a system exception occurred

fetchByU_AEI_AID_AD_A_T

public SocialEquityLog fetchByU_AEI_AID_AD_A_T(long userId,
                                               long assetEntryId,
                                               String actionId,
                                               int actionDate,
                                               boolean active,
                                               int type)
                                        throws SystemException
Finds the social equity log where userId = ? and assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? or returns null if it could not be found. Uses the finder cache.

Specified by:
fetchByU_AEI_AID_AD_A_T in interface SocialEquityLogPersistence
Parameters:
userId - the user id to search with
assetEntryId - the asset entry id to search with
actionId - the action id to search with
actionDate - the action date to search with
active - the active to search with
type - the type to search with
Returns:
the matching social equity log, or null if a matching social equity log could not be found
Throws:
SystemException - if a system exception occurred

fetchByU_AEI_AID_AD_A_T

public SocialEquityLog fetchByU_AEI_AID_AD_A_T(long userId,
                                               long assetEntryId,
                                               String actionId,
                                               int actionDate,
                                               boolean active,
                                               int type,
                                               boolean retrieveFromCache)
                                        throws SystemException
Finds the social equity log where userId = ? and assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? or returns null if it could not be found, optionally using the finder cache.

Specified by:
fetchByU_AEI_AID_AD_A_T in interface SocialEquityLogPersistence
Parameters:
userId - the user id to search with
assetEntryId - the asset entry id to search with
actionId - the action id to search with
actionDate - the action date to search with
active - the active to search with
type - the type to search with
Returns:
the matching social equity log, or null if a matching social equity log could not be found
Throws:
SystemException - if a system exception occurred

findAll

public List<SocialEquityLog> findAll()
                              throws SystemException
Finds all the social equity logs.

Specified by:
findAll in interface SocialEquityLogPersistence
Returns:
the social equity logs
Throws:
SystemException - if a system exception occurred

findAll

public List<SocialEquityLog> findAll(int start,
                                     int end)
                              throws SystemException
Finds a range of all the social equity logs.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findAll in interface SocialEquityLogPersistence
Parameters:
start - the lower bound of the range of social equity logs to return
end - the upper bound of the range of social equity logs to return (not inclusive)
Returns:
the range of social equity logs
Throws:
SystemException - if a system exception occurred

findAll

public List<SocialEquityLog> findAll(int start,
                                     int end,
                                     OrderByComparator orderByComparator)
                              throws SystemException
Finds an ordered range of all the social equity logs.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findAll in interface SocialEquityLogPersistence
Parameters:
start - the lower bound of the range of social equity logs to return
end - the upper bound of the range of social equity logs to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of social equity logs
Throws:
SystemException - if a system exception occurred

removeByAEI_T_A

public void removeByAEI_T_A(long assetEntryId,
                            int type,
                            boolean active)
                     throws SystemException
Removes all the social equity logs where assetEntryId = ? and type = ? and active = ? from the database.

Specified by:
removeByAEI_T_A in interface SocialEquityLogPersistence
Parameters:
assetEntryId - the asset entry id to search with
type - the type to search with
active - the active to search with
Throws:
SystemException - if a system exception occurred

removeByU_AID_A_T

public void removeByU_AID_A_T(long userId,
                              String actionId,
                              boolean active,
                              int type)
                       throws SystemException
Removes all the social equity logs where userId = ? and actionId = ? and active = ? and type = ? from the database.

Specified by:
removeByU_AID_A_T in interface SocialEquityLogPersistence
Parameters:
userId - the user id to search with
actionId - the action id to search with
active - the active to search with
type - the type to search with
Throws:
SystemException - if a system exception occurred

removeByAEI_AID_A_T

public void removeByAEI_AID_A_T(long assetEntryId,
                                String actionId,
                                boolean active,
                                int type)
                         throws SystemException
Removes all the social equity logs where assetEntryId = ? and actionId = ? and active = ? and type = ? from the database.

Specified by:
removeByAEI_AID_A_T in interface SocialEquityLogPersistence
Parameters:
assetEntryId - the asset entry id to search with
actionId - the action id to search with
active - the active to search with
type - the type to search with
Throws:
SystemException - if a system exception occurred

removeByU_AID_AD_A_T

public void removeByU_AID_AD_A_T(long userId,
                                 String actionId,
                                 int actionDate,
                                 boolean active,
                                 int type)
                          throws SystemException
Removes all the social equity logs where userId = ? and actionId = ? and actionDate = ? and active = ? and type = ? from the database.

Specified by:
removeByU_AID_AD_A_T in interface SocialEquityLogPersistence
Parameters:
userId - the user id to search with
actionId - the action id to search with
actionDate - the action date to search with
active - the active to search with
type - the type to search with
Throws:
SystemException - if a system exception occurred

removeByAEI_AID_AD_A_T

public void removeByAEI_AID_AD_A_T(long assetEntryId,
                                   String actionId,
                                   int actionDate,
                                   boolean active,
                                   int type)
                            throws SystemException
Removes all the social equity logs where assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? from the database.

Specified by:
removeByAEI_AID_AD_A_T in interface SocialEquityLogPersistence
Parameters:
assetEntryId - the asset entry id to search with
actionId - the action id to search with
actionDate - the action date to search with
active - the active to search with
type - the type to search with
Throws:
SystemException - if a system exception occurred

removeByU_AEI_AID_AD_A_T

public void removeByU_AEI_AID_AD_A_T(long userId,
                                     long assetEntryId,
                                     String actionId,
                                     int actionDate,
                                     boolean active,
                                     int type)
                              throws NoSuchEquityLogException,
                                     SystemException
Removes the social equity log where userId = ? and assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? from the database.

Specified by:
removeByU_AEI_AID_AD_A_T in interface SocialEquityLogPersistence
Parameters:
userId - the user id to search with
assetEntryId - the asset entry id to search with
actionId - the action id to search with
actionDate - the action date to search with
active - the active to search with
type - the type to search with
Throws:
SystemException - if a system exception occurred
NoSuchEquityLogException

removeAll

public void removeAll()
               throws SystemException
Removes all the social equity logs from the database.

Specified by:
removeAll in interface SocialEquityLogPersistence
Throws:
SystemException - if a system exception occurred

countByAEI_T_A

public int countByAEI_T_A(long assetEntryId,
                          int type,
                          boolean active)
                   throws SystemException
Counts all the social equity logs where assetEntryId = ? and type = ? and active = ?.

Specified by:
countByAEI_T_A in interface SocialEquityLogPersistence
Parameters:
assetEntryId - the asset entry id to search with
type - the type to search with
active - the active to search with
Returns:
the number of matching social equity logs
Throws:
SystemException - if a system exception occurred

countByU_AID_A_T

public int countByU_AID_A_T(long userId,
                            String actionId,
                            boolean active,
                            int type)
                     throws SystemException
Counts all the social equity logs where userId = ? and actionId = ? and active = ? and type = ?.

Specified by:
countByU_AID_A_T in interface SocialEquityLogPersistence
Parameters:
userId - the user id to search with
actionId - the action id to search with
active - the active to search with
type - the type to search with
Returns:
the number of matching social equity logs
Throws:
SystemException - if a system exception occurred

countByAEI_AID_A_T

public int countByAEI_AID_A_T(long assetEntryId,
                              String actionId,
                              boolean active,
                              int type)
                       throws SystemException
Counts all the social equity logs where assetEntryId = ? and actionId = ? and active = ? and type = ?.

Specified by:
countByAEI_AID_A_T in interface SocialEquityLogPersistence
Parameters:
assetEntryId - the asset entry id to search with
actionId - the action id to search with
active - the active to search with
type - the type to search with
Returns:
the number of matching social equity logs
Throws:
SystemException - if a system exception occurred

countByU_AID_AD_A_T

public int countByU_AID_AD_A_T(long userId,
                               String actionId,
                               int actionDate,
                               boolean active,
                               int type)
                        throws SystemException
Counts all the social equity logs where userId = ? and actionId = ? and actionDate = ? and active = ? and type = ?.

Specified by:
countByU_AID_AD_A_T in interface SocialEquityLogPersistence
Parameters:
userId - the user id to search with
actionId - the action id to search with
actionDate - the action date to search with
active - the active to search with
type - the type to search with
Returns:
the number of matching social equity logs
Throws:
SystemException - if a system exception occurred

countByAEI_AID_AD_A_T

public int countByAEI_AID_AD_A_T(long assetEntryId,
                                 String actionId,
                                 int actionDate,
                                 boolean active,
                                 int type)
                          throws SystemException
Counts all the social equity logs where assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ?.

Specified by:
countByAEI_AID_AD_A_T in interface SocialEquityLogPersistence
Parameters:
assetEntryId - the asset entry id to search with
actionId - the action id to search with
actionDate - the action date to search with
active - the active to search with
type - the type to search with
Returns:
the number of matching social equity logs
Throws:
SystemException - if a system exception occurred

countByU_AEI_AID_AD_A_T

public int countByU_AEI_AID_AD_A_T(long userId,
                                   long assetEntryId,
                                   String actionId,
                                   int actionDate,
                                   boolean active,
                                   int type)
                            throws SystemException
Counts all the social equity logs where userId = ? and assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ?.

Specified by:
countByU_AEI_AID_AD_A_T in interface SocialEquityLogPersistence
Parameters:
userId - the user id to search with
assetEntryId - the asset entry id to search with
actionId - the action id to search with
actionDate - the action date to search with
active - the active to search with
type - the type to search with
Returns:
the number of matching social equity logs
Throws:
SystemException - if a system exception occurred

countAll

public int countAll()
             throws SystemException
Counts all the social equity logs.

Specified by:
countAll in interface SocialEquityLogPersistence
Returns:
the number of social equity logs
Throws:
SystemException - if a system exception occurred

afterPropertiesSet

public void afterPropertiesSet()
Initializes the social equity log persistence.


Liferay 6.0.5