001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portlet.asset.service.persistence;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    /**
020     * @author Brian Wing Shun Chan
021     */
022    @ProviderType
023    public interface AssetTagFinder {
024            public int countByG_C_N(long groupId, long classNameId,
025                    java.lang.String name)
026                    throws com.liferay.portal.kernel.exception.SystemException;
027    
028            public int countByG_N_P(long groupId, java.lang.String name,
029                    java.lang.String[] tagProperties)
030                    throws com.liferay.portal.kernel.exception.SystemException;
031    
032            public int filterCountByG_N(long groupId, java.lang.String name)
033                    throws com.liferay.portal.kernel.exception.SystemException;
034    
035            public int filterCountByG_C_N(long groupId, long classNameId,
036                    java.lang.String name)
037                    throws com.liferay.portal.kernel.exception.SystemException;
038    
039            public int filterCountByG_N_P(long groupId, java.lang.String name,
040                    java.lang.String[] tagProperties)
041                    throws com.liferay.portal.kernel.exception.SystemException;
042    
043            public com.liferay.portlet.asset.model.AssetTag filterFindByG_N(
044                    long groupId, java.lang.String name)
045                    throws com.liferay.portal.kernel.exception.SystemException,
046                            com.liferay.portlet.asset.NoSuchTagException;
047    
048            public java.util.List<com.liferay.portlet.asset.model.AssetTag> filterFindByG_C_N(
049                    long groupId, long classNameId, java.lang.String name, int start,
050                    int end, com.liferay.portal.kernel.util.OrderByComparator obc)
051                    throws com.liferay.portal.kernel.exception.SystemException;
052    
053            public java.util.List<com.liferay.portlet.asset.model.AssetTag> filterFindByG_N_P(
054                    long[] groupIds, java.lang.String name,
055                    java.lang.String[] tagProperties, int start, int end,
056                    com.liferay.portal.kernel.util.OrderByComparator obc)
057                    throws com.liferay.portal.kernel.exception.SystemException;
058    
059            public com.liferay.portlet.asset.model.AssetTag findByG_N(long groupId,
060                    java.lang.String name)
061                    throws com.liferay.portal.kernel.exception.SystemException,
062                            com.liferay.portlet.asset.NoSuchTagException;
063    
064            public java.util.List<com.liferay.portlet.asset.model.AssetTag> findByG_C_N(
065                    long groupId, long classNameId, java.lang.String name, int start,
066                    int end, com.liferay.portal.kernel.util.OrderByComparator obc)
067                    throws com.liferay.portal.kernel.exception.SystemException;
068    
069            public java.util.List<com.liferay.portlet.asset.model.AssetTag> findByG_N_P(
070                    long[] groupIds, java.lang.String name,
071                    java.lang.String[] tagProperties, int start, int end,
072                    com.liferay.portal.kernel.util.OrderByComparator obc)
073                    throws com.liferay.portal.kernel.exception.SystemException;
074    
075            public java.util.List<com.liferay.portlet.asset.model.AssetTag> findByG_N_S_E(
076                    long groupId, java.lang.String name, int startPeriod, int endPeriod,
077                    int periodLength)
078                    throws com.liferay.portal.kernel.exception.SystemException;
079    }