Liferay 6.0.3

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

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<SCFrameworkVersion>
      extended by com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistenceImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<SCFrameworkVersion>, SCFrameworkVersionPersistence

public class SCFrameworkVersionPersistenceImpl
extends BasePersistenceImpl<SCFrameworkVersion>
implements SCFrameworkVersionPersistence

See Also:
SCFrameworkVersionPersistence, SCFrameworkVersionUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Nested Class Summary
protected  class SCFrameworkVersionPersistenceImpl.AddSCProductVersion
           
protected  class SCFrameworkVersionPersistenceImpl.ClearSCProductVersions
           
protected  class SCFrameworkVersionPersistenceImpl.ContainsSCProductVersion
           
protected  class SCFrameworkVersionPersistenceImpl.RemoveSCProductVersion
           
 
Field Summary
protected  SCFrameworkVersionPersistenceImpl.AddSCProductVersion addSCProductVersion
           
protected  SCFrameworkVersionPersistenceImpl.ClearSCProductVersions clearSCProductVersions
           
protected  SCFrameworkVersionPersistenceImpl.ContainsSCProductVersion containsSCProductVersion
           
static String FINDER_CLASS_NAME_ENTITY
           
static String FINDER_CLASS_NAME_LIST
           
static FinderPath FINDER_PATH_CONTAINS_SCPRODUCTVERSION
           
static FinderPath FINDER_PATH_COUNT_ALL
           
static FinderPath FINDER_PATH_COUNT_BY_COMPANYID
           
static FinderPath FINDER_PATH_COUNT_BY_G_A
           
static FinderPath FINDER_PATH_COUNT_BY_GROUPID
           
static FinderPath FINDER_PATH_FIND_ALL
           
static FinderPath FINDER_PATH_FIND_BY_COMPANYID
           
static FinderPath FINDER_PATH_FIND_BY_G_A
           
static FinderPath FINDER_PATH_FIND_BY_GROUPID
           
static FinderPath FINDER_PATH_GET_SCPRODUCTVERSIONS
           
static FinderPath FINDER_PATH_GET_SCPRODUCTVERSIONS_SIZE
           
protected  SCFrameworkVersionPersistenceImpl.RemoveSCProductVersion removeSCProductVersion
           
protected  ResourcePersistence resourcePersistence
           
protected  SCFrameworkVersionPersistence scFrameworkVersionPersistence
           
protected  SCLicensePersistence scLicensePersistence
           
protected  SCProductEntryPersistence scProductEntryPersistence
           
protected  SCProductScreenshotPersistence scProductScreenshotPersistence
           
protected  SCProductVersionPersistence scProductVersionPersistence
           
protected  UserPersistence userPersistence
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
 
Constructor Summary
SCFrameworkVersionPersistenceImpl()
           
 
Method Summary
 void addSCProductVersion(long pk, long scProductVersionPK)
           
 void addSCProductVersion(long pk, SCProductVersion scProductVersion)
           
 void addSCProductVersions(long pk, List<SCProductVersion> scProductVersions)
           
 void addSCProductVersions(long pk, long[] scProductVersionPKs)
           
 void afterPropertiesSet()
           
 void cacheResult(List<SCFrameworkVersion> scFrameworkVersions)
           
 void cacheResult(SCFrameworkVersion scFrameworkVersion)
           
 void clearCache()
          Clears the cache for all instances of this model.
 void clearCache(SCFrameworkVersion scFrameworkVersion)
          Clears the cache for one instance of this model.
 void clearSCProductVersions(long pk)
           
 boolean containsSCProductVersion(long pk, long scProductVersionPK)
           
 boolean containsSCProductVersions(long pk)
           
 int countAll()
           
 int countByCompanyId(long companyId)
           
 int countByG_A(long groupId, boolean active)
           
 int countByGroupId(long groupId)
           
 SCFrameworkVersion create(long frameworkVersionId)
           
 SCFrameworkVersion fetchByPrimaryKey(long frameworkVersionId)
           
 SCFrameworkVersion fetchByPrimaryKey(Serializable primaryKey)
          Finds an instance of this model by its primary key, or return null if it could not be found.
 int filterCountByG_A(long groupId, boolean active)
           
 int filterCountByGroupId(long groupId)
           
 List<SCFrameworkVersion> filterFindByG_A(long groupId, boolean active)
           
 List<SCFrameworkVersion> filterFindByG_A(long groupId, boolean active, int start, int end)
           
 List<SCFrameworkVersion> filterFindByG_A(long groupId, boolean active, int start, int end, OrderByComparator orderByComparator)
           
 List<SCFrameworkVersion> filterFindByGroupId(long groupId)
           
 List<SCFrameworkVersion> filterFindByGroupId(long groupId, int start, int end)
           
 List<SCFrameworkVersion> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 List<SCFrameworkVersion> findAll()
           
 List<SCFrameworkVersion> findAll(int start, int end)
           
 List<SCFrameworkVersion> findAll(int start, int end, OrderByComparator orderByComparator)
           
 SCFrameworkVersion findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
           
 SCFrameworkVersion findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
           
 SCFrameworkVersion[] findByCompanyId_PrevAndNext(long frameworkVersionId, long companyId, OrderByComparator orderByComparator)
           
 List<SCFrameworkVersion> findByCompanyId(long companyId)
           
 List<SCFrameworkVersion> findByCompanyId(long companyId, int start, int end)
           
 List<SCFrameworkVersion> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator)
           
 SCFrameworkVersion findByG_A_First(long groupId, boolean active, OrderByComparator orderByComparator)
           
 SCFrameworkVersion findByG_A_Last(long groupId, boolean active, OrderByComparator orderByComparator)
           
 SCFrameworkVersion[] findByG_A_PrevAndNext(long frameworkVersionId, long groupId, boolean active, OrderByComparator orderByComparator)
           
 List<SCFrameworkVersion> findByG_A(long groupId, boolean active)
           
 List<SCFrameworkVersion> findByG_A(long groupId, boolean active, int start, int end)
           
 List<SCFrameworkVersion> findByG_A(long groupId, boolean active, int start, int end, OrderByComparator orderByComparator)
           
 SCFrameworkVersion findByGroupId_First(long groupId, OrderByComparator orderByComparator)
           
 SCFrameworkVersion findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
           
 SCFrameworkVersion[] findByGroupId_PrevAndNext(long frameworkVersionId, long groupId, OrderByComparator orderByComparator)
           
 List<SCFrameworkVersion> findByGroupId(long groupId)
           
 List<SCFrameworkVersion> findByGroupId(long groupId, int start, int end)
           
 List<SCFrameworkVersion> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 SCFrameworkVersion findByPrimaryKey(long frameworkVersionId)
           
 SCFrameworkVersion findByPrimaryKey(Serializable primaryKey)
          Finds an instance of this model by its primary key, or throw an exception if it could not be found.
protected  SCFrameworkVersion getByCompanyId_PrevAndNext(Session session, SCFrameworkVersion scFrameworkVersion, long companyId, OrderByComparator orderByComparator, boolean previous)
           
protected  SCFrameworkVersion getByG_A_PrevAndNext(Session session, SCFrameworkVersion scFrameworkVersion, long groupId, boolean active, OrderByComparator orderByComparator, boolean previous)
           
protected  SCFrameworkVersion getByGroupId_PrevAndNext(Session session, SCFrameworkVersion scFrameworkVersion, long groupId, OrderByComparator orderByComparator, boolean previous)
           
 List<SCProductVersion> getSCProductVersions(long pk)
           
 List<SCProductVersion> getSCProductVersions(long pk, int start, int end)
           
 List<SCProductVersion> getSCProductVersions(long pk, int start, int end, OrderByComparator orderByComparator)
           
 int getSCProductVersionsSize(long pk)
           
 SCFrameworkVersion remove(long frameworkVersionId)
           
 SCFrameworkVersion remove(Serializable primaryKey)
          Removes the model instance identified by the primary key from the database, and notifies the appropriate model listeners.
 void removeAll()
           
 void removeByCompanyId(long companyId)
           
 void removeByG_A(long groupId, boolean active)
           
 void removeByGroupId(long groupId)
           
protected  SCFrameworkVersion removeImpl(SCFrameworkVersion scFrameworkVersion)
          Removes the model instance from the database.
 void removeSCProductVersion(long pk, long scProductVersionPK)
           
 void removeSCProductVersion(long pk, SCProductVersion scProductVersion)
           
 void removeSCProductVersions(long pk, List<SCProductVersion> scProductVersions)
           
 void removeSCProductVersions(long pk, long[] scProductVersionPKs)
           
 void setSCProductVersions(long pk, List<SCProductVersion> scProductVersions)
           
 void setSCProductVersions(long pk, long[] scProductVersionPKs)
           
protected  SCFrameworkVersion toUnwrappedModel(SCFrameworkVersion scFrameworkVersion)
           
 SCFrameworkVersion updateImpl(SCFrameworkVersion scFrameworkVersion, boolean merge)
          Updates the model instance in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, setDataSource, unregisterListener, update, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST

public static final String FINDER_CLASS_NAME_LIST

FINDER_PATH_FIND_BY_GROUPID

public static final FinderPath FINDER_PATH_FIND_BY_GROUPID

FINDER_PATH_COUNT_BY_GROUPID

public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID

FINDER_PATH_FIND_BY_COMPANYID

public static final FinderPath FINDER_PATH_FIND_BY_COMPANYID

FINDER_PATH_COUNT_BY_COMPANYID

public static final FinderPath FINDER_PATH_COUNT_BY_COMPANYID

FINDER_PATH_FIND_BY_G_A

public static final FinderPath FINDER_PATH_FIND_BY_G_A

FINDER_PATH_COUNT_BY_G_A

public static final FinderPath FINDER_PATH_COUNT_BY_G_A

FINDER_PATH_FIND_ALL

public static final FinderPath FINDER_PATH_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final FinderPath FINDER_PATH_COUNT_ALL

FINDER_PATH_GET_SCPRODUCTVERSIONS

public static final FinderPath FINDER_PATH_GET_SCPRODUCTVERSIONS

FINDER_PATH_GET_SCPRODUCTVERSIONS_SIZE

public static final FinderPath FINDER_PATH_GET_SCPRODUCTVERSIONS_SIZE

FINDER_PATH_CONTAINS_SCPRODUCTVERSION

public static final FinderPath FINDER_PATH_CONTAINS_SCPRODUCTVERSION

scLicensePersistence

@BeanReference(type=SCLicensePersistence.class)
protected SCLicensePersistence scLicensePersistence

scFrameworkVersionPersistence

@BeanReference(type=SCFrameworkVersionPersistence.class)
protected SCFrameworkVersionPersistence scFrameworkVersionPersistence

scProductEntryPersistence

@BeanReference(type=SCProductEntryPersistence.class)
protected SCProductEntryPersistence scProductEntryPersistence

scProductScreenshotPersistence

@BeanReference(type=SCProductScreenshotPersistence.class)
protected SCProductScreenshotPersistence scProductScreenshotPersistence

scProductVersionPersistence

@BeanReference(type=SCProductVersionPersistence.class)
protected SCProductVersionPersistence scProductVersionPersistence

resourcePersistence

@BeanReference(type=ResourcePersistence.class)
protected ResourcePersistence resourcePersistence

userPersistence

@BeanReference(type=UserPersistence.class)
protected UserPersistence userPersistence

containsSCProductVersion

protected SCFrameworkVersionPersistenceImpl.ContainsSCProductVersion containsSCProductVersion

addSCProductVersion

protected SCFrameworkVersionPersistenceImpl.AddSCProductVersion addSCProductVersion

clearSCProductVersions

protected SCFrameworkVersionPersistenceImpl.ClearSCProductVersions clearSCProductVersions

removeSCProductVersion

protected SCFrameworkVersionPersistenceImpl.RemoveSCProductVersion removeSCProductVersion
Constructor Detail

SCFrameworkVersionPersistenceImpl

public SCFrameworkVersionPersistenceImpl()
Method Detail

cacheResult

public void cacheResult(SCFrameworkVersion scFrameworkVersion)
Specified by:
cacheResult in interface SCFrameworkVersionPersistence

cacheResult

public void cacheResult(List<SCFrameworkVersion> scFrameworkVersions)
Specified by:
cacheResult in interface SCFrameworkVersionPersistence

clearCache

public void clearCache()
Description copied from interface: BasePersistence
Clears the cache for all instances of this model.

The EntityCache and FinderCache are both cleared by this method.

Caching information and settings can be found in portal.properties

Specified by:
clearCache in interface BasePersistence<SCFrameworkVersion>
Overrides:
clearCache in class BasePersistenceImpl<SCFrameworkVersion>

clearCache

public void clearCache(SCFrameworkVersion scFrameworkVersion)
Description copied from interface: BasePersistence
Clears the cache for one instance of this model.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface BasePersistence<SCFrameworkVersion>
Overrides:
clearCache in class BasePersistenceImpl<SCFrameworkVersion>
Parameters:
scFrameworkVersion - the instance of this model to clear the cache for

create

public SCFrameworkVersion create(long frameworkVersionId)
Specified by:
create in interface SCFrameworkVersionPersistence

remove

public SCFrameworkVersion remove(Serializable primaryKey)
                          throws NoSuchModelException,
                                 SystemException
Description copied from interface: BasePersistence
Removes the model instance identified by the primary key from the database, and notifies the appropriate model listeners.

Specified by:
remove in interface BasePersistence<SCFrameworkVersion>
Overrides:
remove in class BasePersistenceImpl<SCFrameworkVersion>
Parameters:
primaryKey - the primary key of the model instance to remove
Returns:
the model instance that was removed
Throws:
NoSuchModelException - if an instance of this model with the primary key does not exist
SystemException - if a system exception occurred

remove

public SCFrameworkVersion remove(long frameworkVersionId)
                          throws NoSuchFrameworkVersionException,
                                 SystemException
Specified by:
remove in interface SCFrameworkVersionPersistence
Throws:
NoSuchFrameworkVersionException
SystemException

removeImpl

protected SCFrameworkVersion removeImpl(SCFrameworkVersion scFrameworkVersion)
                                 throws SystemException
Description copied from class: BasePersistenceImpl
Removes the model instance from the database. BasePersistenceImpl.update(BaseModel, boolean) depends on this method to implement the remove operation; it only notifies the model listeners.

Overrides:
removeImpl in class BasePersistenceImpl<SCFrameworkVersion>
Parameters:
scFrameworkVersion - the model instance to remove
Returns:
the model instance that was removed
Throws:
SystemException - if a system exception occurred

updateImpl

public SCFrameworkVersion updateImpl(SCFrameworkVersion scFrameworkVersion,
                                     boolean merge)
                              throws SystemException
Description copied from class: BasePersistenceImpl
Updates the model instance in the database or adds it if it does not yet exist. BasePersistenceImpl.remove(BaseModel) depends on this method to implement the update operation; it only notifies the model listeners.

Specified by:
updateImpl in interface SCFrameworkVersionPersistence
Overrides:
updateImpl in class BasePersistenceImpl<SCFrameworkVersion>
Parameters:
scFrameworkVersion - the model instance to update
merge - whether to merge the model instance with the current session. See BatchSession.update( com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean) for an explanation.
Returns:
the model instance that was updated
Throws:
SystemException - if a system exception occurred

toUnwrappedModel

protected SCFrameworkVersion toUnwrappedModel(SCFrameworkVersion scFrameworkVersion)

findByPrimaryKey

public SCFrameworkVersion findByPrimaryKey(Serializable primaryKey)
                                    throws NoSuchModelException,
                                           SystemException
Description copied from interface: BasePersistence
Finds an instance of this model by its primary key, or throw an exception if it could not be found.

Specified by:
findByPrimaryKey in interface BasePersistence<SCFrameworkVersion>
Overrides:
findByPrimaryKey in class BasePersistenceImpl<SCFrameworkVersion>
Parameters:
primaryKey - the primary key of the model instance to find
Returns:
the model instance
Throws:
NoSuchModelException - if an instance of this model with the primary key does not exist
SystemException - if the primary key is null, or if a system exception occurred

findByPrimaryKey

public SCFrameworkVersion findByPrimaryKey(long frameworkVersionId)
                                    throws NoSuchFrameworkVersionException,
                                           SystemException
Specified by:
findByPrimaryKey in interface SCFrameworkVersionPersistence
Throws:
NoSuchFrameworkVersionException
SystemException

fetchByPrimaryKey

public SCFrameworkVersion fetchByPrimaryKey(Serializable primaryKey)
                                     throws SystemException
Description copied from interface: BasePersistence
Finds an instance of this model by its primary key, or return null if it could not be found.

Specified by:
fetchByPrimaryKey in interface BasePersistence<SCFrameworkVersion>
Overrides:
fetchByPrimaryKey in class BasePersistenceImpl<SCFrameworkVersion>
Parameters:
primaryKey - the primary key of the model instance to find
Returns:
the model instance, or null if an instance of this model with the primary key does not exist
Throws:
SystemException - if the primary key is null, or if a system exception occurred

fetchByPrimaryKey

public SCFrameworkVersion fetchByPrimaryKey(long frameworkVersionId)
                                     throws SystemException
Specified by:
fetchByPrimaryKey in interface SCFrameworkVersionPersistence
Throws:
SystemException

findByGroupId

public List<SCFrameworkVersion> findByGroupId(long groupId)
                                       throws SystemException
Specified by:
findByGroupId in interface SCFrameworkVersionPersistence
Throws:
SystemException

findByGroupId

public List<SCFrameworkVersion> findByGroupId(long groupId,
                                              int start,
                                              int end)
                                       throws SystemException
Specified by:
findByGroupId in interface SCFrameworkVersionPersistence
Throws:
SystemException

findByGroupId

public List<SCFrameworkVersion> findByGroupId(long groupId,
                                              int start,
                                              int end,
                                              OrderByComparator orderByComparator)
                                       throws SystemException
Specified by:
findByGroupId in interface SCFrameworkVersionPersistence
Throws:
SystemException

findByGroupId_First

public SCFrameworkVersion findByGroupId_First(long groupId,
                                              OrderByComparator orderByComparator)
                                       throws NoSuchFrameworkVersionException,
                                              SystemException
Specified by:
findByGroupId_First in interface SCFrameworkVersionPersistence
Throws:
NoSuchFrameworkVersionException
SystemException

findByGroupId_Last

public SCFrameworkVersion findByGroupId_Last(long groupId,
                                             OrderByComparator orderByComparator)
                                      throws NoSuchFrameworkVersionException,
                                             SystemException
Specified by:
findByGroupId_Last in interface SCFrameworkVersionPersistence
Throws:
NoSuchFrameworkVersionException
SystemException

findByGroupId_PrevAndNext

public SCFrameworkVersion[] findByGroupId_PrevAndNext(long frameworkVersionId,
                                                      long groupId,
                                                      OrderByComparator orderByComparator)
                                               throws NoSuchFrameworkVersionException,
                                                      SystemException
Specified by:
findByGroupId_PrevAndNext in interface SCFrameworkVersionPersistence
Throws:
NoSuchFrameworkVersionException
SystemException

getByGroupId_PrevAndNext

protected SCFrameworkVersion getByGroupId_PrevAndNext(Session session,
                                                      SCFrameworkVersion scFrameworkVersion,
                                                      long groupId,
                                                      OrderByComparator orderByComparator,
                                                      boolean previous)

filterFindByGroupId

public List<SCFrameworkVersion> filterFindByGroupId(long groupId)
                                             throws SystemException
Specified by:
filterFindByGroupId in interface SCFrameworkVersionPersistence
Throws:
SystemException

filterFindByGroupId

public List<SCFrameworkVersion> filterFindByGroupId(long groupId,
                                                    int start,
                                                    int end)
                                             throws SystemException
