001    /**
002     * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
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     * @generated
022     */
023    @ProviderType
024    public interface AssetTagFinder {
025            public int countByG_C_N(long groupId, long classNameId,
026                    java.lang.String name);
027    
028            public int countByG_N_P(long groupId, java.lang.String name,
029                    java.lang.String[] tagProperties);
030    
031            public int filterCountByG_N(long groupId, java.lang.String name);
032    
033            public int filterCountByG_C_N(long groupId, long classNameId,
034                    java.lang.String name);
035    
036            public int filterCountByG_N_P(long groupId, java.lang.String name,
037                    java.lang.String[] tagProperties);
038    
039            public com.liferay.portlet.asset.model.AssetTag filterFindByG_N(
040                    long groupId, java.lang.String name)
041                    throws com.liferay.portlet.asset.NoSuchTagException;
042    
043            public java.util.List<com.liferay.portlet.asset.model.AssetTag> filterFindByG_C_N(
044                    long groupId, long classNameId, java.lang.String name, int start,
045                    int end,
046                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetTag> obc);
047    
048            public java.util.List<com.liferay.portlet.asset.model.AssetTag> filterFindByG_N_P(
049                    long[] groupIds, java.lang.String name,
050                    java.lang.String[] tagProperties, int start, int end,
051                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetTag> obc);
052    
053            public com.liferay.portlet.asset.model.AssetTag findByG_N(long groupId,
054                    java.lang.String name)
055                    throws com.liferay.portlet.asset.NoSuchTagException;
056    
057            public java.util.List<com.liferay.portlet.asset.model.AssetTag> findByG_C_N(
058                    long groupId, long classNameId, java.lang.String name, int start,
059                    int end,
060                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetTag> obc);
061    
062            public java.util.List<com.liferay.portlet.asset.model.AssetTag> findByG_N_P(
063                    long[] groupIds, java.lang.String name,
064                    java.lang.String[] tagProperties, int start, int end,
065                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetTag> obc);
066    
067            public java.util.List<com.liferay.portlet.asset.model.AssetTag> findByG_N_S_E(
068                    long groupId, java.lang.String name, int startPeriod, int endPeriod,
069                    int periodLength);
070    }