001
014
015 package com.liferay.portlet.asset.service.persistence;
016
017
020 public interface AssetCategoryFinder {
021 public int countByG_C_N(long groupId, long classNameId,
022 java.lang.String name)
023 throws com.liferay.portal.kernel.exception.SystemException;
024
025 public int countByG_N_P(long groupId, java.lang.String name,
026 java.lang.String[] categoryProperties)
027 throws com.liferay.portal.kernel.exception.SystemException;
028
029 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByEntryId(
030 long entryId)
031 throws com.liferay.portal.kernel.exception.SystemException;
032
033 public java.util.List<java.lang.Long> findByG_L(
034 java.lang.Long parentCategoryId)
035 throws com.liferay.portal.kernel.exception.SystemException;
036
037 public com.liferay.portlet.asset.model.AssetCategory findByG_N(
038 long groupId, java.lang.String name)
039 throws com.liferay.portal.kernel.exception.SystemException,
040 com.liferay.portlet.asset.NoSuchCategoryException;
041
042 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByC_C(
043 long classNameId, long classPK)
044 throws com.liferay.portal.kernel.exception.SystemException;
045
046 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_N_P(
047 long groupId, java.lang.String name,
048 java.lang.String[] categoryProperties)
049 throws com.liferay.portal.kernel.exception.SystemException;
050
051 public java.util.List<com.liferay.portlet.asset.model.AssetCategory> findByG_N_P(
052 long groupId, java.lang.String name,
053 java.lang.String[] categoryProperties, int start, int end)
054 throws com.liferay.portal.kernel.exception.SystemException;
055 }