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 void addSCProductVersion(long pk, long scProductVersionPK)
           
static void addSCProductVersion(long pk, SCProductVersion scProductVersion)
           
static void addSCProductVersions(long pk, java.util.List scProductVersions)
           
static void addSCProductVersions(long pk, long[] scProductVersionPKs)
           
static void clearSCProductVersions(long pk)
           
static boolean containsSCProductVersion(long pk, long scProductVersionPK)
           
static boolean containsSCProductVersions(long pk)
           
static int countAll()
           
static int countByCompanyId(long companyId)
           
static int countByG_A(long groupId, boolean active)
           
static int countByGroupId(long groupId)
           
static SCFrameworkVersion create(long frameworkVersionId)
           
static 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 SCFrameworkVersion findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static SCFrameworkVersion findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static 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 SCFrameworkVersion findByG_A_First(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static SCFrameworkVersion findByG_A_Last(long groupId, boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static 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 SCFrameworkVersion findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static SCFrameworkVersion findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static 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 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 java.util.List getSCProductVersions(long pk)
           
static java.util.List getSCProductVersions(long pk, int begin, int end)
           
static java.util.List getSCProductVersions(long pk, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static int getSCProductVersionsSize(long pk)
           
static SCFrameworkVersion remove(long frameworkVersionId)
           
static SCFrameworkVersion remove(SCFrameworkVersion scFrameworkVersion)
           
static void removeAll()
           
static void removeByCompanyId(long companyId)
           
static void removeByG_A(long groupId, boolean active)
           
static void removeByGroupId(long groupId)
           
static void removeSCProductVersion(long pk, long scProductVersionPK)
           
static void removeSCProductVersion(long pk, SCProductVersion scProductVersion)
           
static void removeSCProductVersions(long pk, java.util.List scProductVersions)
           
static void removeSCProductVersions(long pk, long[] scProductVersionPKs)
           
 void setPersistence(SCFrameworkVersionPersistence persistence)
           
static void setSCProductVersions(long pk, java.util.List scProductVersions)
           
static void setSCProductVersions(long pk, long[] scProductVersionPKs)
           
static SCFrameworkVersion update(SCFrameworkVersion scFrameworkVersion)
           
static SCFrameworkVersion update(SCFrameworkVersion scFrameworkVersion, boolean merge)
           
static SCFrameworkVersion updateImpl(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 SCFrameworkVersion create(long frameworkVersionId)

remove

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

remove

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

update

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

update

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

updateImpl

public static SCFrameworkVersion updateImpl(SCFrameworkVersion scFrameworkVersion,
                                            boolean merge)
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

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

fetchByPrimaryKey

public static 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 SCFrameworkVersion findByGroupId_First(long groupId,
                                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                              throws com.liferay.portal.SystemException,
                                                     NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchFrameworkVersionException

findByGroupId_Last

public static SCFrameworkVersion findByGroupId_Last(long groupId,
                                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                                             throws com.liferay.portal.SystemException,
                                                    NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchFrameworkVersionException

findByGroupId_PrevAndNext

public static SCFrameworkVersion[] findByGroupId_PrevAndNext(long frameworkVersionId,
                                                             long groupId,
                                                             com.liferay.portal.kernel.util.OrderByComparator obc)
                                                      throws com.liferay.portal.SystemException,
                                                             NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
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 SCFrameworkVersion findByCompanyId_First(long companyId,
                                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                                throws com.liferay.portal.SystemException,
                                                       NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchFrameworkVersionException

findByCompanyId_Last

public static SCFrameworkVersion findByCompanyId_Last(long companyId,
                                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                               throws com.liferay.portal.SystemException,
                                                      NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchFrameworkVersionException

findByCompanyId_PrevAndNext

public static SCFrameworkVersion[] findByCompanyId_PrevAndNext(long frameworkVersionId,
                                                               long companyId,
                                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                                        throws com.liferay.portal.SystemException,
                                                               NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
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 SCFrameworkVersion findByG_A_First(long groupId,
                                                 boolean active,
                                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                          throws com.liferay.portal.SystemException,
                                                 NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchFrameworkVersionException

findByG_A_Last

public static SCFrameworkVersion findByG_A_Last(long groupId,
                                                boolean active,
                                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                         throws com.liferay.portal.SystemException,
                                                NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchFrameworkVersionException

findByG_A_PrevAndNext

public static SCFrameworkVersion[] findByG_A_PrevAndNext(long frameworkVersionId,
                                                         long groupId,
                                                         boolean active,
                                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                                  throws com.liferay.portal.SystemException,
                                                         NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
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

getSCProductVersions

public static java.util.List getSCProductVersions(long pk)
                                           throws com.liferay.portal.SystemException,
                                                  NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchFrameworkVersionException

getSCProductVersions

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

getSCProductVersions

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

getSCProductVersionsSize

public static int getSCProductVersionsSize(long pk)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

containsSCProductVersion

public static boolean containsSCProductVersion(long pk,
                                               long scProductVersionPK)
                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

containsSCProductVersions

public static boolean containsSCProductVersions(long pk)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addSCProductVersion

public static void addSCProductVersion(long pk,
                                       long scProductVersionPK)
                                throws com.liferay.portal.SystemException,
                                       NoSuchProductVersionException,
                                       NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException
NoSuchFrameworkVersionException

addSCProductVersion

public static void addSCProductVersion(long pk,
                                       SCProductVersion scProductVersion)
                                throws com.liferay.portal.SystemException,
                                       NoSuchProductVersionException,
                                       NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException
NoSuchFrameworkVersionException

addSCProductVersions

public static void addSCProductVersions(long pk,
                                        long[] scProductVersionPKs)
                                 throws com.liferay.portal.SystemException,
                                        NoSuchProductVersionException,
                                        NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException
NoSuchFrameworkVersionException

addSCProductVersions

public static void addSCProductVersions(long pk,
                                        java.util.List scProductVersions)
                                 throws com.liferay.portal.SystemException,
                                        NoSuchProductVersionException,
                                        NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException
NoSuchFrameworkVersionException

clearSCProductVersions

public static void clearSCProductVersions(long pk)
                                   throws com.liferay.portal.SystemException,
                                          NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchFrameworkVersionException

removeSCProductVersion

public static void removeSCProductVersion(long pk,
                                          long scProductVersionPK)
                                   throws com.liferay.portal.SystemException,
                                          NoSuchProductVersionException,
                                          NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException
NoSuchFrameworkVersionException

removeSCProductVersion

public static void removeSCProductVersion(long pk,
                                          SCProductVersion scProductVersion)
                                   throws com.liferay.portal.SystemException,
                                          NoSuchProductVersionException,
                                          NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException
NoSuchFrameworkVersionException

removeSCProductVersions

public static void removeSCProductVersions(long pk,
                                           long[] scProductVersionPKs)
                                    throws com.liferay.portal.SystemException,
                                           NoSuchProductVersionException,
                                           NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException
NoSuchFrameworkVersionException

removeSCProductVersions

public static void removeSCProductVersions(long pk,
                                           java.util.List scProductVersions)
                                    throws com.liferay.portal.SystemException,
                                           NoSuchProductVersionException,
                                           NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException
NoSuchFrameworkVersionException

setSCProductVersions

public static void setSCProductVersions(long pk,
                                        long[] scProductVersionPKs)
                                 throws com.liferay.portal.SystemException,
                                        NoSuchProductVersionException,
                                        NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException
NoSuchFrameworkVersionException

setSCProductVersions

public static void setSCProductVersions(long pk,
                                        java.util.List scProductVersions)
                                 throws com.liferay.portal.SystemException,
                                        NoSuchProductVersionException,
                                        NoSuchFrameworkVersionException
Throws:
com.liferay.portal.SystemException
NoSuchProductVersionException
NoSuchFrameworkVersionException

getPersistence

public static SCFrameworkVersionPersistence getPersistence()

setPersistence

public void setPersistence(SCFrameworkVersionPersistence persistence)