|
Liferay 6.0-ee-sp2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SocialEquityGroupSettingPersistence
The persistence interface for the social equity group setting service.
Caching information and settings can be found in portal.properties
SocialEquityGroupSettingPersistenceImpl,
SocialEquityGroupSettingUtil| Method Summary | |
|---|---|
void |
cacheResult(List<SocialEquityGroupSetting> socialEquityGroupSettings)
Caches the social equity group settings in the entity cache if it is enabled. |
void |
cacheResult(SocialEquityGroupSetting socialEquityGroupSetting)
Caches the social equity group setting in the entity cache if it is enabled. |
int |
countAll()
Counts all the social equity group settings. |
int |
countByG_C_T(long groupId,
long classNameId,
int type)
Counts all the social equity group settings where groupId = ? and classNameId = ? and type = ?. |
SocialEquityGroupSetting |
create(long equityGroupSettingId)
Creates a new social equity group setting with the primary key. |
SocialEquityGroupSetting |
fetchByG_C_T(long groupId,
long classNameId,
int type)
Finds the social equity group setting where groupId = ? and classNameId = ? and type = ? or returns null if it could not be found. |
SocialEquityGroupSetting |
fetchByG_C_T(long groupId,
long classNameId,
int type,
boolean retrieveFromCache)
Finds the social equity group setting where groupId = ? and classNameId = ? and type = ? or returns null if it could not be found, optionally using the finder cache. |
SocialEquityGroupSetting |
fetchByPrimaryKey(long equityGroupSettingId)
Finds the social equity group setting with the primary key or returns null if it could not be found. |
List<SocialEquityGroupSetting> |
findAll()
Finds all the social equity group settings. |
List<SocialEquityGroupSetting> |
findAll(int start,
int end)
Finds a range of all the social equity group settings. |
List<SocialEquityGroupSetting> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the social equity group settings. |
SocialEquityGroupSetting |
findByG_C_T(long groupId,
long classNameId,
int type)
Finds the social equity group setting where groupId = ? and classNameId = ? and type = ? or throws a NoSuchEquityGroupSettingException if it could not be found. |
SocialEquityGroupSetting |
findByPrimaryKey(long equityGroupSettingId)
Finds the social equity group setting with the primary key or throws a NoSuchEquityGroupSettingException if it could not be found. |
SocialEquityGroupSetting |
remove(long equityGroupSettingId)
Removes the social equity group setting with the primary key from the database. |
SocialEquityGroupSetting |
remove(SocialEquityGroupSetting socialEquityGroupSetting)
Removes the model instance from the database. |
void |
removeAll()
Removes all the social equity group settings from the database. |
void |
removeByG_C_T(long groupId,
long classNameId,
int type)
Removes the social equity group setting where groupId = ? and classNameId = ? and type = ? from the database. |
SocialEquityGroupSetting |
updateImpl(SocialEquityGroupSetting socialEquityGroupSetting,
boolean merge)
|
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
clearCache, clearCache, closeSession, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update |
| Method Detail |
|---|
void cacheResult(SocialEquityGroupSetting socialEquityGroupSetting)
socialEquityGroupSetting - the social equity group setting to cachevoid cacheResult(List<SocialEquityGroupSetting> socialEquityGroupSettings)
socialEquityGroupSettings - the social equity group settings to cacheSocialEquityGroupSetting create(long equityGroupSettingId)
equityGroupSettingId - the primary key for the new social equity group setting
SocialEquityGroupSetting remove(long equityGroupSettingId)
throws SystemException,
NoSuchEquityGroupSettingException
equityGroupSettingId - the primary key of the social equity group setting to remove
NoSuchEquityGroupSettingException - if a social equity group setting with the primary key could not be found
SystemException - if a system exception occurred
SocialEquityGroupSetting updateImpl(SocialEquityGroupSetting socialEquityGroupSetting,
boolean merge)
throws SystemException
SystemException
SocialEquityGroupSetting findByPrimaryKey(long equityGroupSettingId)
throws SystemException,
NoSuchEquityGroupSettingException
NoSuchEquityGroupSettingException if it could not be found.
equityGroupSettingId - the primary key of the social equity group setting to find
NoSuchEquityGroupSettingException - if a social equity group setting with the primary key could not be found
SystemException - if a system exception occurred
SocialEquityGroupSetting fetchByPrimaryKey(long equityGroupSettingId)
throws SystemException
null if it could not be found.
equityGroupSettingId - the primary key of the social equity group setting to find
null if a social equity group setting with the primary key could not be found
SystemException - if a system exception occurred
SocialEquityGroupSetting findByG_C_T(long groupId,
long classNameId,
int type)
throws SystemException,
NoSuchEquityGroupSettingException
NoSuchEquityGroupSettingException if it could not be found.
groupId - the group ID to search withclassNameId - the class name ID to search withtype - the type to search with
NoSuchEquityGroupSettingException - if a matching social equity group setting could not be found
SystemException - if a system exception occurred
SocialEquityGroupSetting fetchByG_C_T(long groupId,
long classNameId,
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 withtype - the type to search with
null if a matching social equity group setting could not be found
SystemException - if a system exception occurred
SocialEquityGroupSetting fetchByG_C_T(long groupId,
long classNameId,
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 withtype - the type to search with
null if a matching social equity group setting could not be found
SystemException - if a system exception occurred
List<SocialEquityGroupSetting> findAll()
throws SystemException
SystemException - if a system exception occurred
List<SocialEquityGroupSetting> 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 group settings to returnend - the upper bound of the range of social equity group settings to return (not inclusive)
SystemException - if a system exception occurred
List<SocialEquityGroupSetting> 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 group settings to returnend - the upper bound of the range of social equity group settings to return (not inclusive)orderByComparator - the comparator to order the results by
SystemException - if a system exception occurred
void removeByG_C_T(long groupId,
long classNameId,
int type)
throws SystemException,
NoSuchEquityGroupSettingException
groupId - the group ID to search withclassNameId - the class name ID to search withtype - the type to search with
SystemException - if a system exception occurred
NoSuchEquityGroupSettingException
void removeAll()
throws SystemException
SystemException - if a system exception occurred
int countByG_C_T(long groupId,
long classNameId,
int type)
throws SystemException
groupId - the group ID to search withclassNameId - the class name 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
SocialEquityGroupSetting remove(SocialEquityGroupSetting socialEquityGroupSetting)
throws SystemException
BasePersistence
remove in interface BasePersistence<SocialEquityGroupSetting>socialEquityGroupSetting - the model instance to remove
SystemException - if a system exception occurred
|
Liferay 6.0-ee-sp2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||