SCFrameworkVersionPersistence.java :  » Portal » liferay-portal-4.4.2 » com » liferay » portlet » softwarecatalog » service » persistence » Java Open Source

Java Open Source » Portal » liferay portal 4.4.2 
liferay portal 4.4.2 » com » liferay » portlet » softwarecatalog » service » persistence » SCFrameworkVersionPersistence.java
/**
 * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

package com.liferay.portlet.softwarecatalog.service.persistence;

/**
 * <a href="SCFrameworkVersionPersistence.java.html"><b><i>View Source</i></b></a>
 *
 * @author Brian Wing Shun Chan
 *
 */
public interface SCFrameworkVersionPersistence {
  public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion create(
    long frameworkVersionId);

  public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion remove(
    long frameworkVersionId)
    throws com.liferay.portal.SystemException, 
      com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;

  public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion remove(
    com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
    throws com.liferay.portal.SystemException;

  public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion update(
    com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
    throws com.liferay.portal.SystemException;

  public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion update(
    com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion,
    boolean merge) throws com.liferay.portal.SystemException;

  public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateImpl(
    com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion,
    boolean merge) throws com.liferay.portal.SystemException;

  public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByPrimaryKey(
    long frameworkVersionId)
    throws com.liferay.portal.SystemException, 
      com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;

  public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion fetchByPrimaryKey(
    long frameworkVersionId) throws com.liferay.portal.SystemException;

  public java.util.List findByGroupId(long groupId)
    throws com.liferay.portal.SystemException;

  public java.util.List findByGroupId(long groupId, int begin, int end)
    throws com.liferay.portal.SystemException;

  public java.util.List findByGroupId(long groupId, int begin, int end,
    com.liferay.portal.kernel.util.OrderByComparator obc)
    throws com.liferay.portal.SystemException;

  public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByGroupId_First(
    long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
    throws com.liferay.portal.SystemException, 
      com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;

  public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByGroupId_Last(
    long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
    throws com.liferay.portal.SystemException, 
      com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;

  public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion[] findByGroupId_PrevAndNext(
    long frameworkVersionId, long groupId,
    com.liferay.portal.kernel.util.OrderByComparator obc)
    throws com.liferay.portal.SystemException, 
      com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;

  public java.util.List findByCompanyId(long companyId)
    throws com.liferay.portal.SystemException;

  public java.util.List findByCompanyId(long companyId, int begin, int end)
    throws com.liferay.portal.SystemException;

  public java.util.List findByCompanyId(long companyId, int begin, int end,
    com.liferay.portal.kernel.util.OrderByComparator obc)
    throws com.liferay.portal.SystemException;

  public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByCompanyId_First(
    long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
    throws com.liferay.portal.SystemException, 
      com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;

  public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByCompanyId_Last(
    long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
    throws com.liferay.portal.SystemException, 
      com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;

  public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion[] findByCompanyId_PrevAndNext(
    long frameworkVersionId, long companyId,
    com.liferay.portal.kernel.util.OrderByComparator obc)
    throws com.liferay.portal.SystemException, 
      com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;

  public java.util.List findByG_A(long groupId, boolean active)
    throws com.liferay.portal.SystemException;

  public java.util.List findByG_A(long groupId, boolean active, int begin,
    int end) throws com.liferay.portal.SystemException;

  public java.util.List findByG_A(long groupId, boolean active, int begin,
    int end, com.liferay.portal.kernel.util.OrderByComparator obc)
    throws com.liferay.portal.SystemException;

  public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByG_A_First(
    long groupId, boolean active,
    com.liferay.portal.kernel.util.OrderByComparator obc)
    throws com.liferay.portal.SystemException, 
      com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;

  public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByG_A_Last(
    long groupId, boolean active,
    com.liferay.portal.kernel.util.OrderByComparator obc)
    throws com.liferay.portal.SystemException, 
      com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;

  public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion[] findByG_A_PrevAndNext(
    long frameworkVersionId, long groupId, boolean active,
    com.liferay.portal.kernel.util.OrderByComparator obc)
    throws com.liferay.portal.SystemException, 
      com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;

  public java.util.List findWithDynamicQuery(
    com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
    throws com.liferay.portal.SystemException;

  public java.util.List findWithDynamicQuery(
    com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
    int begin, int end) throws com.liferay.portal.SystemException;

  public java.util.List findAll() throws com.liferay.portal.SystemException;

  public java.util.List findAll(int begin, int end)
    throws com.liferay.portal.SystemException;

  public java.util.List findAll(int begin, int end,
    com.liferay.portal.kernel.util.OrderByComparator obc)
    throws com.liferay.portal.SystemException;

  public void removeByGroupId(long groupId)
    throws com.liferay.portal.SystemException;

  public void removeByCompanyId(long companyId)
    throws com.liferay.portal.SystemException;

  public void removeByG_A(long groupId, boolean active)
    throws com.liferay.portal.SystemException;

  public void removeAll() throws com.liferay.portal.SystemException;

  public int countByGroupId(long groupId)
    throws com.liferay.portal.SystemException;

  public int countByCompanyId(long companyId)
    throws com.liferay.portal.SystemException;

  public int countByG_A(long groupId, boolean active)
    throws com.liferay.portal.SystemException;

  public int countAll() throws com.liferay.portal.SystemException;

  public java.util.List getSCProductVersions(long pk)
    throws com.liferay.portal.SystemException, 
      com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;

  public java.util.List getSCProductVersions(long pk, int begin, int end)
    throws com.liferay.portal.SystemException, 
      com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;

  public java.util.List getSCProductVersions(long pk, int begin, int end,
    com.liferay.portal.kernel.util.OrderByComparator obc)
    throws com.liferay.portal.SystemException, 
      com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;

  public int getSCProductVersionsSize(long pk)
    throws com.liferay.portal.SystemException;

  public boolean containsSCProductVersion(long pk, long scProductVersionPK)
    throws com.liferay.portal.SystemException;

  public boolean containsSCProductVersions(long pk)
    throws com.liferay.portal.SystemException;

  public void addSCProductVersion(long pk, long scProductVersionPK)
    throws com.liferay.portal.SystemException, 
      com.liferay.portlet.softwarecatalog.NoSuchProductVersionException, 
      com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;

  public void addSCProductVersion(long pk,
    com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
    throws com.liferay.portal.SystemException, 
      com.liferay.portlet.softwarecatalog.NoSuchProductVersionException, 
      com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;

  public void addSCProductVersions(long pk, long[] scProductVersionPKs)
    throws com.liferay.portal.SystemException, 
      com.liferay.portlet.softwarecatalog.NoSuchProductVersionException, 
      com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;

  public void addSCProductVersions(long pk, java.util.List scProductVersions)
    throws com.liferay.portal.SystemException, 
      com.liferay.portlet.softwarecatalog.NoSuchProductVersionException, 
      com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;

  public void clearSCProductVersions(long pk)
    throws com.liferay.portal.SystemException, 
      com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;

  public void removeSCProductVersion(long pk, long scProductVersionPK)
    throws com.liferay.portal.SystemException, 
      com.liferay.portlet.softwarecatalog.NoSuchProductVersionException, 
      com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;

  public void removeSCProductVersion(long pk,
    com.liferay.portlet.softwarecatalog.model.SCProductVersion scProductVersion)
    throws com.liferay.portal.SystemException, 
      com.liferay.portlet.softwarecatalog.NoSuchProductVersionException, 
      com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;

  public void removeSCProductVersions(long pk, long[] scProductVersionPKs)
    throws com.liferay.portal.SystemException, 
      com.liferay.portlet.softwarecatalog.NoSuchProductVersionException, 
      com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;

  public void removeSCProductVersions(long pk,
    java.util.List scProductVersions)
    throws com.liferay.portal.SystemException, 
      com.liferay.portlet.softwarecatalog.NoSuchProductVersionException, 
      com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;

  public void setSCProductVersions(long pk, long[] scProductVersionPKs)
    throws com.liferay.portal.SystemException, 
      com.liferay.portlet.softwarecatalog.NoSuchProductVersionException, 
      com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;

  public void setSCProductVersions(long pk, java.util.List scProductVersions)
    throws com.liferay.portal.SystemException, 
      com.liferay.portlet.softwarecatalog.NoSuchProductVersionException, 
      com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException;
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.