|
Liferay 6.0-ee | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.liferay.portlet.social.service.persistence.SocialEquityGroupSettingUtil
public class SocialEquityGroupSettingUtil
The persistence utility for the social equity group setting service. This utility wraps SocialEquityGroupSettingPersistenceImpl
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
SocialEquityGroupSettingPersistence
,
SocialEquityGroupSettingPersistenceImpl
Constructor Summary | |
---|---|
SocialEquityGroupSettingUtil()
|
Method Summary | |
---|---|
static void |
cacheResult(List<SocialEquityGroupSetting> socialEquityGroupSettings)
Caches the social equity group settings in the entity cache if it is enabled. |
static void |
cacheResult(SocialEquityGroupSetting socialEquityGroupSetting)
Caches the social equity group setting in the entity cache if it is enabled. |
static void |
clearCache()
|
static void |
clearCache(SocialEquityGroupSetting socialEquityGroupSetting)
|
static int |
countAll()
Counts all the social equity group settings. |
static int |
countByG_C_T(long groupId,
long classNameId,
int type)
Counts all the social equity group settings where groupId = ? and classNameId = ? and type = ?. |
long |
countWithDynamicQuery(DynamicQuery dynamicQuery)
|
static SocialEquityGroupSetting |
create(long equityGroupSettingId)
Creates a new social equity group setting with the primary key. |
static 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. |
static 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. |
static SocialEquityGroupSetting |
fetchByPrimaryKey(long equityGroupSettingId)
Finds the social equity group setting with the primary key or returns null if it could not be found. |
static List<SocialEquityGroupSetting> |
findAll()
Finds all the social equity group settings. |
static List<SocialEquityGroupSetting> |
findAll(int start,
int end)
Finds a range of all the social equity group settings. |
static List<SocialEquityGroupSetting> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the social equity group settings. |
static 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. |
static SocialEquityGroupSetting |
findByPrimaryKey(long equityGroupSettingId)
Finds the social equity group setting with the primary key or throws a NoSuchEquityGroupSettingException if it could not be found. |
static List<SocialEquityGroupSetting> |
findWithDynamicQuery(DynamicQuery dynamicQuery)
|
static List<SocialEquityGroupSetting> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static List<SocialEquityGroupSetting> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static SocialEquityGroupSettingPersistence |
getPersistence()
|
static SocialEquityGroupSetting |
remove(long equityGroupSettingId)
Removes the social equity group setting with the primary key from the database. |
static SocialEquityGroupSetting |
remove(SocialEquityGroupSetting socialEquityGroupSetting)
|
static void |
removeAll()
Removes all the social equity group settings from the database. |
static 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. |
void |
setPersistence(SocialEquityGroupSettingPersistence persistence)
|
static SocialEquityGroupSetting |
update(SocialEquityGroupSetting socialEquityGroupSetting,
boolean merge)
|
static SocialEquityGroupSetting |
update(SocialEquityGroupSetting socialEquityGroupSetting,
boolean merge,
ServiceContext serviceContext)
|
static SocialEquityGroupSetting |
updateImpl(SocialEquityGroupSetting socialEquityGroupSetting,
boolean merge)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SocialEquityGroupSettingUtil()
Method Detail |
---|
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(SocialEquityGroupSetting socialEquityGroupSetting)
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)
public long countWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemException
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static List<SocialEquityGroupSetting> findWithDynamicQuery(DynamicQuery dynamicQuery) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static List<SocialEquityGroupSetting> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static List<SocialEquityGroupSetting> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
SystemException
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static SocialEquityGroupSetting remove(SocialEquityGroupSetting socialEquityGroupSetting) throws SystemException
SystemException
BasePersistence.remove(com.liferay.portal.model.BaseModel)
public static SocialEquityGroupSetting update(SocialEquityGroupSetting socialEquityGroupSetting, boolean merge) throws SystemException
SystemException
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
public static SocialEquityGroupSetting update(SocialEquityGroupSetting socialEquityGroupSetting, boolean merge, ServiceContext serviceContext) throws SystemException
SystemException
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)
public static void cacheResult(SocialEquityGroupSetting socialEquityGroupSetting)
socialEquityGroupSetting
- the social equity group setting to cachepublic static void cacheResult(List<SocialEquityGroupSetting> socialEquityGroupSettings)
socialEquityGroupSettings
- the social equity group settings to cachepublic static SocialEquityGroupSetting create(long equityGroupSettingId)
equityGroupSettingId
- the primary key for the new social equity group setting
public static 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 occurredpublic static SocialEquityGroupSetting updateImpl(SocialEquityGroupSetting socialEquityGroupSetting, boolean merge) throws SystemException
SystemException
public static 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 occurredpublic static 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 occurredpublic static 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 occurredpublic static 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 occurredpublic static 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 occurredpublic static List<SocialEquityGroupSetting> findAll() throws SystemException
SystemException
- if a system exception occurredpublic static 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 occurredpublic static 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 occurredpublic static 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
public static void removeAll() throws SystemException
SystemException
- if a system exception occurredpublic static 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 occurredpublic static int countAll() throws SystemException
SystemException
- if a system exception occurredpublic static SocialEquityGroupSettingPersistence getPersistence()
public void setPersistence(SocialEquityGroupSettingPersistence persistence)
|
Liferay 6.0-ee | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |