|
Liferay 6.0-ee | |||||||||
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.
Never modify or reference this interface directly. Always use SocialEquityGroupSettingUtil
to access the social equity group setting persistence. Modify service.xml
and rerun ServiceBuilder to regenerate this interface.
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. |
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, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, 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 occurredSocialEquityGroupSetting 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 occurredSocialEquityGroupSetting 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 occurredSocialEquityGroupSetting 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 occurredSocialEquityGroupSetting 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 occurredSocialEquityGroupSetting 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 occurredList<SocialEquityGroupSetting> findAll() throws SystemException
SystemException
- if a system exception occurredList<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 occurredList<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 occurredvoid 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 occurredint 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 occurredint countAll() throws SystemException
SystemException
- if a system exception occurred
|
Liferay 6.0-ee | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |