|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SocialEquitySettingPersistence
The persistence interface for the social equity setting service.
Never modify this interface directly. Modify service.xml and rerun ServiceBuilder to regnerate this interface.
SocialEquitySettingPersistenceImpl,
SocialEquitySettingUtil| Method Summary | |
|---|---|
void |
cacheResult(List<SocialEquitySetting> socialEquitySettings)
Caches the social equity settings in the entity cache if it is enabled. |
void |
cacheResult(SocialEquitySetting socialEquitySetting)
Caches the social equity setting in the entity cache if it is enabled. |
int |
countAll()
Counts all the social equity settings. |
int |
countByG_C_A_T(long groupId,
long classNameId,
String actionId,
int type)
Counts all the social equity settings where groupId = ? and classNameId = ? and actionId = ? and type = ?. |
int |
countByG_C_A(long groupId,
long classNameId,
String actionId)
Counts all the social equity settings where groupId = ? and classNameId = ? and actionId = ?. |
SocialEquitySetting |
create(long equitySettingId)
Creates a new social equity setting with the primary key. |
SocialEquitySetting |
fetchByG_C_A_T(long groupId,
long classNameId,
String actionId,
int type)
Finds the social equity setting where groupId = ? and classNameId = ? and actionId = ? and type = ? or returns null if it could not be found. |
SocialEquitySetting |
fetchByG_C_A_T(long groupId,
long classNameId,
String actionId,
int type,
boolean retrieveFromCache)
Finds the social equity setting where groupId = ? and classNameId = ? and actionId = ? and type = ? or returns null if it could not be found, optionally using the finder cache. |
SocialEquitySetting |
fetchByPrimaryKey(long equitySettingId)
Finds the social equity setting with the primary key or returns null if it could not be found. |
List<SocialEquitySetting> |
findAll()
Finds all the social equity settings. |
List<SocialEquitySetting> |
findAll(int start,
int end)
Finds a range of all the social equity settings. |
List<SocialEquitySetting> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the social equity settings. |
SocialEquitySetting |
findByG_C_A_First(long groupId,
long classNameId,
String actionId,
OrderByComparator orderByComparator)
Finds the first social equity setting in the ordered set where groupId = ? and classNameId = ? and actionId = ?. |
SocialEquitySetting |
findByG_C_A_Last(long groupId,
long classNameId,
String actionId,
OrderByComparator orderByComparator)
Finds the last social equity setting in the ordered set where groupId = ? and classNameId = ? and actionId = ?. |
SocialEquitySetting[] |
findByG_C_A_PrevAndNext(long equitySettingId,
long groupId,
long classNameId,
String actionId,
OrderByComparator orderByComparator)
Finds the social equity settings before and after the current social equity setting in the ordered set where groupId = ? and classNameId = ? and actionId = ?. |
SocialEquitySetting |
findByG_C_A_T(long groupId,
long classNameId,
String actionId,
int type)
Finds the social equity setting where groupId = ? and classNameId = ? and actionId = ? and type = ? or throws a NoSuchEquitySettingException if it could not be found. |
List<SocialEquitySetting> |
findByG_C_A(long groupId,
long classNameId,
String actionId)
Finds all the social equity settings where groupId = ? and classNameId = ? and actionId = ?. |
List<SocialEquitySetting> |
findByG_C_A(long groupId,
long classNameId,
String actionId,
int start,
int end)
Finds a range of all the social equity settings where groupId = ? and classNameId = ? and actionId = ?. |
List<SocialEquitySetting> |
findByG_C_A(long groupId,
long classNameId,
String actionId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the social equity settings where groupId = ? and classNameId = ? and actionId = ?. |
SocialEquitySetting |
findByPrimaryKey(long equitySettingId)
Finds the social equity setting with the primary key or throws a NoSuchEquitySettingException if it could not be found. |
SocialEquitySetting |
remove(long equitySettingId)
Removes the social equity setting with the primary key from the database. |
void |
removeAll()
Removes all the social equity settings from the database. |
void |
removeByG_C_A_T(long groupId,
long classNameId,
String actionId,
int type)
Removes the social equity setting where groupId = ? and classNameId = ? and actionId = ? and type = ? from the database. |
void |
removeByG_C_A(long groupId,
long classNameId,
String actionId)
Removes all the social equity settings where groupId = ? and classNameId = ? and actionId = ? from the database. |
SocialEquitySetting |
updateImpl(SocialEquitySetting socialEquitySetting,
boolean merge)
|
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update, update |
| Method Detail |
|---|
void cacheResult(SocialEquitySetting socialEquitySetting)
socialEquitySetting - the social equity setting to cachevoid cacheResult(List<SocialEquitySetting> socialEquitySettings)
socialEquitySettings - the social equity settings to cacheSocialEquitySetting create(long equitySettingId)
equitySettingId - the primary key for the new social equity setting
SocialEquitySetting remove(long equitySettingId)
throws SystemException,
NoSuchEquitySettingException
equitySettingId - the primary key of the social equity setting to remove
NoSuchEquitySettingException - if a social equity setting with the primary key could not be found
SystemException - if a system exception occurred
SocialEquitySetting updateImpl(SocialEquitySetting socialEquitySetting,
boolean merge)
throws SystemException
SystemException
SocialEquitySetting findByPrimaryKey(long equitySettingId)
throws SystemException,
NoSuchEquitySettingException
NoSuchEquitySettingException if it could not be found.
equitySettingId - the primary key of the social equity setting to find
NoSuchEquitySettingException - if a social equity setting with the primary key could not be found
SystemException - if a system exception occurred
SocialEquitySetting fetchByPrimaryKey(long equitySettingId)
throws SystemException
null if it could not be found.
equitySettingId - the primary key of the social equity setting to find
null if a social equity setting with the primary key could not be found
SystemException - if a system exception occurred
List<SocialEquitySetting> findByG_C_A(long groupId,
long classNameId,
String actionId)
throws SystemException
groupId - the group id to search withclassNameId - the class name id to search withactionId - the action id to search with
SystemException - if a system exception occurred
List<SocialEquitySetting> findByG_C_A(long groupId,
long classNameId,
String actionId,
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.
groupId - the group id to search withclassNameId - the class name id to search withactionId - the action id to search withstart - the lower bound of the range of social equity settings to returnend - the upper bound of the range of social equity settings to return (not inclusive)
SystemException - if a system exception occurred
List<SocialEquitySetting> findByG_C_A(long groupId,
long classNameId,
String actionId,
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.
groupId - the group id to search withclassNameId - the class name id to search withactionId - the action id to search withstart - the lower bound of the range of social equity settings to returnend - the upper bound of the range of social equity settings to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
SocialEquitySetting findByG_C_A_First(long groupId,
long classNameId,
String actionId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEquitySettingException
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.
groupId - the group id to search withclassNameId - the class name id to search withactionId - the action id to search withorderByComparator - the comparator to order the set by
NoSuchEquitySettingException - if a matching social equity setting could not be found
SystemException - if a system exception occurred
SocialEquitySetting findByG_C_A_Last(long groupId,
long classNameId,
String actionId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEquitySettingException
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.
groupId - the group id to search withclassNameId - the class name id to search withactionId - the action id to search withorderByComparator - the comparator to order the set by
NoSuchEquitySettingException - if a matching social equity setting could not be found
SystemException - if a system exception occurred
SocialEquitySetting[] findByG_C_A_PrevAndNext(long equitySettingId,
long groupId,
long classNameId,
String actionId,
OrderByComparator orderByComparator)
throws SystemException,
NoSuchEquitySettingException
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.
equitySettingId - the primary key of the current social equity settinggroupId - the group id to search withclassNameId - the class name id to search withactionId - the action id to search withorderByComparator - the comparator to order the set by
NoSuchEquitySettingException - if a social equity setting with the primary key could not be found
SystemException - if a system exception occurred
SocialEquitySetting findByG_C_A_T(long groupId,
long classNameId,
String actionId,
int type)
throws SystemException,
NoSuchEquitySettingException
NoSuchEquitySettingException if it could not be found.
groupId - the group id to search withclassNameId - the class name id to search withactionId - the action id to search withtype - the type to search with
NoSuchEquitySettingException - if a matching social equity setting could not be found
SystemException - if a system exception occurred
SocialEquitySetting fetchByG_C_A_T(long groupId,
long classNameId,
String actionId,
int type)
throws SystemException
null if it could not be found. Uses the finder cache.
groupId - the group id to search withclassNameId - the class name id to search withactionId - the action id to search withtype - the type to search with
null if a matching social equity setting could not be found
SystemException - if a system exception occurred
SocialEquitySetting fetchByG_C_A_T(long groupId,
long classNameId,
String actionId,
int type,
boolean retrieveFromCache)
throws SystemException
null if it could not be found, optionally using the finder cache.
groupId - the group id to search withclassNameId - the class name id to search withactionId - the action id to search withtype - the type to search with
null if a matching social equity setting could not be found
SystemException - if a system exception occurred
List<SocialEquitySetting> findAll()
throws SystemException
SystemException - if a system exception occurred
List<SocialEquitySetting> 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 settings to returnend - the upper bound of the range of social equity settings to return (not inclusive)
SystemException - if a system exception occurred
List<SocialEquitySetting> 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 settings to returnend - the upper bound of the range of social equity settings to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
void removeByG_C_A(long groupId,
long classNameId,
String actionId)
throws SystemException
groupId - the group id to search withclassNameId - the class name id to search withactionId - the action id to search with
SystemException - if a system exception occurred
void removeByG_C_A_T(long groupId,
long classNameId,
String actionId,
int type)
throws SystemException,
NoSuchEquitySettingException
groupId - the group id to search withclassNameId - the class name id to search withactionId - the action id to search withtype - the type to search with
SystemException - if a system exception occurred
NoSuchEquitySettingException
void removeAll()
throws SystemException
SystemException - if a system exception occurred
int countByG_C_A(long groupId,
long classNameId,
String actionId)
throws SystemException
groupId - the group id to search withclassNameId - the class name id to search withactionId - the action id to search with
SystemException - if a system exception occurred
int countByG_C_A_T(long groupId,
long classNameId,
String actionId,
int type)
throws SystemException
groupId - the group id to search withclassNameId - the class name id to search withactionId - the action id to search withtype - the type to search with
SystemException - if a system exception occurred
int countAll()
throws SystemException
SystemException - if a system exception occurred
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||