com.liferay.portlet.softwarecatalog.service.persistence
Class SCFrameworkVersionUtil

java.lang.Object
  extended bycom.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionUtil

public class SCFrameworkVersionUtil
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
SCFrameworkVersionUtil()
           
 
Method Summary
static int countAll()
           
static int countByCompanyId(long companyId)
           
static int countByG_A(long groupId, boolean active)
           
static int countByGroupId(long groupId)
           
static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion create(long frameworkVersionId)
           
static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion fetchByPrimaryKey(long frameworkVersionId)
           
static java.util.List findAll()
           
static java.util.List findAll(int begin, int end)
           
static java.util.List findAll(int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion[] findByCompanyId_PrevAndNext(long frameworkVersionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List findByCompanyId(long companyId)
           
static java.util.List findByCompanyId(long companyId, int begin, int end)
           
static java.util.List findByCompanyId(long companyId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByG_A_First(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByG_A_Last(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion[] findByG_A_PrevAndNext(long frameworkVersionId, long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List findByG_A(long groupId, boolean active)
           
static java.util.List findByG_A(long groupId, boolean active, int begin, int end)
           
static java.util.List findByG_A(long groupId, boolean active, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion[] findByGroupId_PrevAndNext(long frameworkVersionId, long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List findByGroupId(long groupId)
           
static java.util.List findByGroupId(long groupId, int begin, int end)
           
static java.util.List findByGroupId(long groupId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion findByPrimaryKey(long frameworkVersionId)
           
static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
static SCFrameworkVersionPersistence getPersistence()
           
static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion remove(long frameworkVersionId)
           
static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion remove(com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
           
static void removeAll()
           
static void removeByCompanyId(long companyId)
           
static void removeByG_A(long groupId, boolean active)
           
static void removeByGroupId(long groupId)
           
 void setPersistence(SCFrameworkVersionPersistence persistence)
           
static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion update(com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
           
static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion update(com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SCFrameworkVersionUtil

public SCFrameworkVersionUtil()
Method Detail

create

public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion create(long frameworkVersionId)

remove

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

remove

public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion remove(com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
                                                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion update(com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
                                                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

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

findByPrimaryKey

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

fetchByPrimaryKey

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

findByGroupId

public static java.util.List findByGroupId(long groupId)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByGroupId

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

findByGroupId

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

findByGroupId_First

public static 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
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException

findByGroupId_Last

public static 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
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException

findByGroupId_PrevAndNext

public static 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
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException

findByCompanyId

public static java.util.List findByCompanyId(long companyId)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

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

findByCompanyId

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

findByCompanyId_First

public static 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
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException

findByCompanyId_Last

public static 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
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException

findByCompanyId_PrevAndNext

public static 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
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException

findByG_A

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

findByG_A

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

findByG_A

public static 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
Throws:
com.liferay.portal.SystemException

findByG_A_First

public static 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
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException

findByG_A_Last

public static 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
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException

findByG_A_PrevAndNext

public static 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
Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchFrameworkVersionException

findWithDynamicQuery

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

findWithDynamicQuery

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

findAll

public static java.util.List findAll()
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

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

findAll

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

removeByGroupId

public static void removeByGroupId(long groupId)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByCompanyId

public static void removeByCompanyId(long companyId)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByG_A

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

removeAll

public static void removeAll()
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByGroupId

public static int countByGroupId(long groupId)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByCompanyId

public static int countByCompanyId(long companyId)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_A

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

countAll

public static int countAll()
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPersistence

public static SCFrameworkVersionPersistence getPersistence()

setPersistence

public void setPersistence(SCFrameworkVersionPersistence persistence)