|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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.
Never modify this class directly. Modify service.xml
and rerun ServiceBuilder to regenerate this 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()
Counts all the social equity logs. |
static 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 = ?. |
static 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 = ?. |
static int |
countByAEI_T_A(long assetEntryId,
int type,
boolean active)
Counts all the social equity logs where assetEntryId = ? and type = ? and active = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
long |
countWithDynamicQuery(DynamicQuery dynamicQuery)
|
static SocialEquityLog |
create(long equityLogId)
Creates a new social equity log with the primary key. |
static SocialEquityLog |
fetchByPrimaryKey(long equityLogId)
Finds 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(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. |
static 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. |
static List<SocialEquityLog> |
findAll()
Finds all the social equity logs. |
static List<SocialEquityLog> |
findAll(int start,
int end)
Finds a range of all the social equity logs. |
static List<SocialEquityLog> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the social equity logs. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static List<SocialEquityLog> |
findByAEI_T_A(long assetEntryId,
int type,
boolean active)
Finds 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)
Finds 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)
Finds an ordered range of all the social equity logs where assetEntryId = ? and type = ? and active = ?. |
static SocialEquityLog |
findByPrimaryKey(long equityLogId)
Finds the social equity log with the primary key or throws a NoSuchEquityLogException if it could not be found. |
static 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. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
static 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 = ?. |
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_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. |
static 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. |
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_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. |
static 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. |
static 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. |
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
SystemException
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static List<SocialEquityLog> findWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static List<SocialEquityLog> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static List<SocialEquityLog> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static SocialEquityLog remove(SocialEquityLog socialEquityLog) throws SystemException
SystemException
BasePersistence.remove(com.liferay.portal.model.BaseModel)
public static SocialEquityLog update(SocialEquityLog socialEquityLog, boolean merge) throws SystemException
SystemException
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
public static SocialEquityLog update(SocialEquityLog socialEquityLog, boolean merge, ServiceContext serviceContext) throws SystemException
SystemException
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)
public static void cacheResult(SocialEquityLog socialEquityLog)
socialEquityLog
- the social equity log to cachepublic static void cacheResult(List<SocialEquityLog> socialEquityLogs)
socialEquityLogs
- the social equity logs to cachepublic 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 to remove
NoSuchEquityLogException
- if a social equity log with the primary key could not be found
SystemException
- if a system exception occurredpublic 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 to find
NoSuchEquityLogException
- if a social equity log with the primary key could not be found
SystemException
- if a system exception occurredpublic static SocialEquityLog fetchByPrimaryKey(long equityLogId) throws SystemException
null
if it could not be found.
equityLogId
- the primary key of the social equity log to find
null
if a social equity log with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<SocialEquityLog> findByAEI_T_A(long assetEntryId, int type, boolean active) throws SystemException
assetEntryId
- the asset entry id to search withtype
- the type to search withactive
- the active to search with
SystemException
- if a system exception occurredpublic 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 id to search withtype
- the type to search withactive
- the active to search withstart
- the lower bound of the range of social equity logs to returnend
- the upper bound of the range of social equity logs to return (not inclusive)
SystemException
- if a system exception occurredpublic 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 id to search withtype
- the type to search withactive
- the active to search withstart
- the lower bound of the range of social equity logs to returnend
- the upper bound of the range of social equity logs to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic 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 id to search withtype
- the type to search withactive
- the active to search withorderByComparator
- the comparator to order the set by
NoSuchEquityLogException
- if a matching social equity log could not be found
SystemException
- if a system exception occurredpublic 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 id to search withtype
- the type to search withactive
- the active to search withorderByComparator
- the comparator to order the set by
NoSuchEquityLogException
- if a matching social equity log could not be found
SystemException
- if a system exception occurredpublic 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 id to search withtype
- the type to search withactive
- the active to search withorderByComparator
- the comparator to order the set by
NoSuchEquityLogException
- if a social equity log with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<SocialEquityLog> findByU_AID_A_T(long userId, String actionId, boolean active, int type) throws SystemException
userId
- the user id to search withactionId
- the action id to search withactive
- the active to search withtype
- the type to search with
SystemException
- if a system exception occurredpublic static List<SocialEquityLog> findByU_AID_A_T(long userId, String actionId, boolean active, int type, 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 id to search withactionId
- the action id to search withactive
- the active to search withtype
- the type to search withstart
- the lower bound of the range of social equity logs to returnend
- the upper bound of the range of social equity logs to return (not inclusive)
SystemException
- if a system exception occurredpublic static List<SocialEquityLog> findByU_AID_A_T(long userId, String actionId, boolean active, int type, 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 id to search withactionId
- the action id to search withactive
- the active to search withtype
- the type to search withstart
- the lower bound of the range of social equity logs to returnend
- the upper bound of the range of social equity logs to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static SocialEquityLog findByU_AID_A_T_First(long userId, String actionId, boolean active, int type, 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 id to search withactionId
- the action id to search withactive
- the active to search withtype
- the type to search withorderByComparator
- the comparator to order the set by
NoSuchEquityLogException
- if a matching social equity log could not be found
SystemException
- if a system exception occurredpublic static SocialEquityLog findByU_AID_A_T_Last(long userId, String actionId, boolean active, int type, 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 id to search withactionId
- the action id to search withactive
- the active to search withtype
- the type to search withorderByComparator
- the comparator to order the set by
NoSuchEquityLogException
- if a matching social equity log could not be found
SystemException
- if a system exception occurredpublic static SocialEquityLog[] findByU_AID_A_T_PrevAndNext(long equityLogId, long userId, String actionId, boolean active, int type, 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 id to search withactionId
- the action id to search withactive
- the active to search withtype
- the type to search withorderByComparator
- the comparator to order the set by
NoSuchEquityLogException
- if a social equity log with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<SocialEquityLog> findByAEI_AID_A_T(long assetEntryId, String actionId, boolean active, int type) throws SystemException
assetEntryId
- the asset entry id to search withactionId
- the action id to search withactive
- the active to search withtype
- the type to search with
SystemException
- if a system exception occurredpublic static List<SocialEquityLog> findByAEI_AID_A_T(long assetEntryId, String actionId, boolean active, int type, 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 id to search withactionId
- the action id to search withactive
- the active to search withtype
- the type to search withstart
- the lower bound of the range of social equity logs to returnend
- the upper bound of the range of social equity logs to return (not inclusive)
SystemException
- if a system exception occurredpublic static List<SocialEquityLog> findByAEI_AID_A_T(long assetEntryId, String actionId, boolean active, int type, 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 id to search withactionId
- the action id to search withactive
- the active to search withtype
- the type to search withstart
- the lower bound of the range of social equity logs to returnend
- the upper bound of the range of social equity logs to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static SocialEquityLog findByAEI_AID_A_T_First(long assetEntryId, String actionId, boolean active, int type, 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 id to search withactionId
- the action id to search withactive
- the active to search withtype
- the type to search withorderByComparator
- the comparator to order the set by
NoSuchEquityLogException
- if a matching social equity log could not be found
SystemException
- if a system exception occurredpublic static SocialEquityLog findByAEI_AID_A_T_Last(long assetEntryId, String actionId, boolean active, int type, 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 id to search withactionId
- the action id to search withactive
- the active to search withtype
- the type to search withorderByComparator
- the comparator to order the set by
NoSuchEquityLogException
- if a matching social equity log could not be found
SystemException
- if a system exception occurredpublic static SocialEquityLog[] findByAEI_AID_A_T_PrevAndNext(long equityLogId, long assetEntryId, String actionId, boolean active, int type, 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 id to search withactionId
- the action id to search withactive
- the active to search withtype
- the type to search withorderByComparator
- the comparator to order the set by
NoSuchEquityLogException
- if a social equity log with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<SocialEquityLog> findByU_AID_AD_A_T(long userId, String actionId, int actionDate, boolean active, int type) throws SystemException
userId
- the user id to search withactionId
- the action id to search withactionDate
- the action date to search withactive
- the active to search withtype
- the type to search with
SystemException
- if a system exception occurredpublic static List<SocialEquityLog> findByU_AID_AD_A_T(long userId, String actionId, int actionDate, boolean active, int type, 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 id to search withactionId
- the action id to search withactionDate
- the action date to search withactive
- the active to search withtype
- the type to search withstart
- the lower bound of the range of social equity logs to returnend
- the upper bound of the range of social equity logs to return (not inclusive)
SystemException
- if a system exception occurredpublic static 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
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 id to search withactionId
- the action id to search withactionDate
- the action date to search withactive
- the active to search withtype
- the type to search withstart
- the lower bound of the range of social equity logs to returnend
- the upper bound of the range of social equity logs to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static SocialEquityLog findByU_AID_AD_A_T_First(long userId, String actionId, int actionDate, boolean active, int type, 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 id to search withactionId
- the action id to search withactionDate
- the action date to search withactive
- the active to search withtype
- the type to search withorderByComparator
- the comparator to order the set by
NoSuchEquityLogException
- if a matching social equity log could not be found
SystemException
- if a system exception occurredpublic static SocialEquityLog findByU_AID_AD_A_T_Last(long userId, String actionId, int actionDate, boolean active, int type, 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 id to search withactionId
- the action id to search withactionDate
- the action date to search withactive
- the active to search withtype
- the type to search withorderByComparator
- the comparator to order the set by
NoSuchEquityLogException
- if a matching social equity log could not be found
SystemException
- if a system exception occurredpublic static SocialEquityLog[] findByU_AID_AD_A_T_PrevAndNext(long equityLogId, long userId, String actionId, int actionDate, boolean active, int type, 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 id to search withactionId
- the action id to search withactionDate
- the action date to search withactive
- the active to search withtype
- the type to search withorderByComparator
- the comparator to order the set by
NoSuchEquityLogException
- if a social equity log with the primary key could not be found
SystemException
- if a system exception occurredpublic static List<SocialEquityLog> findByAEI_AID_AD_A_T(long assetEntryId, String actionId, int actionDate, boolean active, int type) throws SystemException
assetEntryId
- the asset entry id to search withactionId
- the action id to search withactionDate
- the action date to search withactive
- the active to search withtype
- the type to search with
SystemException
- if a system exception occurredpublic static List<SocialEquityLog> findByAEI_AID_AD_A_T(long assetEntryId, String actionId, int actionDate, boolean active, int type, 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 id to search withactionId
- the action id to search withactionDate
- the action date to search withactive
- the active to search withtype
- the type to search withstart
- the lower bound of the range of social equity logs to returnend
- the upper bound of the range of social equity logs to return (not inclusive)
SystemException
- if a system exception occurredpublic static 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
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 id to search withactionId
- the action id to search withactionDate
- the action date to search withactive
- the active to search withtype
- the type to search withstart
- the lower bound of the range of social equity logs to returnend
- the upper bound of the range of social equity logs to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static SocialEquityLog findByAEI_AID_AD_A_T_First(long assetEntryId, String actionId, int actionDate, boolean active, int type, 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 id to search withactionId
- the action id to search withactionDate
- the action date to search withactive
- the active to search withtype
- the type to search withorderByComparator
- the comparator to order the set by
NoSuchEquityLogException
- if a matching social equity log could not be found
SystemException
- if a system exception occurredpublic static SocialEquityLog findByAEI_AID_AD_A_T_Last(long assetEntryId, String actionId, int actionDate, boolean active, int type, 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 id to search withactionId
- the action id to search withactionDate
- the action date to search withactive
- the active to search withtype
- the type to search withorderByComparator
- the comparator to order the set by
NoSuchEquityLogException
- if a matching social equity log could not be found
SystemException
- if a system exception occurredpublic static SocialEquityLog[] findByAEI_AID_AD_A_T_PrevAndNext(long equityLogId, long assetEntryId, String actionId, int actionDate, boolean active, int type, 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 id to search withactionId
- the action id to search withactionDate
- the action date to search withactive
- the active to search withtype
- the type to search withorderByComparator
- the comparator to order the set by
NoSuchEquityLogException
- if a social equity log with the primary key could not be found
SystemException
- if a system exception occurredpublic static SocialEquityLog findByU_AEI_AID_AD_A_T(long userId, long assetEntryId, String actionId, int actionDate, boolean active, int type) throws SystemException, NoSuchEquityLogException
NoSuchEquityLogException
if it could not be found.
userId
- the user id to search withassetEntryId
- the asset entry id to search withactionId
- the action id to search withactionDate
- the action date to search withactive
- the active to search withtype
- the type to search with
NoSuchEquityLogException
- if a matching social equity log could not be found
SystemException
- if a system exception occurredpublic static SocialEquityLog fetchByU_AEI_AID_AD_A_T(long userId, long assetEntryId, String actionId, int actionDate, boolean active, int type) throws SystemException
null
if it could not be found. Uses the finder cache.
userId
- the user id to search withassetEntryId
- the asset entry id to search withactionId
- the action id to search withactionDate
- the action date to search withactive
- the active to search withtype
- the type to search with
null
if a matching social equity log could not be found
SystemException
- if a system exception occurredpublic static SocialEquityLog fetchByU_AEI_AID_AD_A_T(long userId, long assetEntryId, String actionId, int actionDate, boolean active, int type, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
userId
- the user id to search withassetEntryId
- the asset entry id to search withactionId
- the action id to search withactionDate
- the action date to search withactive
- the active to search withtype
- the type to search with
null
if a matching social equity log could not be found
SystemException
- if a system exception occurredpublic static List<SocialEquityLog> findAll() throws SystemException
SystemException
- if a system exception occurredpublic 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 logs to returnend
- the upper bound of the range of social equity logs to return (not inclusive)
SystemException
- if a system exception occurredpublic 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 logs to returnend
- the upper bound of the range of social equity logs to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic static void removeByAEI_T_A(long assetEntryId, int type, boolean active) throws SystemException
assetEntryId
- the asset entry id to search withtype
- the type to search withactive
- the active to search with
SystemException
- if a system exception occurredpublic static void removeByU_AID_A_T(long userId, String actionId, boolean active, int type) throws SystemException
userId
- the user id to search withactionId
- the action id to search withactive
- the active to search withtype
- the type to search with
SystemException
- if a system exception occurredpublic static void removeByAEI_AID_A_T(long assetEntryId, String actionId, boolean active, int type) throws SystemException
assetEntryId
- the asset entry id to search withactionId
- the action id to search withactive
- the active to search withtype
- the type to search with
SystemException
- if a system exception occurredpublic static void removeByU_AID_AD_A_T(long userId, String actionId, int actionDate, boolean active, int type) throws SystemException
userId
- the user id to search withactionId
- the action id to search withactionDate
- the action date to search withactive
- the active to search withtype
- the type to search with
SystemException
- if a system exception occurredpublic static void removeByAEI_AID_AD_A_T(long assetEntryId, String actionId, int actionDate, boolean active, int type) throws SystemException
assetEntryId
- the asset entry id to search withactionId
- the action id to search withactionDate
- the action date to search withactive
- the active to search withtype
- the type to search with
SystemException
- if a system exception occurredpublic static void removeByU_AEI_AID_AD_A_T(long userId, long assetEntryId, String actionId, int actionDate, boolean active, int type) throws SystemException, NoSuchEquityLogException
userId
- the user id to search withassetEntryId
- the asset entry id to search withactionId
- the action id to search withactionDate
- the action date to search withactive
- the active to search withtype
- the type to search with
SystemException
- if a system exception occurred
NoSuchEquityLogException
public static void removeAll() throws SystemException
SystemException
- if a system exception occurredpublic static int countByAEI_T_A(long assetEntryId, int type, boolean active) throws SystemException
assetEntryId
- the asset entry id to search withtype
- the type to search withactive
- the active to search with
SystemException
- if a system exception occurredpublic static int countByU_AID_A_T(long userId, String actionId, boolean active, int type) throws SystemException
userId
- the user id to search withactionId
- the action id to search withactive
- the active to search withtype
- the type to search with
SystemException
- if a system exception occurredpublic static int countByAEI_AID_A_T(long assetEntryId, String actionId, boolean active, int type) throws SystemException
assetEntryId
- the asset entry id to search withactionId
- the action id to search withactive
- the active to search withtype
- the type to search with
SystemException
- if a system exception occurredpublic static int countByU_AID_AD_A_T(long userId, String actionId, int actionDate, boolean active, int type) throws SystemException
userId
- the user id to search withactionId
- the action id to search withactionDate
- the action date to search withactive
- the active to search withtype
- the type to search with
SystemException
- if a system exception occurredpublic static int countByAEI_AID_AD_A_T(long assetEntryId, String actionId, int actionDate, boolean active, int type) throws SystemException
assetEntryId
- the asset entry id to search withactionId
- the action id to search withactionDate
- the action date to search withactive
- the active to search withtype
- the type to search with
SystemException
- if a system exception occurredpublic static int countByU_AEI_AID_AD_A_T(long userId, long assetEntryId, String actionId, int actionDate, boolean active, int type) throws SystemException
userId
- the user id to search withassetEntryId
- the asset entry id to search withactionId
- the action id to search withactionDate
- the action date to search withactive
- the active to search withtype
- the type to search with
SystemException
- if a system exception occurredpublic static int countAll() throws SystemException
SystemException
- if a system exception occurredpublic static SocialEquityLogPersistence getPersistence()
public void setPersistence(SocialEquityLogPersistence persistence)
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |