001
014
015 package com.liferay.portlet.documentlibrary.service.persistence;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
020 import com.liferay.portal.kernel.util.ReferenceRegistry;
021
022
025 @ProviderType
026 public class DLFileEntryFinderUtil {
027 public static int countByExtraSettings()
028 throws com.liferay.portal.kernel.exception.SystemException {
029 return getFinder().countByExtraSettings();
030 }
031
032 public static int countByG_F(long groupId,
033 java.util.List<java.lang.Long> folderIds,
034 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
035 throws com.liferay.portal.kernel.exception.SystemException {
036 return getFinder().countByG_F(groupId, folderIds, queryDefinition);
037 }
038
039 public static int countByG_M_R(long groupId,
040 com.liferay.portal.kernel.util.DateRange dateRange, long repositoryId,
041 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
042 throws com.liferay.portal.kernel.exception.SystemException {
043 return getFinder()
044 .countByG_M_R(groupId, dateRange, repositoryId,
045 queryDefinition);
046 }
047
048 public static int countByG_U_F_M(long groupId, long userId,
049 java.util.List<java.lang.Long> folderIds, java.lang.String[] mimeTypes,
050 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
051 throws com.liferay.portal.kernel.exception.SystemException {
052 return getFinder()
053 .countByG_U_F_M(groupId, userId, folderIds, mimeTypes,
054 queryDefinition);
055 }
056
057 public static int filterCountByG_U_F_M(long groupId, long userId,
058 java.util.List<java.lang.Long> folderIds, java.lang.String[] mimeTypes,
059 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
060 throws com.liferay.portal.kernel.exception.SystemException {
061 return getFinder()
062 .filterCountByG_U_F_M(groupId, userId, folderIds, mimeTypes,
063 queryDefinition);
064 }
065
066 public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByAnyImageId(
067 long imageId)
068 throws com.liferay.portal.kernel.exception.SystemException {
069 return getFinder().fetchByAnyImageId(imageId);
070 }
071
072 public static int filterCountByG_F(long groupId,
073 java.util.List<java.lang.Long> folderIds,
074 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
075 throws com.liferay.portal.kernel.exception.SystemException {
076 return getFinder().filterCountByG_F(groupId, folderIds, queryDefinition);
077 }
078
079 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_F(
080 long groupId, java.util.List<java.lang.Long> folderIds,
081 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
082 throws com.liferay.portal.kernel.exception.SystemException {
083 return getFinder().filterFindByG_F(groupId, folderIds, queryDefinition);
084 }
085
086 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> filterFindByG_U_F_M(
087 long groupId, long userId, java.util.List<java.lang.Long> folderIds,
088 java.lang.String[] mimeTypes,
089 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
090 throws com.liferay.portal.kernel.exception.SystemException {
091 return getFinder()
092 .filterFindByG_U_F_M(groupId, userId, folderIds, mimeTypes,
093 queryDefinition);
094 }
095
096 public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByAnyImageId(
097 long imageId)
098 throws com.liferay.portal.kernel.exception.SystemException,
099 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
100 return getFinder().findByAnyImageId(imageId);
101 }
102
103 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByCompanyId(
104 long companyId,
105 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
106 throws com.liferay.portal.kernel.exception.SystemException {
107 return getFinder().findByCompanyId(companyId, queryDefinition);
108 }
109
110 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByDDMStructureIds(
111 long[] ddmStructureIds, int start, int end)
112 throws com.liferay.portal.kernel.exception.SystemException {
113 return getFinder().findByDDMStructureIds(ddmStructureIds, start, end);
114 }
115
116 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByDDMStructureIds(
117 long groupId, long[] ddmStructureIds, int start, int end)
118 throws com.liferay.portal.kernel.exception.SystemException {
119 return getFinder()
120 .findByDDMStructureIds(groupId, ddmStructureIds, start, end);
121 }
122
123 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByExtraSettings(
124 int start, int end)
125 throws com.liferay.portal.kernel.exception.SystemException {
126 return getFinder().findByExtraSettings(start, end);
127 }
128
129 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByMisversioned()
130 throws com.liferay.portal.kernel.exception.SystemException {
131 return getFinder().findByMisversioned();
132 }
133
134 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByNoAssets()
135 throws com.liferay.portal.kernel.exception.SystemException {
136 return getFinder().findByNoAssets();
137 }
138
139 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByOrphanedFileEntries()
140 throws com.liferay.portal.kernel.exception.SystemException {
141 return getFinder().findByOrphanedFileEntries();
142 }
143
144 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_F(
145 long groupId, java.util.List<java.lang.Long> folderIds,
146 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
147 throws com.liferay.portal.kernel.exception.SystemException {
148 return getFinder().findByG_F(groupId, folderIds, queryDefinition);
149 }
150
151 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByG_U_F_M(
152 long groupId, long userId, java.util.List<java.lang.Long> folderIds,
153 java.lang.String[] mimeTypes,
154 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
155 throws com.liferay.portal.kernel.exception.SystemException {
156 return getFinder()
157 .findByG_U_F_M(groupId, userId, folderIds, mimeTypes,
158 queryDefinition);
159 }
160
161 public static DLFileEntryFinder getFinder() {
162 if (_finder == null) {
163 _finder = (DLFileEntryFinder)PortalBeanLocatorUtil.locate(DLFileEntryFinder.class.getName());
164
165 ReferenceRegistry.registerReference(DLFileEntryFinderUtil.class,
166 "_finder");
167 }
168
169 return _finder;
170 }
171
172 public void setFinder(DLFileEntryFinder finder) {
173 _finder = finder;
174
175 ReferenceRegistry.registerReference(DLFileEntryFinderUtil.class,
176 "_finder");
177 }
178
179 private static DLFileEntryFinder _finder;
180 }