|
Liferay 6.1.0 | |||||||||
| 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()
Returns the number of social equity group settings. |
int |
countByG_C_T(long groupId,
long classNameId,
int type)
Returns the number of 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)
Returns 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)
Returns 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)
Returns the social equity group setting with the primary key or returns null if it could not be found. |
List<SocialEquityGroupSetting> |
findAll()
Returns all the social equity group settings. |
List<SocialEquityGroupSetting> |
findAll(int start,
int end)
Returns a range of all the social equity group settings. |
List<SocialEquityGroupSetting> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the social equity group settings. |
SocialEquityGroupSetting |
findByG_C_T(long groupId,
long classNameId,
int type)
Returns 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)
Returns 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 settingvoid cacheResult(List<SocialEquityGroupSetting> socialEquityGroupSettings)
socialEquityGroupSettings - the social equity group settingsSocialEquityGroupSetting 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
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
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
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 IDclassNameId - the class name IDtype - the type
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 IDclassNameId - the class name IDtype - the type
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 IDclassNameId - the class name IDtype - the typeretrieveFromCache - whether to use the finder cache
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 settingsend - the upper bound of the range of social equity group settings (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 settingsend - the upper bound of the range of social equity group settings (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
void removeByG_C_T(long groupId,
long classNameId,
int type)
throws SystemException,
NoSuchEquityGroupSettingException
groupId - the group IDclassNameId - the class name IDtype - the type
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 IDclassNameId - the class name IDtype - the type
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.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||