|
Liferay 6.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.social.service.persistence.SocialEquityLogUtil
public class SocialEquityLogUtil
The persistence utility for the social equity log service. This utility wraps SocialEquityLogPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
SocialEquityLogPersistence,
SocialEquityLogPersistenceImpl| Constructor Summary | |
|---|---|
SocialEquityLogUtil()
|
|
| Method Summary | |
|---|---|
static void |
cacheResult(List<SocialEquityLog> socialEquityLogs)
Caches the social equity logs in the entity cache if it is enabled. |
static void |
cacheResult(SocialEquityLog socialEquityLog)
Caches the social equity log in the entity cache if it is enabled. |
static void |
clearCache()
|
static void |
clearCache(SocialEquityLog socialEquityLog)
|
static int |
countAll()
Returns the number of social equity logs. |
static int |
countByAEI_AID_A_E(long assetEntryId,
String actionId,
boolean active,
String extraData)
Returns the number of social equity logs where assetEntryId = ? and actionId = ? and active = ? and extraData = ?. |
static int |
countByAEI_AID_AD_A_T_E(long assetEntryId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData)
Returns the number of social equity logs where assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. |
static int |
countByAEI_T_A(long assetEntryId,
int type,
boolean active)
Returns the number of social equity logs where assetEntryId = ? and type = ? and active = ?. |
static int |
countByU_AEI_AID_A_E(long userId,
long assetEntryId,
String actionId,
boolean active,
String extraData)
Returns the number of social equity logs where userId = ? and assetEntryId = ? and actionId = ? and active = ? and extraData = ?. |
static int |
countByU_AEI_AID_AD_A_T_E(long userId,
long assetEntryId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData)
Returns the number of social equity logs where userId = ? and assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. |
static int |
countByU_AID_AD_A_T_E(long userId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData)
Returns the number of social equity logs where userId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. |
static int |
countByUserId(long userId)
Returns the number of social equity logs where userId = ?. |
long |
countWithDynamicQuery(DynamicQuery dynamicQuery)
|
static SocialEquityLog |
create(long equityLogId)
Creates a new social equity log with the primary key. |
static SocialEquityLog |
fetchByPrimaryKey(long equityLogId)
Returns the social equity log with the primary key or returns null if it could not be found. |
static SocialEquityLog |
fetchByU_AEI_AID_AD_A_T_E(long userId,
long assetEntryId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData)
Returns the social equity log where userId = ? and assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ? or returns null if it could not be found. |
static SocialEquityLog |
fetchByU_AEI_AID_AD_A_T_E(long userId,
long assetEntryId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData,
boolean retrieveFromCache)
Returns the social equity log where userId = ? and assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ? or returns null if it could not be found, optionally using the finder cache. |
static List<SocialEquityLog> |
findAll()
Returns all the social equity logs. |
static List<SocialEquityLog> |
findAll(int start,
int end)
Returns a range of all the social equity logs. |
static List<SocialEquityLog> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the social equity logs. |
static SocialEquityLog |
findByAEI_AID_A_E_First(long assetEntryId,
String actionId,
boolean active,
String extraData,
OrderByComparator orderByComparator)
Returns the first social equity log in the ordered set where assetEntryId = ? and actionId = ? and active = ? and extraData = ?. |
static SocialEquityLog |
findByAEI_AID_A_E_Last(long assetEntryId,
String actionId,
boolean active,
String extraData,
OrderByComparator orderByComparator)
Returns the last social equity log in the ordered set where assetEntryId = ? and actionId = ? and active = ? and extraData = ?. |
static SocialEquityLog[] |
findByAEI_AID_A_E_PrevAndNext(long equityLogId,
long assetEntryId,
String actionId,
boolean active,
String extraData,
OrderByComparator orderByComparator)
Returns the social equity logs before and after the current social equity log in the ordered set where assetEntryId = ? and actionId = ? and active = ? and extraData = ?. |
static List<SocialEquityLog> |
findByAEI_AID_A_E(long assetEntryId,
String actionId,
boolean active,
String extraData)
Returns all the social equity logs where assetEntryId = ? and actionId = ? and active = ? and extraData = ?. |
static List<SocialEquityLog> |
findByAEI_AID_A_E(long assetEntryId,
String actionId,
boolean active,
String extraData,
int start,
int end)
Returns a range of all the social equity logs where assetEntryId = ? and actionId = ? and active = ? and extraData = ?. |
static List<SocialEquityLog> |
findByAEI_AID_A_E(long assetEntryId,
String actionId,
boolean active,
String extraData,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the social equity logs where assetEntryId = ? and actionId = ? and active = ? and extraData = ?. |
static SocialEquityLog |
findByAEI_AID_AD_A_T_E_First(long assetEntryId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData,
OrderByComparator orderByComparator)
Returns the first social equity log in the ordered set where assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. |
static SocialEquityLog |
findByAEI_AID_AD_A_T_E_Last(long assetEntryId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData,
OrderByComparator orderByComparator)
Returns the last social equity log in the ordered set where assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. |
static SocialEquityLog[] |
findByAEI_AID_AD_A_T_E_PrevAndNext(long equityLogId,
long assetEntryId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData,
OrderByComparator orderByComparator)
Returns 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 = ? and extraData = ?. |
static List<SocialEquityLog> |
findByAEI_AID_AD_A_T_E(long assetEntryId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData)
Returns all the social equity logs where assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. |
static List<SocialEquityLog> |
findByAEI_AID_AD_A_T_E(long assetEntryId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData,
int start,
int end)
Returns a range of all the social equity logs where assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. |
static List<SocialEquityLog> |
findByAEI_AID_AD_A_T_E(long assetEntryId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the social equity logs where assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. |
static SocialEquityLog |
findByAEI_T_A_First(long assetEntryId,
int type,
boolean active,
OrderByComparator orderByComparator)
Returns the first social equity log in the ordered set where assetEntryId = ? and type = ? and active = ?. |
static SocialEquityLog |
findByAEI_T_A_Last(long assetEntryId,
int type,
boolean active,
OrderByComparator orderByComparator)
Returns the last social equity log in the ordered set where assetEntryId = ? and type = ? and active = ?. |
static SocialEquityLog[] |
findByAEI_T_A_PrevAndNext(long equityLogId,
long assetEntryId,
int type,
boolean active,
OrderByComparator orderByComparator)
Returns the social equity logs before and after the current social equity log in the ordered set where assetEntryId = ? and type = ? and active = ?. |
static List<SocialEquityLog> |
findByAEI_T_A(long assetEntryId,
int type,
boolean active)
Returns all the social equity logs where assetEntryId = ? and type = ? and active = ?. |
static List<SocialEquityLog> |
findByAEI_T_A(long assetEntryId,
int type,
boolean active,
int start,
int end)
Returns a range of all the social equity logs where assetEntryId = ? and type = ? and active = ?. |
static List<SocialEquityLog> |
findByAEI_T_A(long assetEntryId,
int type,
boolean active,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the social equity logs where assetEntryId = ? and type = ? and active = ?. |
static SocialEquityLog |
findByPrimaryKey(long equityLogId)
Returns the social equity log with the primary key or throws a NoSuchEquityLogException if it could not be found. |
static SocialEquityLog |
findByU_AEI_AID_A_E_First(long userId,
long assetEntryId,
String actionId,
boolean active,
String extraData,
OrderByComparator orderByComparator)
Returns the first social equity log in the ordered set where userId = ? and assetEntryId = ? and actionId = ? and active = ? and extraData = ?. |
static SocialEquityLog |
findByU_AEI_AID_A_E_Last(long userId,
long assetEntryId,
String actionId,
boolean active,
String extraData,
OrderByComparator orderByComparator)
Returns the last social equity log in the ordered set where userId = ? and assetEntryId = ? and actionId = ? and active = ? and extraData = ?. |
static SocialEquityLog[] |
findByU_AEI_AID_A_E_PrevAndNext(long equityLogId,
long userId,
long assetEntryId,
String actionId,
boolean active,
String extraData,
OrderByComparator orderByComparator)
Returns the social equity logs before and after the current social equity log in the ordered set where userId = ? and assetEntryId = ? and actionId = ? and active = ? and extraData = ?. |
static List<SocialEquityLog> |
findByU_AEI_AID_A_E(long userId,
long assetEntryId,
String actionId,
boolean active,
String extraData)
Returns all the social equity logs where userId = ? and assetEntryId = ? and actionId = ? and active = ? and extraData = ?. |
static List<SocialEquityLog> |
findByU_AEI_AID_A_E(long userId,
long assetEntryId,
String actionId,
boolean active,
String extraData,
int start,
int end)
Returns a range of all the social equity logs where userId = ? and assetEntryId = ? and actionId = ? and active = ? and extraData = ?. |
static List<SocialEquityLog> |
findByU_AEI_AID_A_E(long userId,
long assetEntryId,
String actionId,
boolean active,
String extraData,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the social equity logs where userId = ? and assetEntryId = ? and actionId = ? and active = ? and extraData = ?. |
static SocialEquityLog |
findByU_AEI_AID_AD_A_T_E(long userId,
long assetEntryId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData)
Returns the social equity log where userId = ? and assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ? or throws a NoSuchEquityLogException if it could not be found. |
static SocialEquityLog |
findByU_AID_AD_A_T_E_First(long userId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData,
OrderByComparator orderByComparator)
Returns the first social equity log in the ordered set where userId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. |
static SocialEquityLog |
findByU_AID_AD_A_T_E_Last(long userId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData,
OrderByComparator orderByComparator)
Returns the last social equity log in the ordered set where userId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. |
static SocialEquityLog[] |
findByU_AID_AD_A_T_E_PrevAndNext(long equityLogId,
long userId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData,
OrderByComparator orderByComparator)
Returns 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 = ? and extraData = ?. |
static List<SocialEquityLog> |
findByU_AID_AD_A_T_E(long userId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData)
Returns all the social equity logs where userId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. |
static List<SocialEquityLog> |
findByU_AID_AD_A_T_E(long userId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData,
int start,
int end)
Returns a range of all the social equity logs where userId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. |
static List<SocialEquityLog> |
findByU_AID_AD_A_T_E(long userId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the social equity logs where userId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ?. |
static SocialEquityLog |
findByUserId_First(long userId,
OrderByComparator orderByComparator)
Returns the first social equity log in the ordered set where userId = ?. |
static SocialEquityLog |
findByUserId_Last(long userId,
OrderByComparator orderByComparator)
Returns the last social equity log in the ordered set where userId = ?. |
static SocialEquityLog[] |
findByUserId_PrevAndNext(long equityLogId,
long userId,
OrderByComparator orderByComparator)
Returns the social equity logs before and after the current social equity log in the ordered set where userId = ?. |
static List<SocialEquityLog> |
findByUserId(long userId)
Returns all the social equity logs where userId = ?. |
static List<SocialEquityLog> |
findByUserId(long userId,
int start,
int end)
Returns a range of all the social equity logs where userId = ?. |
static List<SocialEquityLog> |
findByUserId(long userId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the social equity logs where userId = ?. |
static List<SocialEquityLog> |
findWithDynamicQuery(DynamicQuery dynamicQuery)
|
static List<SocialEquityLog> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static List<SocialEquityLog> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static SocialEquityLogPersistence |
getPersistence()
|
static SocialEquityLog |
remove(long equityLogId)
Removes the social equity log with the primary key from the database. |
static SocialEquityLog |
remove(SocialEquityLog socialEquityLog)
|
static void |
removeAll()
Removes all the social equity logs from the database. |
static void |
removeByAEI_AID_A_E(long assetEntryId,
String actionId,
boolean active,
String extraData)
Removes all the social equity logs where assetEntryId = ? and actionId = ? and active = ? and extraData = ? from the database. |
static void |
removeByAEI_AID_AD_A_T_E(long assetEntryId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData)
Removes all the social equity logs where assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ? from the database. |
static 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. |
static void |
removeByU_AEI_AID_A_E(long userId,
long assetEntryId,
String actionId,
boolean active,
String extraData)
Removes all the social equity logs where userId = ? and assetEntryId = ? and actionId = ? and active = ? and extraData = ? from the database. |
static void |
removeByU_AEI_AID_AD_A_T_E(long userId,
long assetEntryId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData)
Removes the social equity log where userId = ? and assetEntryId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ? from the database. |
static void |
removeByU_AID_AD_A_T_E(long userId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData)
Removes all the social equity logs where userId = ? and actionId = ? and actionDate = ? and active = ? and type = ? and extraData = ? from the database. |
static void |
removeByUserId(long userId)
Removes all the social equity logs where userId = ? from the database. |
void |
setPersistence(SocialEquityLogPersistence persistence)
|
static SocialEquityLog |
update(SocialEquityLog socialEquityLog,
boolean merge)
|
static SocialEquityLog |
update(SocialEquityLog socialEquityLog,
boolean merge,
ServiceContext serviceContext)
|
static SocialEquityLog |
updateImpl(SocialEquityLog socialEquityLog,
boolean merge)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SocialEquityLogUtil()
| Method Detail |
|---|
public static void clearCache()
BasePersistence.clearCache()public static void clearCache(SocialEquityLog socialEquityLog)
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)
public long countWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
SystemExceptionBasePersistence.countWithDynamicQuery(DynamicQuery)
public static List<SocialEquityLog> findWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery)
public static List<SocialEquityLog> findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static List<SocialEquityLog> findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
SystemExceptionBasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static SocialEquityLog remove(SocialEquityLog socialEquityLog)
throws SystemException
SystemExceptionBasePersistence.remove(com.liferay.portal.model.BaseModel)
public static SocialEquityLog update(SocialEquityLog socialEquityLog,
boolean merge)
throws SystemException
SystemExceptionBasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
public static SocialEquityLog update(SocialEquityLog socialEquityLog,
boolean merge,
ServiceContext serviceContext)
throws SystemException
SystemExceptionBasePersistence.update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)public static void cacheResult(SocialEquityLog socialEquityLog)
socialEquityLog - the social equity logpublic static void cacheResult(List<SocialEquityLog> socialEquityLogs)
socialEquityLogs - the social equity logspublic static SocialEquityLog create(long equityLogId)
equityLogId - the primary key for the new social equity log
public static SocialEquityLog remove(long equityLogId)
throws SystemException,
NoSuchEquityLogException
equityLogId - the primary key of the social equity log
NoSuchEquityLogException - if a social equity log with the primary key could not be found
SystemException - if a system exception occurred
public static SocialEquityLog updateImpl(SocialEquityLog socialEquityLog,
boolean merge)
throws SystemException
SystemException
public static SocialEquityLog findByPrimaryKey(long equityLogId)
throws SystemException,
NoSuchEquityLogException
NoSuchEquityLogException if it could not be found.
equityLogId - the primary key of the social equity log
NoSuchEquityLogException - if a social equity log with the primary key could not be found
SystemException - if a system exception occurred
public static SocialEquityLog fetchByPrimaryKey(long equityLogId)
throws SystemException
null if it could not be found.
equityLogId - the primary key of the social equity log
null if a social equity log with the primary key could not be found
SystemException - if a system exception occurred
public static List<SocialEquityLog> findByUserId(long userId)
throws SystemException
userId - the user ID
SystemException - if a system exception occurred
public static List<SocialEquityLog> findByUserId(long userId,
int start,
int end)
throws SystemException
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.
userId - the user IDstart - the lower bound of the range of social equity logsend - the upper bound of the range of social equity logs (not inclusive)
SystemException - if a system exception occurred
public static List<SocialEquityLog> findByUserId(long userId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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.
userId - the user IDstart - the lower bound of the range of social equity logsend - the upper bound of the range of social equity logs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public static SocialEquityLog findByUserId_First(long userId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEquityLogException
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.
userId - the user IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchEquityLogException - if a matching social equity log could not be found
SystemException - if a system exception occurred
public static SocialEquityLog findByUserId_Last(long userId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEquityLogException
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.
userId - the user IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchEquityLogException - if a matching social equity log could not be found
SystemException - if a system exception occurred
public static SocialEquityLog[] findByUserId_PrevAndNext(long equityLogId,
long userId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEquityLogException
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.
equityLogId - the primary key of the current social equity loguserId - the user IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchEquityLogException - if a social equity log with the primary key could not be found
SystemException - if a system exception occurred
public static List<SocialEquityLog> findByAEI_T_A(long assetEntryId,
int type,
boolean active)
throws SystemException
assetEntryId - the asset entry IDtype - the typeactive - the active
SystemException - if a system exception occurred
public static List<SocialEquityLog> findByAEI_T_A(long assetEntryId,
int type,
boolean active,
int start,
int end)
throws SystemException
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.
assetEntryId - the asset entry IDtype - the typeactive - the activestart - the lower bound of the range of social equity logsend - the upper bound of the range of social equity logs (not inclusive)
SystemException - if a system exception occurred
public static List<SocialEquityLog> findByAEI_T_A(long assetEntryId,
int type,
boolean active,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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.
assetEntryId - the asset entry IDtype - the typeactive - the activestart - the lower bound of the range of social equity logsend - the upper bound of the range of social equity logs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public static SocialEquityLog findByAEI_T_A_First(long assetEntryId,
int type,
boolean active,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEquityLogException
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.
assetEntryId - the asset entry IDtype - the typeactive - the activeorderByComparator - the comparator to order the set by (optionally null)
NoSuchEquityLogException - if a matching social equity log could not be found
SystemException - if a system exception occurred
public static SocialEquityLog findByAEI_T_A_Last(long assetEntryId,
int type,
boolean active,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEquityLogException
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.
assetEntryId - the asset entry IDtype - the typeactive - the activeorderByComparator - the comparator to order the set by (optionally null)
NoSuchEquityLogException - if a matching social equity log could not be found
SystemException - if a system exception occurred
public static SocialEquityLog[] findByAEI_T_A_PrevAndNext(long equityLogId,
long assetEntryId,
int type,
boolean active,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEquityLogException
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.
equityLogId - the primary key of the current social equity logassetEntryId - the asset entry IDtype - the typeactive - the activeorderByComparator - the comparator to order the set by (optionally null)
NoSuchEquityLogException - if a social equity log with the primary key could not be found
SystemException - if a system exception occurred
public static List<SocialEquityLog> findByAEI_AID_A_E(long assetEntryId,
String actionId,
boolean active,
String extraData)
throws SystemException
assetEntryId - the asset entry IDactionId - the action IDactive - the activeextraData - the extra data
SystemException - if a system exception occurred
public static List<SocialEquityLog> findByAEI_AID_A_E(long assetEntryId,
String actionId,
boolean active,
String extraData,
int start,
int end)
throws SystemException
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.
assetEntryId - the asset entry IDactionId - the action IDactive - the activeextraData - the extra datastart - the lower bound of the range of social equity logsend - the upper bound of the range of social equity logs (not inclusive)
SystemException - if a system exception occurred
public static List<SocialEquityLog> findByAEI_AID_A_E(long assetEntryId,
String actionId,
boolean active,
String extraData,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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.
assetEntryId - the asset entry IDactionId - the action IDactive - the activeextraData - the extra datastart - the lower bound of the range of social equity logsend - the upper bound of the range of social equity logs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public static SocialEquityLog findByAEI_AID_A_E_First(long assetEntryId,
String actionId,
boolean active,
String extraData,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEquityLogException
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.
assetEntryId - the asset entry IDactionId - the action IDactive - the activeextraData - the extra dataorderByComparator - the comparator to order the set by (optionally null)
NoSuchEquityLogException - if a matching social equity log could not be found
SystemException - if a system exception occurred
public static SocialEquityLog findByAEI_AID_A_E_Last(long assetEntryId,
String actionId,
boolean active,
String extraData,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEquityLogException
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.
assetEntryId - the asset entry IDactionId - the action IDactive - the activeextraData - the extra dataorderByComparator - the comparator to order the set by (optionally null)
NoSuchEquityLogException - if a matching social equity log could not be found
SystemException - if a system exception occurred
public static SocialEquityLog[] findByAEI_AID_A_E_PrevAndNext(long equityLogId,
long assetEntryId,
String actionId,
boolean active,
String extraData,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEquityLogException
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.
equityLogId - the primary key of the current social equity logassetEntryId - the asset entry IDactionId - the action IDactive - the activeextraData - the extra dataorderByComparator - the comparator to order the set by (optionally null)
NoSuchEquityLogException - if a social equity log with the primary key could not be found
SystemException - if a system exception occurred
public static List<SocialEquityLog> findByU_AEI_AID_A_E(long userId,
long assetEntryId,
String actionId,
boolean active,
String extraData)
throws SystemException
userId - the user IDassetEntryId - the asset entry IDactionId - the action IDactive - the activeextraData - the extra data
SystemException - if a system exception occurred
public static List<SocialEquityLog> findByU_AEI_AID_A_E(long userId,
long assetEntryId,
String actionId,
boolean active,
String extraData,
int start,
int end)
throws SystemException
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.
userId - the user IDassetEntryId - the asset entry IDactionId - the action IDactive - the activeextraData - the extra datastart - the lower bound of the range of social equity logsend - the upper bound of the range of social equity logs (not inclusive)
SystemException - if a system exception occurred
public static List<SocialEquityLog> findByU_AEI_AID_A_E(long userId,
long assetEntryId,
String actionId,
boolean active,
String extraData,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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.
userId - the user IDassetEntryId - the asset entry IDactionId - the action IDactive - the activeextraData - the extra datastart - the lower bound of the range of social equity logsend - the upper bound of the range of social equity logs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public static SocialEquityLog findByU_AEI_AID_A_E_First(long userId,
long assetEntryId,
String actionId,
boolean active,
String extraData,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEquityLogException
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.
userId - the user IDassetEntryId - the asset entry IDactionId - the action IDactive - the activeextraData - the extra dataorderByComparator - the comparator to order the set by (optionally null)
NoSuchEquityLogException - if a matching social equity log could not be found
SystemException - if a system exception occurred
public static SocialEquityLog findByU_AEI_AID_A_E_Last(long userId,
long assetEntryId,
String actionId,
boolean active,
String extraData,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEquityLogException
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.
userId - the user IDassetEntryId - the asset entry IDactionId - the action IDactive - the activeextraData - the extra dataorderByComparator - the comparator to order the set by (optionally null)
NoSuchEquityLogException - if a matching social equity log could not be found
SystemException - if a system exception occurred
public static SocialEquityLog[] findByU_AEI_AID_A_E_PrevAndNext(long equityLogId,
long userId,
long assetEntryId,
String actionId,
boolean active,
String extraData,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEquityLogException
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.
equityLogId - the primary key of the current social equity loguserId - the user IDassetEntryId - the asset entry IDactionId - the action IDactive - the activeextraData - the extra dataorderByComparator - the comparator to order the set by (optionally null)
NoSuchEquityLogException - if a social equity log with the primary key could not be found
SystemException - if a system exception occurred
public static List<SocialEquityLog> findByU_AID_AD_A_T_E(long userId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData)
throws SystemException
userId - the user IDactionId - the action IDactionDate - the action dateactive - the activetype - the typeextraData - the extra data
SystemException - if a system exception occurred
public static List<SocialEquityLog> findByU_AID_AD_A_T_E(long userId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData,
int start,
int end)
throws SystemException
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.
userId - the user IDactionId - the action IDactionDate - the action dateactive - the activetype - the typeextraData - the extra datastart - the lower bound of the range of social equity logsend - the upper bound of the range of social equity logs (not inclusive)
SystemException - if a system exception occurred
public static List<SocialEquityLog> findByU_AID_AD_A_T_E(long userId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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.
userId - the user IDactionId - the action IDactionDate - the action dateactive - the activetype - the typeextraData - the extra datastart - the lower bound of the range of social equity logsend - the upper bound of the range of social equity logs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public static SocialEquityLog findByU_AID_AD_A_T_E_First(long userId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEquityLogException
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.
userId - the user IDactionId - the action IDactionDate - the action dateactive - the activetype - the typeextraData - the extra dataorderByComparator - the comparator to order the set by (optionally null)
NoSuchEquityLogException - if a matching social equity log could not be found
SystemException - if a system exception occurred
public static SocialEquityLog findByU_AID_AD_A_T_E_Last(long userId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEquityLogException
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.
userId - the user IDactionId - the action IDactionDate - the action dateactive - the activetype - the typeextraData - the extra dataorderByComparator - the comparator to order the set by (optionally null)
NoSuchEquityLogException - if a matching social equity log could not be found
SystemException - if a system exception occurred
public static SocialEquityLog[] findByU_AID_AD_A_T_E_PrevAndNext(long equityLogId,
long userId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEquityLogException
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.
equityLogId - the primary key of the current social equity loguserId - the user IDactionId - the action IDactionDate - the action dateactive - the activetype - the typeextraData - the extra dataorderByComparator - the comparator to order the set by (optionally null)
NoSuchEquityLogException - if a social equity log with the primary key could not be found
SystemException - if a system exception occurred
public static List<SocialEquityLog> findByAEI_AID_AD_A_T_E(long assetEntryId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData)
throws SystemException
assetEntryId - the asset entry IDactionId - the action IDactionDate - the action dateactive - the activetype - the typeextraData - the extra data
SystemException - if a system exception occurred
public static List<SocialEquityLog> findByAEI_AID_AD_A_T_E(long assetEntryId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData,
int start,
int end)
throws SystemException
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.
assetEntryId - the asset entry IDactionId - the action IDactionDate - the action dateactive - the activetype - the typeextraData - the extra datastart - the lower bound of the range of social equity logsend - the upper bound of the range of social equity logs (not inclusive)
SystemException - if a system exception occurred
public static List<SocialEquityLog> findByAEI_AID_AD_A_T_E(long assetEntryId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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.
assetEntryId - the asset entry IDactionId - the action IDactionDate - the action dateactive - the activetype - the typeextraData - the extra datastart - the lower bound of the range of social equity logsend - the upper bound of the range of social equity logs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public static SocialEquityLog findByAEI_AID_AD_A_T_E_First(long assetEntryId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEquityLogException
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.
assetEntryId - the asset entry IDactionId - the action IDactionDate - the action dateactive - the activetype - the typeextraData - the extra dataorderByComparator - the comparator to order the set by (optionally null)
NoSuchEquityLogException - if a matching social equity log could not be found
SystemException - if a system exception occurred
public static SocialEquityLog findByAEI_AID_AD_A_T_E_Last(long assetEntryId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEquityLogException
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.
assetEntryId - the asset entry IDactionId - the action IDactionDate - the action dateactive - the activetype - the typeextraData - the extra dataorderByComparator - the comparator to order the set by (optionally null)
NoSuchEquityLogException - if a matching social equity log could not be found
SystemException - if a system exception occurred
public static SocialEquityLog[] findByAEI_AID_AD_A_T_E_PrevAndNext(long equityLogId,
long assetEntryId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEquityLogException
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.
equityLogId - the primary key of the current social equity logassetEntryId - the asset entry IDactionId - the action IDactionDate - the action dateactive - the activetype - the typeextraData - the extra dataorderByComparator - the comparator to order the set by (optionally null)
NoSuchEquityLogException - if a social equity log with the primary key could not be found
SystemException - if a system exception occurred
public static SocialEquityLog findByU_AEI_AID_AD_A_T_E(long userId,
long assetEntryId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData)
throws SystemException,
NoSuchEquityLogException
NoSuchEquityLogException if it could not be found.
userId - the user IDassetEntryId - the asset entry IDactionId - the action IDactionDate - the action dateactive - the activetype - the typeextraData - the extra data
NoSuchEquityLogException - if a matching social equity log could not be found
SystemException - if a system exception occurred
public static SocialEquityLog fetchByU_AEI_AID_AD_A_T_E(long userId,
long assetEntryId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData)
throws SystemException
null if it could not be found. Uses the finder cache.
userId - the user IDassetEntryId - the asset entry IDactionId - the action IDactionDate - the action dateactive - the activetype - the typeextraData - the extra data
null if a matching social equity log could not be found
SystemException - if a system exception occurred
public static SocialEquityLog fetchByU_AEI_AID_AD_A_T_E(long userId,
long assetEntryId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData,
boolean retrieveFromCache)
throws SystemException
null if it could not be found, optionally using the finder cache.
userId - the user IDassetEntryId - the asset entry IDactionId - the action IDactionDate - the action dateactive - the activetype - the typeextraData - the extra dataretrieveFromCache - whether to use the finder cache
null if a matching social equity log could not be found
SystemException - if a system exception occurred
public static List<SocialEquityLog> findAll()
throws SystemException
SystemException - if a system exception occurred
public static List<SocialEquityLog> findAll(int start,
int end)
throws SystemException
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.
start - the lower bound of the range of social equity logsend - the upper bound of the range of social equity logs (not inclusive)
SystemException - if a system exception occurred
public static List<SocialEquityLog> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
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.
start - the lower bound of the range of social equity logsend - the upper bound of the range of social equity logs (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public static void removeByUserId(long userId)
throws SystemException
userId - the user ID
SystemException - if a system exception occurred
public static void removeByAEI_T_A(long assetEntryId,
int type,
boolean active)
throws SystemException
assetEntryId - the asset entry IDtype - the typeactive - the active
SystemException - if a system exception occurred
public static void removeByAEI_AID_A_E(long assetEntryId,
String actionId,
boolean active,
String extraData)
throws SystemException
assetEntryId - the asset entry IDactionId - the action IDactive - the activeextraData - the extra data
SystemException - if a system exception occurred
public static void removeByU_AEI_AID_A_E(long userId,
long assetEntryId,
String actionId,
boolean active,
String extraData)
throws SystemException
userId - the user IDassetEntryId - the asset entry IDactionId - the action IDactive - the activeextraData - the extra data
SystemException - if a system exception occurred
public static void removeByU_AID_AD_A_T_E(long userId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData)
throws SystemException
userId - the user IDactionId - the action IDactionDate - the action dateactive - the activetype - the typeextraData - the extra data
SystemException - if a system exception occurred
public static void removeByAEI_AID_AD_A_T_E(long assetEntryId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData)
throws SystemException
assetEntryId - the asset entry IDactionId - the action IDactionDate - the action dateactive - the activetype - the typeextraData - the extra data
SystemException - if a system exception occurred
public static void removeByU_AEI_AID_AD_A_T_E(long userId,
long assetEntryId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData)
throws SystemException,
NoSuchEquityLogException
userId - the user IDassetEntryId - the asset entry IDactionId - the action IDactionDate - the action dateactive - the activetype - the typeextraData - the extra data
SystemException - if a system exception occurred
NoSuchEquityLogException
public static void removeAll()
throws SystemException
SystemException - if a system exception occurred
public static int countByUserId(long userId)
throws SystemException
userId - the user ID
SystemException - if a system exception occurred
public static int countByAEI_T_A(long assetEntryId,
int type,
boolean active)
throws SystemException
assetEntryId - the asset entry IDtype - the typeactive - the active
SystemException - if a system exception occurred
public static int countByAEI_AID_A_E(long assetEntryId,
String actionId,
boolean active,
String extraData)
throws SystemException
assetEntryId - the asset entry IDactionId - the action IDactive - the activeextraData - the extra data
SystemException - if a system exception occurred
public static int countByU_AEI_AID_A_E(long userId,
long assetEntryId,
String actionId,
boolean active,
String extraData)
throws SystemException
userId - the user IDassetEntryId - the asset entry IDactionId - the action IDactive - the activeextraData - the extra data
SystemException - if a system exception occurred
public static int countByU_AID_AD_A_T_E(long userId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData)
throws SystemException
userId - the user IDactionId - the action IDactionDate - the action dateactive - the activetype - the typeextraData - the extra data
SystemException - if a system exception occurred
public static int countByAEI_AID_AD_A_T_E(long assetEntryId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData)
throws SystemException
assetEntryId - the asset entry IDactionId - the action IDactionDate - the action dateactive - the activetype - the typeextraData - the extra data
SystemException - if a system exception occurred
public static int countByU_AEI_AID_AD_A_T_E(long userId,
long assetEntryId,
String actionId,
int actionDate,
boolean active,
int type,
String extraData)
throws SystemException
userId - the user IDassetEntryId - the asset entry IDactionId - the action IDactionDate - the action dateactive - the activetype - the typeextraData - the extra data
SystemException - if a system exception occurred
public static int countAll()
throws SystemException
SystemException - if a system exception occurredpublic static SocialEquityLogPersistence getPersistence()
public void setPersistence(SocialEquityLogPersistence persistence)
|
Liferay 6.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||