Specified by:
filterFindByGroupId in interface SCFrameworkVersionPersistence
Throws:
SystemException

filterFindByGroupId

public List<SCFrameworkVersion> filterFindByGroupId(long groupId,
                                                    int start,
                                                    int end,
                                                    OrderByComparator orderByComparator)
                                             throws SystemException
Specified by:
filterFindByGroupId in interface SCFrameworkVersionPersistence
Throws:
SystemException

findByCompanyId

public List<SCFrameworkVersion> findByCompanyId(long companyId)
                                         throws SystemException
Specified by:
findByCompanyId in interface SCFrameworkVersionPersistence
Throws:
SystemException

findByCompanyId

public List<SCFrameworkVersion> findByCompanyId(long companyId,
                                                int start,
                                                int end)
                                         throws SystemException
Specified by:
findByCompanyId in interface SCFrameworkVersionPersistence
Throws:
SystemException

findByCompanyId

public List<SCFrameworkVersion> findByCompanyId(long companyId,
                                                int start,
                                                int end,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Specified by:
findByCompanyId in interface SCFrameworkVersionPersistence
Throws:
SystemException

findByCompanyId_First

public SCFrameworkVersion findByCompanyId_First(long companyId,
                                                OrderByComparator orderByComparator)
                                         throws NoSuchFrameworkVersionException,
                                                SystemException
Specified by:
findByCompanyId_First in interface SCFrameworkVersionPersistence
Throws:
NoSuchFrameworkVersionException
SystemException

findByCompanyId_Last

public SCFrameworkVersion findByCompanyId_Last(long companyId,
                                               OrderByComparator orderByComparator)
                                        throws NoSuchFrameworkVersionException,
                                               SystemException
Specified by:
findByCompanyId_Last in interface SCFrameworkVersionPersistence
Throws:
NoSuchFrameworkVersionException
SystemException

findByCompanyId_PrevAndNext

public SCFrameworkVersion[] findByCompanyId_PrevAndNext(long frameworkVersionId,
                                                        long companyId,
                                                        OrderByComparator orderByComparator)
                                                 throws NoSuchFrameworkVersionException,
                                                        SystemException
Specified by:
findByCompanyId_PrevAndNext in interface SCFrameworkVersionPersistence
Throws:
NoSuchFrameworkVersionException
SystemException

getByCompanyId_PrevAndNext

protected SCFrameworkVersion getByCompanyId_PrevAndNext(Session session,
                                                        SCFrameworkVersion scFrameworkVersion,
                                                        long companyId,
                                                        OrderByComparator orderByComparator,
                                                        boolean previous)

findByG_A

public List<SCFrameworkVersion> findByG_A(long groupId,
                                          boolean active)
                                   throws SystemException
Specified by:
findByG_A in interface SCFrameworkVersionPersistence
Throws:
SystemException

findByG_A

public List<SCFrameworkVersion> findByG_A(long groupId,
                                          boolean active,
                                          int start,
                                          int end)
                                   throws SystemException
Specified by:
findByG_A in interface SCFrameworkVersionPersistence
Throws:
SystemException

findByG_A

public List<SCFrameworkVersion> findByG_A(long groupId,
                                          boolean active,
                                          int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                   throws SystemException
Specified by:
findByG_A in interface SCFrameworkVersionPersistence
Throws:
SystemException

findByG_A_First

public SCFrameworkVersion findByG_A_First(long groupId,
                                          boolean active,
                                          OrderByComparator orderByComparator)
                                   throws NoSuchFrameworkVersionException,
                                          SystemException
Specified by:
findByG_A_First in interface SCFrameworkVersionPersistence
Throws:
NoSuchFrameworkVersionException
SystemException

findByG_A_Last

public SCFrameworkVersion findByG_A_Last(long groupId,
                                         boolean active,
                                         OrderByComparator orderByComparator)
                                  throws NoSuchFrameworkVersionException,
                                         SystemException
Specified by:
findByG_A_Last in interface SCFrameworkVersionPersistence
Throws:
NoSuchFrameworkVersionException
SystemException

findByG_A_PrevAndNext

public SCFrameworkVersion[] findByG_A_PrevAndNext(long frameworkVersionId,
                                                  long groupId,
                                                  boolean active,
                                                  OrderByComparator orderByComparator)
                                           throws NoSuchFrameworkVersionException,
                                                  SystemException
Specified by:
findByG_A_PrevAndNext in interface SCFrameworkVersionPersistence
Throws:
NoSuchFrameworkVersionException
SystemException

getByG_A_PrevAndNext

protected SCFrameworkVersion getByG_A_PrevAndNext(Session session,
                                                  SCFrameworkVersion scFrameworkVersion,
                                                  long groupId,
                                                  boolean active,
                                                  OrderByComparator orderByComparator,
                                                  boolean previous)

filterFindByG_A

public List<SCFrameworkVersion> filterFindByG_A(long groupId,
                                                boolean active)
                                         throws SystemException
Specified by:
filterFindByG_A in interface SCFrameworkVersionPersistence
Throws:
SystemException

filterFindByG_A

public List<SCFrameworkVersion> filterFindByG_A(long groupId,
                                                boolean active,
                                                int start,
                                                int end)
                                         throws SystemException
Specified by:
filterFindByG_A in interface SCFrameworkVersionPersistence
Throws:
SystemException

filterFindByG_A

public List<SCFrameworkVersion> filterFindByG_A(long groupId,
                                                boolean active,
                                                int start,
                                                int end,
                                                OrderByComparator orderByComparator)
                                         throws SystemException
Specified by:
filterFindByG_A in interface SCFrameworkVersionPersistence
Throws:
SystemException

findAll

public List<SCFrameworkVersion> findAll()
                                 throws SystemException
Specified by:
findAll in interface SCFrameworkVersionPersistence
Throws:
SystemException

findAll

public List<SCFrameworkVersion> findAll(int start,
                                        int end)
                                 throws SystemException
Specified by:
findAll in interface SCFrameworkVersionPersistence
Throws:
SystemException

findAll

public List<SCFrameworkVersion> findAll(int start,
                                        int end,
                                        OrderByComparator orderByComparator)
                                 throws SystemException
Specified by:
findAll in interface SCFrameworkVersionPersistence
Throws:
SystemException

removeByGroupId

public void removeByGroupId(long groupId)
                     throws SystemException
Specified by:
removeByGroupId in interface SCFrameworkVersionPersistence
Throws:
SystemException

removeByCompanyId

public void removeByCompanyId(long companyId)
                       throws SystemException
Specified by:
removeByCompanyId in interface SCFrameworkVersionPersistence
Throws:
SystemException

removeByG_A

public void removeByG_A(long groupId,
                        boolean active)
                 throws SystemException
Specified by:
removeByG_A in interface SCFrameworkVersionPersistence
Throws:
SystemException

removeAll

public void removeAll()
               throws SystemException
Specified by:
removeAll in interface SCFrameworkVersionPersistence
Throws:
SystemException

countByGroupId

public int countByGroupId(long groupId)
                   throws SystemException
Specified by:
countByGroupId in interface SCFrameworkVersionPersistence
Throws:
SystemException

filterCountByGroupId

public int filterCountByGroupId(long groupId)
                         throws SystemException
Specified by:
filterCountByGroupId in interface SCFrameworkVersionPersistence
Throws:
SystemException

countByCompanyId

public int countByCompanyId(long companyId)
                     throws SystemException
Specified by:
countByCompanyId in interface SCFrameworkVersionPersistence
Throws:
SystemException

countByG_A

public int countByG_A(long groupId,
                      boolean active)
               throws SystemException
Specified by:
countByG_A in interface SCFrameworkVersionPersistence
Throws:
SystemException

filterCountByG_A

public int filterCountByG_A(long groupId,
                            boolean active)
                     throws SystemException
Specified by:
filterCountByG_A in interface SCFrameworkVersionPersistence
Throws:
SystemException

countAll

public int countAll()
             throws SystemException
Specified by:
countAll in interface SCFrameworkVersionPersistence
Throws:
SystemException

getSCProductVersions

public List<SCProductVersion> getSCProductVersions(long pk)
                                            throws SystemException
Specified by:
getSCProductVersions in interface SCFrameworkVersionPersistence
Throws:
SystemException

getSCProductVersions

public List<SCProductVersion> getSCProductVersions(long pk,
                                                   int start,
                                                   int end)
                                            throws SystemException
Specified by:
getSCProductVersions in interface SCFrameworkVersionPersistence
Throws:
SystemException

getSCProductVersions

public List<SCProductVersion> getSCProductVersions(long pk,
                                                   int start,
                                                   int end,
                                                   OrderByComparator orderByComparator)
                                            throws SystemException
Specified by:
getSCProductVersions in interface SCFrameworkVersionPersistence
Throws:
SystemException

getSCProductVersionsSize

public int getSCProductVersionsSize(long pk)
                             throws SystemException
Specified by:
getSCProductVersionsSize in interface SCFrameworkVersionPersistence
Throws:
SystemException

containsSCProductVersion

public boolean containsSCProductVersion(long pk,
                                        long scProductVersionPK)
                                 throws SystemException
Specified by:
containsSCProductVersion in interface SCFrameworkVersionPersistence
Throws:
SystemException

containsSCProductVersions

public boolean containsSCProductVersions(long pk)
                                  throws SystemException
Specified by:
containsSCProductVersions in interface SCFrameworkVersionPersistence
Throws:
SystemException

addSCProductVersion

public void addSCProductVersion(long pk,
                                long scProductVersionPK)
                         throws SystemException
Specified by:
addSCProductVersion in interface SCFrameworkVersionPersistence
Throws:
SystemException

addSCProductVersion

public void addSCProductVersion(long pk,
                                SCProductVersion scProductVersion)
                         throws SystemException
Specified by:
addSCProductVersion in interface SCFrameworkVersionPersistence
Throws:
SystemException

addSCProductVersions

public void addSCProductVersions(long pk,
                                 long[] scProductVersionPKs)
                          throws SystemException
Specified by:
addSCProductVersions in interface SCFrameworkVersionPersistence
Throws:
SystemException

addSCProductVersions

public void addSCProductVersions(long pk,
                                 List<SCProductVersion> scProductVersions)
                          throws SystemException
Specified by:
addSCProductVersions in interface SCFrameworkVersionPersistence
Throws:
SystemException

clearSCProductVersions

public void clearSCProductVersions(long pk)
                            throws SystemException
Specified by:
clearSCProductVersions in interface SCFrameworkVersionPersistence
Throws:
SystemException

removeSCProductVersion

public void removeSCProductVersion(long pk,
                                   long scProductVersionPK)
                            throws SystemException
Specified by:
removeSCProductVersion in interface SCFrameworkVersionPersistence
Throws:
SystemException

removeSCProductVersion

public void removeSCProductVersion(long pk,
                                   SCProductVersion scProductVersion)
                            throws SystemException
Specified by:
removeSCProductVersion in interface SCFrameworkVersionPersistence
Throws:
SystemException

removeSCProductVersions

public void removeSCProductVersions(long pk,
                                    long[] scProductVersionPKs)
                             throws SystemException
Specified by:
removeSCProductVersions in interface SCFrameworkVersionPersistence
Throws:
SystemException

removeSCProductVersions

public void removeSCProductVersions(long pk,
                                    List<SCProductVersion> scProductVersions)
                             throws SystemException
Specified by:
removeSCProductVersions in interface SCFrameworkVersionPersistence
Throws:
SystemException

setSCProductVersions

public void setSCProductVersions(long pk,
                                 long[] scProductVersionPKs)
                          throws SystemException
Specified by:
setSCProductVersions in interface SCFrameworkVersionPersistence
Throws:
SystemException

setSCProductVersions

public void setSCProductVersions(long pk,
                                 List<SCProductVersion> scProductVersions)
                          throws SystemException
Specified by:
setSCProductVersions in interface SCFrameworkVersionPersistence
Throws:
SystemException

afterPropertiesSet

public void afterPropertiesSet()

Liferay 6.0.3