--- /dev/null
+/**
+ * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
+ *
+ * This library is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU Lesser General Public License as published by the Free
+ * Software Foundation; either version 2.1 of the License, or (at your option)
+ * any later version.
+ *
+ * This library is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+ * details.
+ */
+
+package com.pentila.entSavoie.communityInfos.service.persistence;
+
+import com.liferay.portal.NoSuchModelException;
+import com.liferay.portal.kernel.bean.BeanReference;
+import com.liferay.portal.kernel.cache.CacheRegistryUtil;
+import com.liferay.portal.kernel.dao.orm.EntityCacheUtil;
+import com.liferay.portal.kernel.dao.orm.FinderCacheUtil;
+import com.liferay.portal.kernel.dao.orm.FinderPath;
+import com.liferay.portal.kernel.dao.orm.Query;
+import com.liferay.portal.kernel.dao.orm.QueryUtil;
+import com.liferay.portal.kernel.dao.orm.Session;
+import com.liferay.portal.kernel.exception.SystemException;
+import com.liferay.portal.kernel.log.Log;
+import com.liferay.portal.kernel.log.LogFactoryUtil;
+import com.liferay.portal.kernel.portlet.PortletClassLoaderUtil;
+import com.liferay.portal.kernel.util.GetterUtil;
+import com.liferay.portal.kernel.util.InstanceFactory;
+import com.liferay.portal.kernel.util.OrderByComparator;
+import com.liferay.portal.kernel.util.PropsKeys;
+import com.liferay.portal.kernel.util.PropsUtil;
+import com.liferay.portal.kernel.util.StringBundler;
+import com.liferay.portal.kernel.util.StringUtil;
+import com.liferay.portal.model.CacheModel;
+import com.liferay.portal.model.ModelListener;
+import com.liferay.portal.service.persistence.BatchSessionUtil;
+import com.liferay.portal.service.persistence.ResourcePersistence;
+import com.liferay.portal.service.persistence.UserPersistence;
+import com.liferay.portal.service.persistence.impl.BasePersistenceImpl;
+
+import com.pentila.entSavoie.communityInfos.NoSuchGroupInfosException;
+import com.pentila.entSavoie.communityInfos.model.GroupInfos;
+import com.pentila.entSavoie.communityInfos.model.impl.GroupInfosImpl;
+import com.pentila.entSavoie.communityInfos.model.impl.GroupInfosModelImpl;
+
+import java.io.Serializable;
+
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+
+/**
+ * The persistence implementation for the group infos service.
+ *
+ * <p>
+ * Caching information and settings can be found in <code>portal.properties</code>
+ * </p>
+ *
+ * @author Barma Igor
+ * @see GroupInfosPersistence
+ * @see GroupInfosUtil
+ * @generated
+ */
+public class GroupInfosPersistenceImpl extends BasePersistenceImpl<GroupInfos>
+ implements GroupInfosPersistence {
+ /*
+ * NOTE FOR DEVELOPERS:
+ *
+ * Never modify or reference this class directly. Always use {@link GroupInfosUtil} to access the group infos persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this class.
+ */
+ public static final String FINDER_CLASS_NAME_ENTITY = GroupInfosImpl.class.getName();
+ public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION = FINDER_CLASS_NAME_ENTITY +
+ ".List1";
+ public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION = FINDER_CLASS_NAME_ENTITY +
+ ".List2";
+ public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL = new FinderPath(GroupInfosModelImpl.ENTITY_CACHE_ENABLED,
+ GroupInfosModelImpl.FINDER_CACHE_ENABLED, GroupInfosImpl.class,
+ FINDER_CLASS_NAME_LIST_WITH_PAGINATION, "findAll", new String[0]);
+ public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL = new FinderPath(GroupInfosModelImpl.ENTITY_CACHE_ENABLED,
+ GroupInfosModelImpl.FINDER_CACHE_ENABLED, GroupInfosImpl.class,
+ FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "findAll", new String[0]);
+ public static final FinderPath FINDER_PATH_COUNT_ALL = new FinderPath(GroupInfosModelImpl.ENTITY_CACHE_ENABLED,
+ GroupInfosModelImpl.FINDER_CACHE_ENABLED, Long.class,
+ FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION, "countAll", new String[0]);
+
+ /**
+ * Caches the group infos in the entity cache if it is enabled.
+ *
+ * @param groupInfos the group infos
+ */
+ public void cacheResult(GroupInfos groupInfos) {
+ EntityCacheUtil.putResult(GroupInfosModelImpl.ENTITY_CACHE_ENABLED,
+ GroupInfosImpl.class, groupInfos.getPrimaryKey(), groupInfos);
+
+ groupInfos.resetOriginalValues();
+ }
+
+ /**
+ * Caches the group infoses in the entity cache if it is enabled.
+ *
+ * @param groupInfoses the group infoses
+ */
+ public void cacheResult(List<GroupInfos> groupInfoses) {
+ for (GroupInfos groupInfos : groupInfoses) {
+ if (EntityCacheUtil.getResult(
+ GroupInfosModelImpl.ENTITY_CACHE_ENABLED,
+ GroupInfosImpl.class, groupInfos.getPrimaryKey()) == null) {
+ cacheResult(groupInfos);
+ }
+ else {
+ groupInfos.resetOriginalValues();
+ }
+ }
+ }
+
+ /**
+ * Clears the cache for all group infoses.
+ *
+ * <p>
+ * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method.
+ * </p>
+ */
+ @Override
+ public void clearCache() {
+ if (_HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE) {
+ CacheRegistryUtil.clear(GroupInfosImpl.class.getName());
+ }
+
+ EntityCacheUtil.clearCache(GroupInfosImpl.class.getName());
+
+ FinderCacheUtil.clearCache(FINDER_CLASS_NAME_ENTITY);
+ FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
+ FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
+ }
+
+ /**
+ * Clears the cache for the group infos.
+ *
+ * <p>
+ * The {@link com.liferay.portal.kernel.dao.orm.EntityCache} and {@link com.liferay.portal.kernel.dao.orm.FinderCache} are both cleared by this method.
+ * </p>
+ */
+ @Override
+ public void clearCache(GroupInfos groupInfos) {
+ EntityCacheUtil.removeResult(GroupInfosModelImpl.ENTITY_CACHE_ENABLED,
+ GroupInfosImpl.class, groupInfos.getPrimaryKey());
+
+ FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
+ FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
+ }
+
+ @Override
+ public void clearCache(List<GroupInfos> groupInfoses) {
+ FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
+ FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
+
+ for (GroupInfos groupInfos : groupInfoses) {
+ EntityCacheUtil.removeResult(GroupInfosModelImpl.ENTITY_CACHE_ENABLED,
+ GroupInfosImpl.class, groupInfos.getPrimaryKey());
+ }
+ }
+
+ /**
+ * Creates a new group infos with the primary key. Does not add the group infos to the database.
+ *
+ * @param groupId the primary key for the new group infos
+ * @return the new group infos
+ */
+ public GroupInfos create(long groupId) {
+ GroupInfos groupInfos = new GroupInfosImpl();
+
+ groupInfos.setNew(true);
+ groupInfos.setPrimaryKey(groupId);
+
+ return groupInfos;
+ }
+
+ /**
+ * Removes the group infos with the primary key from the database. Also notifies the appropriate model listeners.
+ *
+ * @param groupId the primary key of the group infos
+ * @return the group infos that was removed
+ * @throws com.pentila.entSavoie.communityInfos.NoSuchGroupInfosException if a group infos with the primary key could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public GroupInfos remove(long groupId)
+ throws NoSuchGroupInfosException, SystemException {
+ return remove(Long.valueOf(groupId));
+ }
+
+ /**
+ * Removes the group infos with the primary key from the database. Also notifies the appropriate model listeners.
+ *
+ * @param primaryKey the primary key of the group infos
+ * @return the group infos that was removed
+ * @throws com.pentila.entSavoie.communityInfos.NoSuchGroupInfosException if a group infos with the primary key could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ @Override
+ public GroupInfos remove(Serializable primaryKey)
+ throws NoSuchGroupInfosException, SystemException {
+ Session session = null;
+
+ try {
+ session = openSession();
+
+ GroupInfos groupInfos = (GroupInfos)session.get(GroupInfosImpl.class,
+ primaryKey);
+
+ if (groupInfos == null) {
+ if (_log.isWarnEnabled()) {
+ _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey);
+ }
+
+ throw new NoSuchGroupInfosException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY +
+ primaryKey);
+ }
+
+ return remove(groupInfos);
+ }
+ catch (NoSuchGroupInfosException nsee) {
+ throw nsee;
+ }
+ catch (Exception e) {
+ throw processException(e);
+ }
+ finally {
+ closeSession(session);
+ }
+ }
+
+ @Override
+ protected GroupInfos removeImpl(GroupInfos groupInfos)
+ throws SystemException {
+ groupInfos = toUnwrappedModel(groupInfos);
+
+ Session session = null;
+
+ try {
+ session = openSession();
+
+ BatchSessionUtil.delete(session, groupInfos);
+ }
+ catch (Exception e) {
+ throw processException(e);
+ }
+ finally {
+ closeSession(session);
+ }
+
+ clearCache(groupInfos);
+
+ return groupInfos;
+ }
+
+ @Override
+ public GroupInfos updateImpl(
+ com.pentila.entSavoie.communityInfos.model.GroupInfos groupInfos,
+ boolean merge) throws SystemException {
+ groupInfos = toUnwrappedModel(groupInfos);
+
+ boolean isNew = groupInfos.isNew();
+
+ Session session = null;
+
+ try {
+ session = openSession();
+
+ BatchSessionUtil.update(session, groupInfos, merge);
+
+ groupInfos.setNew(false);
+ }
+ catch (Exception e) {
+ throw processException(e);
+ }
+ finally {
+ closeSession(session);
+ }
+
+ FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
+
+ if (isNew) {
+ FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
+ }
+
+ EntityCacheUtil.putResult(GroupInfosModelImpl.ENTITY_CACHE_ENABLED,
+ GroupInfosImpl.class, groupInfos.getPrimaryKey(), groupInfos);
+
+ return groupInfos;
+ }
+
+ protected GroupInfos toUnwrappedModel(GroupInfos groupInfos) {
+ if (groupInfos instanceof GroupInfosImpl) {
+ return groupInfos;
+ }
+
+ GroupInfosImpl groupInfosImpl = new GroupInfosImpl();
+
+ groupInfosImpl.setNew(groupInfos.isNew());
+ groupInfosImpl.setPrimaryKey(groupInfos.getPrimaryKey());
+
+ groupInfosImpl.setGroupId(groupInfos.getGroupId());
+ groupInfosImpl.setDefaultGroupView(groupInfos.getDefaultGroupView());
+
+ return groupInfosImpl;
+ }
+
+ /**
+ * Returns the group infos with the primary key or throws a {@link com.liferay.portal.NoSuchModelException} if it could not be found.
+ *
+ * @param primaryKey the primary key of the group infos
+ * @return the group infos
+ * @throws com.liferay.portal.NoSuchModelException if a group infos with the primary key could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ @Override
+ public GroupInfos findByPrimaryKey(Serializable primaryKey)
+ throws NoSuchModelException, SystemException {
+ return findByPrimaryKey(((Long)primaryKey).longValue());
+ }
+
+ /**
+ * Returns the group infos with the primary key or throws a {@link com.pentila.entSavoie.communityInfos.NoSuchGroupInfosException} if it could not be found.
+ *
+ * @param groupId the primary key of the group infos
+ * @return the group infos
+ * @throws com.pentila.entSavoie.communityInfos.NoSuchGroupInfosException if a group infos with the primary key could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public GroupInfos findByPrimaryKey(long groupId)
+ throws NoSuchGroupInfosException, SystemException {
+ GroupInfos groupInfos = fetchByPrimaryKey(groupId);
+
+ if (groupInfos == null) {
+ if (_log.isWarnEnabled()) {
+ _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + groupId);
+ }
+
+ throw new NoSuchGroupInfosException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY +
+ groupId);
+ }
+
+ return groupInfos;
+ }
+
+ /**
+ * Returns the group infos with the primary key or returns <code>null</code> if it could not be found.
+ *
+ * @param primaryKey the primary key of the group infos
+ * @return the group infos, or <code>null</code> if a group infos with the primary key could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ @Override
+ public GroupInfos fetchByPrimaryKey(Serializable primaryKey)
+ throws SystemException {
+ return fetchByPrimaryKey(((Long)primaryKey).longValue());
+ }
+
+ /**
+ * Returns the group infos with the primary key or returns <code>null</code> if it could not be found.
+ *
+ * @param groupId the primary key of the group infos
+ * @return the group infos, or <code>null</code> if a group infos with the primary key could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ public GroupInfos fetchByPrimaryKey(long groupId) throws SystemException {
+ GroupInfos groupInfos = (GroupInfos)EntityCacheUtil.getResult(GroupInfosModelImpl.ENTITY_CACHE_ENABLED,
+ GroupInfosImpl.class, groupId);
+
+ if (groupInfos == _nullGroupInfos) {
+ return null;
+ }
+
+ if (groupInfos == null) {
+ Session session = null;
+
+ boolean hasException = false;
+
+ try {
+ session = openSession();
+
+ groupInfos = (GroupInfos)session.get(GroupInfosImpl.class,
+ Long.valueOf(groupId));
+ }
+ catch (Exception e) {
+ hasException = true;
+
+ throw processException(e);
+ }
+ finally {
+ if (groupInfos != null) {
+ cacheResult(groupInfos);
+ }
+ else if (!hasException) {
+ EntityCacheUtil.putResult(GroupInfosModelImpl.ENTITY_CACHE_ENABLED,
+ GroupInfosImpl.class, groupId, _nullGroupInfos);
+ }
+
+ closeSession(session);
+ }
+ }
+
+ return groupInfos;
+ }
+
+ /**
+ * Returns all the group infoses.
+ *
+ * @return the group infoses
+ * @throws SystemException if a system exception occurred
+ */
+ public List<GroupInfos> findAll() throws SystemException {
+ return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
+ }
+
+ /**
+ * Returns a range of all the group infoses.
+ *
+ * <p>
+ * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
+ * </p>
+ *
+ * @param start the lower bound of the range of group infoses
+ * @param end the upper bound of the range of group infoses (not inclusive)
+ * @return the range of group infoses
+ * @throws SystemException if a system exception occurred
+ */
+ public List<GroupInfos> findAll(int start, int end)
+ throws SystemException {
+ return findAll(start, end, null);
+ }
+
+ /**
+ * Returns an ordered range of all the group infoses.
+ *
+ * <p>
+ * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
+ * </p>
+ *
+ * @param start the lower bound of the range of group infoses
+ * @param end the upper bound of the range of group infoses (not inclusive)
+ * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
+ * @return the ordered range of group infoses
+ * @throws SystemException if a system exception occurred
+ */
+ public List<GroupInfos> findAll(int start, int end,
+ OrderByComparator orderByComparator) throws SystemException {
+ FinderPath finderPath = null;
+ Object[] finderArgs = new Object[] { start, end, orderByComparator };
+
+ if ((start == QueryUtil.ALL_POS) && (end == QueryUtil.ALL_POS) &&
+ (orderByComparator == null)) {
+ finderPath = FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL;
+ finderArgs = FINDER_ARGS_EMPTY;
+ }
+ else {
+ finderPath = FINDER_PATH_WITH_PAGINATION_FIND_ALL;
+ finderArgs = new Object[] { start, end, orderByComparator };
+ }
+
+ List<GroupInfos> list = (List<GroupInfos>)FinderCacheUtil.getResult(finderPath,
+ finderArgs, this);
+
+ if (list == null) {
+ StringBundler query = null;
+ String sql = null;
+
+ if (orderByComparator != null) {
+ query = new StringBundler(2 +
+ (orderByComparator.getOrderByFields().length * 3));
+
+ query.append(_SQL_SELECT_GROUPINFOS);
+
+ appendOrderByComparator(query, _ORDER_BY_ENTITY_ALIAS,
+ orderByComparator);
+
+ sql = query.toString();
+ }
+ else {
+ sql = _SQL_SELECT_GROUPINFOS;
+ }
+
+ Session session = null;
+
+ try {
+ session = openSession();
+
+ Query q = session.createQuery(sql);
+
+ if (orderByComparator == null) {
+ list = (List<GroupInfos>)QueryUtil.list(q, getDialect(),
+ start, end, false);
+
+ Collections.sort(list);
+ }
+ else {
+ list = (List<GroupInfos>)QueryUtil.list(q, getDialect(),
+ start, end);
+ }
+ }
+ catch (Exception e) {
+ throw processException(e);
+ }
+ finally {
+ if (list == null) {
+ FinderCacheUtil.removeResult(finderPath, finderArgs);
+ }
+ else {
+ cacheResult(list);
+
+ FinderCacheUtil.putResult(finderPath, finderArgs, list);
+ }
+
+ closeSession(session);
+ }
+ }
+
+ return list;
+ }
+
+ /**
+ * Removes all the group infoses from the database.
+ *
+ * @throws SystemException if a system exception occurred
+ */
+ public void removeAll() throws SystemException {
+ for (GroupInfos groupInfos : findAll()) {
+ remove(groupInfos);
+ }
+ }
+
+ /**
+ * Returns the number of group infoses.
+ *
+ * @return the number of group infoses
+ * @throws SystemException if a system exception occurred
+ */
+ public int countAll() throws SystemException {
+ Long count = (Long)FinderCacheUtil.getResult(FINDER_PATH_COUNT_ALL,
+ FINDER_ARGS_EMPTY, this);
+
+ if (count == null) {
+ Session session = null;
+
+ try {
+ session = openSession();
+
+ Query q = session.createQuery(_SQL_COUNT_GROUPINFOS);
+
+ count = (Long)q.uniqueResult();
+ }
+ catch (Exception e) {
+ throw processException(e);
+ }
+ finally {
+ if (count == null) {
+ count = Long.valueOf(0);
+ }
+
+ FinderCacheUtil.putResult(FINDER_PATH_COUNT_ALL,
+ FINDER_ARGS_EMPTY, count);
+
+ closeSession(session);
+ }
+ }
+
+ return count.intValue();
+ }
+
+ /**
+ * Initializes the group infos persistence.
+ */
+ public void afterPropertiesSet() {
+ String[] listenerClassNames = StringUtil.split(GetterUtil.getString(
+ com.liferay.util.service.ServiceProps.get(
+ "value.object.listener.com.pentila.entSavoie.communityInfos.model.GroupInfos")));
+
+ if (listenerClassNames.length > 0) {
+ try {
+ List<ModelListener<GroupInfos>> listenersList = new ArrayList<ModelListener<GroupInfos>>();
+
+ for (String listenerClassName : listenerClassNames) {
+ listenersList.add((ModelListener<GroupInfos>)InstanceFactory.newInstance(
+ PortletClassLoaderUtil.getClassLoader(),
+ listenerClassName, (Class<?>[])null, (Object[])null));
+ }
+
+ listeners = listenersList.toArray(new ModelListener[listenersList.size()]);
+ }
+ catch (Exception e) {
+ _log.error(e);
+ }
+ }
+ }
+
+ public void destroy() {
+ EntityCacheUtil.removeCache(GroupInfosImpl.class.getName());
+ FinderCacheUtil.removeCache(FINDER_CLASS_NAME_ENTITY);
+ FinderCacheUtil.removeCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
+ }
+
+ @BeanReference(type = CommunityInfosPersistence.class)
+ protected CommunityInfosPersistence communityInfosPersistence;
+ @BeanReference(type = GroupInfosPersistence.class)
+ protected GroupInfosPersistence groupInfosPersistence;
+ @BeanReference(type = OrganizationCiteScolairePersistence.class)
+ protected OrganizationCiteScolairePersistence organizationCiteScolairePersistence;
+ @BeanReference(type = OrganizationMappingPersistence.class)
+ protected OrganizationMappingPersistence organizationMappingPersistence;
+ @BeanReference(type = ResourcePersistence.class)
+ protected ResourcePersistence resourcePersistence;
+ @BeanReference(type = UserPersistence.class)
+ protected UserPersistence userPersistence;
+ private static final String _SQL_SELECT_GROUPINFOS = "SELECT groupInfos FROM GroupInfos groupInfos";
+ private static final String _SQL_COUNT_GROUPINFOS = "SELECT COUNT(groupInfos) FROM GroupInfos groupInfos";
+ private static final String _ORDER_BY_ENTITY_ALIAS = "groupInfos.";
+ private static final String _NO_SUCH_ENTITY_WITH_PRIMARY_KEY = "No GroupInfos exists with the primary key ";
+ private static final boolean _HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE = GetterUtil.getBoolean(PropsUtil.get(
+ PropsKeys.HIBERNATE_CACHE_USE_SECOND_LEVEL_CACHE));
+ private static Log _log = LogFactoryUtil.getLog(GroupInfosPersistenceImpl.class);
+ private static GroupInfos _nullGroupInfos = new GroupInfosImpl() {
+ @Override
+ public Object clone() {
+ return this;
+ }
+
+ @Override
+ public CacheModel<GroupInfos> toCacheModel() {
+ return _nullGroupInfosCacheModel;
+ }
+ };
+
+ private static CacheModel<GroupInfos> _nullGroupInfosCacheModel = new CacheModel<GroupInfos>() {
+ public GroupInfos toEntityModel() {
+ return _nullGroupInfos;
+ }
+ };
+}
\ No newline at end of file