Liferay 6.0.3

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

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

public class SCProductEntryPersistenceImpl
extends BasePersistenceImpl<SCProductEntry>
implements SCProductEntryPersistence

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

Nested Class Summary
protected  class SCProductEntryPersistenceImpl.AddSCLicense
           
protected  class SCProductEntryPersistenceImpl.ClearSCLicenses
           
protected  class SCProductEntryPersistenceImpl.ContainsSCLicense
           
protected  class SCProductEntryPersistenceImpl.RemoveSCLicense
           
 
Field Summary
protected  SCProductEntryPersistenceImpl.AddSCLicense addSCLicense
           
protected  SCProductEntryPersistenceImpl.ClearSCLicenses clearSCLicenses
           
protected  SCProductEntryPersistenceImpl.ContainsSCLicense containsSCLicense
           
static String FINDER_CLASS_NAME_ENTITY
           
static String FINDER_CLASS_NAME_LIST
           
static FinderPath FINDER_PATH_CONTAINS_SCLICENSE
           
static FinderPath FINDER_PATH_COUNT_ALL
           
static FinderPath FINDER_PATH_COUNT_BY_COMPANYID
           
static FinderPath FINDER_PATH_COUNT_BY_G_U
           
static FinderPath FINDER_PATH_COUNT_BY_GROUPID
           
static FinderPath FINDER_PATH_COUNT_BY_RG_RA
           
static FinderPath FINDER_PATH_FETCH_BY_RG_RA
           
static FinderPath FINDER_PATH_FIND_ALL
           
static FinderPath FINDER_PATH_FIND_BY_COMPANYID
           
static FinderPath FINDER_PATH_FIND_BY_G_U
           
static FinderPath FINDER_PATH_FIND_BY_GROUPID
           
static FinderPath FINDER_PATH_GET_SCLICENSES
           
static FinderPath FINDER_PATH_GET_SCLICENSES_SIZE
           
protected  GroupPersistence groupPersistence
           
protected  ImagePersistence imagePersistence
           
protected  MBMessagePersistence mbMessagePersistence
           
protected  RatingsStatsPersistence ratingsStatsPersistence
           
protected  SCProductEntryPersistenceImpl.RemoveSCLicense removeSCLicense
           
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
SCProductEntryPersistenceImpl()
           
 
Method Summary
 void addSCLicense(long pk, long scLicensePK)
           
 void addSCLicense(long pk, SCLicense scLicense)
           
 void addSCLicenses(long pk, List<SCLicense> scLicenses)
           
 void addSCLicenses(long pk, long[] scLicensePKs)
           
 void afterPropertiesSet()
           
 void cacheResult(List<SCProductEntry> scProductEntries)
           
 void cacheResult(SCProductEntry scProductEntry)
           
 void clearCache()
          Clears the cache for all instances of this model.
 void clearCache(SCProductEntry scProductEntry)
          Clears the cache for one instance of this model.
 void clearSCLicenses(long pk)
           
 boolean containsSCLicense(long pk, long scLicensePK)
           
 boolean containsSCLicenses(long pk)
           
 int countAll()
           
 int countByCompanyId(long companyId)
           
 int countByG_U(long groupId, long userId)
           
 int countByGroupId(long groupId)
           
 int countByRG_RA(String repoGroupId, String repoArtifactId)
           
 SCProductEntry create(long productEntryId)
           
 SCProductEntry fetchByPrimaryKey(long productEntryId)
           
 SCProductEntry fetchByPrimaryKey(Serializable primaryKey)
          Finds an instance of this model by its primary key, or return null if it could not be found.
 SCProductEntry fetchByRG_RA(String repoGroupId, String repoArtifactId)
           
 SCProductEntry fetchByRG_RA(String repoGroupId, String repoArtifactId, boolean retrieveFromCache)
           
 int filterCountByG_U(long groupId, long userId)
           
 int filterCountByGroupId(long groupId)
           
 List<SCProductEntry> filterFindByG_U(long groupId, long userId)
           
 List<SCProductEntry> filterFindByG_U(long groupId, long userId, int start, int end)
           
 List<SCProductEntry> filterFindByG_U(long groupId, long userId, int start, int end, OrderByComparator orderByComparator)
           
 List<SCProductEntry> filterFindByGroupId(long groupId)
           
 List<SCProductEntry> filterFindByGroupId(long groupId, int start, int end)
           
 List<SCProductEntry> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 List<SCProductEntry> findAll()
           
 List<SCProductEntry> findAll(int start, int end)
           
 List<SCProductEntry> findAll(int start, int end, OrderByComparator orderByComparator)
           
 SCProductEntry findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
           
 SCProductEntry findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
           
 SCProductEntry[] findByCompanyId_PrevAndNext(long productEntryId, long companyId, OrderByComparator orderByComparator)
           
 List<SCProductEntry> findByCompanyId(long companyId)
           
 List<SCProductEntry> findByCompanyId(long companyId, int start, int end)
           
 List<SCProductEntry> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator)
           
 SCProductEntry findByG_U_First(long groupId, long userId, OrderByComparator orderByComparator)
           
 SCProductEntry findByG_U_Last(long groupId, long userId, OrderByComparator orderByComparator)
           
 SCProductEntry[] findByG_U_PrevAndNext(long productEntryId, long groupId, long userId, OrderByComparator orderByComparator)
           
 List<SCProductEntry> findByG_U(long groupId, long userId)
           
 List<SCProductEntry> findByG_U(long groupId, long userId, int start, int end)
           
 List<SCProductEntry> findByG_U(long groupId, long userId, int start, int end, OrderByComparator orderByComparator)
           
 SCProductEntry findByGroupId_First(long groupId, OrderByComparator orderByComparator)
           
 SCProductEntry findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
           
 SCProductEntry[] findByGroupId_PrevAndNext(long productEntryId, long groupId, OrderByComparator orderByComparator)
           
 List<SCProductEntry> findByGroupId(long groupId)
           
 List<SCProductEntry> findByGroupId(long groupId, int start, int end)
           
 List<SCProductEntry> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 SCProductEntry findByPrimaryKey(long productEntryId)
           
 SCProductEntry findByPrimaryKey(Serializable primaryKey)
          Finds an instance of this model by its primary key, or throw an exception if it could not be found.
 SCProductEntry findByRG_RA(String repoGroupId, String repoArtifactId)
           
protected  SCProductEntry getByCompanyId_PrevAndNext(Session session, SCProductEntry scProductEntry, long companyId, OrderByComparator orderByComparator, boolean previous)
           
protected  SCProductEntry getByG_U_PrevAndNext(Session session, SCProductEntry scProductEntry, long groupId, long userId, OrderByComparator orderByComparator, boolean previous)
           
protected  SCProductEntry getByGroupId_PrevAndNext(Session session, SCProductEntry scProductEntry, long groupId, OrderByComparator orderByComparator, boolean previous)
           
 List<SCLicense> getSCLicenses(long pk)
           
 List<SCLicense> getSCLicenses(long pk, int start, int end)
           
 List<SCLicense> getSCLicenses(long pk, int start, int end, OrderByComparator orderByComparator)
           
 int getSCLicensesSize(long pk)
           
 SCProductEntry remove(long productEntryId)
           
 SCProductEntry 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_U(long groupId, long userId)
           
 void removeByGroupId(long groupId)
           
 void removeByRG_RA(String repoGroupId, String repoArtifactId)
           
protected  SCProductEntry removeImpl(SCProductEntry scProductEntry)
          Removes the model instance from the database.
 void removeSCLicense(long pk, long scLicensePK)
           
 void removeSCLicense(long pk, SCLicense scLicense)
           
 void removeSCLicenses(long pk, List<SCLicense> scLicenses)
           
 void removeSCLicenses(long pk, long[] scLicensePKs)
           
 void setSCLicenses(long pk, List<SCLicense> scLicenses)
           
 void setSCLicenses(long pk, long[] scLicensePKs)
           
protected  SCProductEntry toUnwrappedModel(SCProductEntry scProductEntry)
           
 SCProductEntry updateImpl(SCProductEntry scProductEntry, 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_U

public static final FinderPath FINDER_PATH_FIND_BY_G_U

FINDER_PATH_COUNT_BY_G_U

public static final FinderPath FINDER_PATH_COUNT_BY_G_U

FINDER_PATH_FETCH_BY_RG_RA

public static final FinderPath FINDER_PATH_FETCH_BY_RG_RA

FINDER_PATH_COUNT_BY_RG_RA

public static final FinderPath FINDER_PATH_COUNT_BY_RG_RA

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_SCLICENSES

public static final FinderPath FINDER_PATH_GET_SCLICENSES

FINDER_PATH_GET_SCLICENSES_SIZE

public static final FinderPath FINDER_PATH_GET_SCLICENSES_SIZE

FINDER_PATH_CONTAINS_SCLICENSE

public static final FinderPath FINDER_PATH_CONTAINS_SCLICENSE

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

groupPersistence

@BeanReference(type=GroupPersistence.class)
protected GroupPersistence groupPersistence

imagePersistence

@BeanReference(type=ImagePersistence.class)
protected ImagePersistence imagePersistence

resourcePersistence

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

userPersistence

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

mbMessagePersistence

@BeanReference(type=MBMessagePersistence.class)
protected MBMessagePersistence mbMessagePersistence

ratingsStatsPersistence

@BeanReference(type=RatingsStatsPersistence.class)
protected RatingsStatsPersistence ratingsStatsPersistence

containsSCLicense

protected SCProductEntryPersistenceImpl.ContainsSCLicense containsSCLicense

addSCLicense

protected SCProductEntryPersistenceImpl.AddSCLicense addSCLicense

clearSCLicenses

protected SCProductEntryPersistenceImpl.ClearSCLicenses clearSCLicenses

removeSCLicense

protected SCProductEntryPersistenceImpl.RemoveSCLicense removeSCLicense
Constructor Detail

SCProductEntryPersistenceImpl

public SCProductEntryPersistenceImpl()
Method Detail

cacheResult

public void cacheResult(SCProductEntry scProductEntry)
Specified by:
cacheResult in interface SCProductEntryPersistence

cacheResult

public void cacheResult(List<SCProductEntry> scProductEntries)
Specified by:
cacheResult in interface SCProductEntryPersistence

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<SCProductEntry>
Overrides:
clearCache in class BasePersistenceImpl<SCProductEntry>

clearCache

public void clearCache(SCProductEntry scProductEntry)
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<SCProductEntry>
Overrides:
clearCache in class BasePersistenceImpl<SCProductEntry>
Parameters:
scProductEntry - the instance of this model to clear the cache for

create

public SCProductEntry create(long productEntryId)
Specified by:
create in interface SCProductEntryPersistence

remove

public SCProductEntry 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<SCProductEntry>
Overrides:
remove in class BasePersistenceImpl<SCProductEntry>
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 SCProductEntry remove(long productEntryId)
                      throws NoSuchProductEntryException,
                             SystemException
Specified by:
remove in interface SCProductEntryPersistence
Throws:
NoSuchProductEntryException
SystemException

removeImpl

protected SCProductEntry removeImpl(SCProductEntry scProductEntry)
                             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<SCProductEntry>
Parameters:
scProductEntry - the model instance to remove
Returns:
the model instance that was removed
Throws:
SystemException - if a system exception occurred

updateImpl

public SCProductEntry updateImpl(SCProductEntry scProductEntry,
                                 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 SCProductEntryPersistence
Overrides:
updateImpl in class BasePersistenceImpl<SCProductEntry>
Parameters:
scProductEntry - 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 SCProductEntry toUnwrappedModel(SCProductEntry scProductEntry)

findByPrimaryKey

public SCProductEntry 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<SCProductEntry>
Overrides:
findByPrimaryKey in class BasePersistenceImpl<SCProductEntry>
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 SCProductEntry findByPrimaryKey(long productEntryId)
                                throws NoSuchProductEntryException,
                                       SystemException
Specified by:
findByPrimaryKey in interface SCProductEntryPersistence
Throws:
NoSuchProductEntryException
SystemException

fetchByPrimaryKey

public SCProductEntry 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<SCProductEntry>
Overrides:
fetchByPrimaryKey in class BasePersistenceImpl<SCProductEntry>
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 SCProductEntry fetchByPrimaryKey(long productEntryId)
                                 throws SystemException
Specified by:
fetchByPrimaryKey in interface SCProductEntryPersistence
Throws:
SystemException

findByGroupId

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

findByGroupId

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

findByGroupId

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

findByGroupId_First

public SCProductEntry findByGroupId_First(long groupId,
                                          OrderByComparator orderByComparator)
                                   throws NoSuchProductEntryException,
                                          SystemException
Specified by:
findByGroupId_First in interface SCProductEntryPersistence
Throws:
NoSuchProductEntryException
SystemException

findByGroupId_Last

public SCProductEntry findByGroupId_Last(long groupId,
                                         OrderByComparator orderByComparator)
                                  throws NoSuchProductEntryException,
                                         SystemException
Specified by:
findByGroupId_Last in interface SCProductEntryPersistence
Throws:
NoSuchProductEntryException
SystemException

findByGroupId_PrevAndNext

public SCProductEntry[] findByGroupId_PrevAndNext(long productEntryId,
                                                  long groupId,
                                                  OrderByComparator orderByComparator)
                                           throws NoSuchProductEntryException,
                                                  SystemException
Specified by:
findByGroupId_PrevAndNext in interface SCProductEntryPersistence
Throws:
NoSuchProductEntryException
SystemException

getByGroupId_PrevAndNext

protected SCProductEntry getByGroupId_PrevAndNext(Session session,
                                                  SCProductEntry scProductEntry,
                                                  long groupId,
                                                  OrderByComparator orderByComparator,
                                                  boolean previous)

filterFindByGroupId

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

filterFindByGroupId

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

filterFindByGroupId

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

findByCompanyId

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

findByCompanyId

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

findByCompanyId

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

findByCompanyId_First

public SCProductEntry findByCompanyId_First(long companyId,
                                            OrderByComparator orderByComparator)
                                     throws NoSuchProductEntryException,
                                            SystemException
Specified by:
findByCompanyId_First in interface SCProductEntryPersistence
Throws:
NoSuchProductEntryException
SystemException

findByCompanyId_Last

public SCProductEntry findByCompanyId_Last(long companyId,
                                           OrderByComparator orderByComparator)
                                    throws NoSuchProductEntryException,
                                           SystemException
Specified by:
findByCompanyId_Last in interface SCProductEntryPersistence
Throws:
NoSuchProductEntryException
SystemException

findByCompanyId_PrevAndNext

public SCProductEntry[] findByCompanyId_PrevAndNext(long productEntryId,
                                                    long companyId,
                                                    OrderByComparator orderByComparator)
                                             throws NoSuchProductEntryException,
                                                    SystemException
Specified by:
findByCompanyId_PrevAndNext in interface SCProductEntryPersistence
Throws:
NoSuchProductEntryException
SystemException

getByCompanyId_PrevAndNext

protected SCProductEntry getByCompanyId_PrevAndNext(Session session,
                                                    SCProductEntry scProductEntry,
                                                    long companyId,
                                                    OrderByComparator orderByComparator,
                                                    boolean previous)

findByG_U

public List<SCProductEntry> findByG_U(long groupId,
                                      long userId)
                               throws SystemException
Specified by:
findByG_U in interface SCProductEntryPersistence
Throws:
SystemException

findByG_U

public List<SCProductEntry> findByG_U(long groupId,
                                      long userId,
                                      int start,
                                      int end)
                               throws SystemException
Specified by:
findByG_U in interface SCProductEntryPersistence
Throws:
SystemException

findByG_U

public List<SCProductEntry> findByG_U(long groupId,
                                      long userId,
                                      int start,
                                      int end,
                                      OrderByComparator orderByComparator)
                               throws SystemException
Specified by:
findByG_U in interface SCProductEntryPersistence
Throws:
SystemException

findByG_U_First

public SCProductEntry findByG_U_First(long groupId,
                                      long userId,
                                      OrderByComparator orderByComparator)
                               throws NoSuchProductEntryException,
                                      SystemException
Specified by:
findByG_U_First in interface SCProductEntryPersistence
Throws:
NoSuchProductEntryException
SystemException

findByG_U_Last

public SCProductEntry findByG_U_Last(long groupId,
                                     long userId,
                                     OrderByComparator orderByComparator)
                              throws NoSuchProductEntryException,
                                     SystemException
Specified by:
findByG_U_Last in interface SCProductEntryPersistence
Throws:
NoSuchProductEntryException
SystemException

findByG_U_PrevAndNext

public SCProductEntry[] findByG_U_PrevAndNext(long productEntryId,
                                              long groupId,
                                              long userId,
                                              OrderByComparator orderByComparator)
                                       throws NoSuchProductEntryException,
                                              SystemException
Specified by:
findByG_U_PrevAndNext in interface SCProductEntryPersistence
Throws:
NoSuchProductEntryException
SystemException

getByG_U_PrevAndNext

protected SCProductEntry getByG_U_PrevAndNext(Session session,
                                              SCProductEntry scProductEntry,
                                              long groupId,
                                              long userId,
                                              OrderByComparator orderByComparator,
                                              boolean previous)

filterFindByG_U

public List<SCProductEntry> filterFindByG_U(long groupId,
                                            long userId)
                                     throws SystemException
Specified by:
filterFindByG_U in interface SCProductEntryPersistence
Throws:
SystemException

filterFindByG_U

public List<SCProductEntry> filterFindByG_U(long groupId,
                                            long userId,
                                            int start,
                                            int end)
                                     throws SystemException
Specified by:
filterFindByG_U in interface SCProductEntryPersistence
Throws:
SystemException

filterFindByG_U

public List<SCProductEntry> filterFindByG_U(long groupId,
                                            long userId,
                                            int start,
                                            int end,
                                            OrderByComparator orderByComparator)
                                     throws SystemException
Specified by:
filterFindByG_U in interface SCProductEntryPersistence
Throws:
SystemException

findByRG_RA

public SCProductEntry findByRG_RA(String repoGroupId,
                                  String repoArtifactId)
                           throws NoSuchProductEntryException,
                                  SystemException
Specified by:
findByRG_RA in interface SCProductEntryPersistence
Throws:
NoSuchProductEntryException
SystemException

fetchByRG_RA

public SCProductEntry fetchByRG_RA(String repoGroupId,
                                   String repoArtifactId)
                            throws SystemException
Specified by:
fetchByRG_RA in interface SCProductEntryPersistence
Throws:
SystemException

fetchByRG_RA

public SCProductEntry fetchByRG_RA(String repoGroupId,
                                   String repoArtifactId,
                                   boolean retrieveFromCache)
                            throws SystemException
Specified by:
fetchByRG_RA in interface SCProductEntryPersistence
Throws:
SystemException

findAll

public List<SCProductEntry> findAll()
                             throws SystemException
Specified by:
findAll in interface SCProductEntryPersistence
Throws:
SystemException

findAll

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

findAll

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

removeByGroupId

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

removeByCompanyId

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

removeByG_U

public void removeByG_U(long groupId,
                        long userId)
                 throws SystemException
Specified by:
removeByG_U in interface SCProductEntryPersistence
Throws:
SystemException

removeByRG_RA

public void removeByRG_RA(String repoGroupId,
                          String repoArtifactId)
                   throws NoSuchProductEntryException,
                          SystemException
Specified by:
removeByRG_RA in interface SCProductEntryPersistence
Throws:
NoSuchProductEntryException
SystemException

removeAll

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

countByGroupId

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

filterCountByGroupId

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

countByCompanyId

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

countByG_U

public int countByG_U(long groupId,
                      long userId)
               throws SystemException
Specified by:
countByG_U in interface SCProductEntryPersistence
Throws:
SystemException

filterCountByG_U

public int filterCountByG_U(long groupId,
                            long userId)
                     throws SystemException
Specified by:
filterCountByG_U in interface SCProductEntryPersistence
Throws:
SystemException

countByRG_RA

public int countByRG_RA(String repoGroupId,
                        String repoArtifactId)
                 throws SystemException
Specified by:
countByRG_RA in interface SCProductEntryPersistence
Throws:
SystemException

countAll

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

getSCLicenses

public List<SCLicense> getSCLicenses(long pk)
                              throws SystemException
Specified by:
getSCLicenses in interface SCProductEntryPersistence
Throws:
SystemException

getSCLicenses

public List<SCLicense> getSCLicenses(long pk,
                                     int start,
                                     int end)
                              throws SystemException
Specified by:
getSCLicenses in interface SCProductEntryPersistence
Throws:
SystemException

getSCLicenses

public List<SCLicense> getSCLicenses(long pk,
                                     int start,
                                     int end,
                                     OrderByComparator orderByComparator)
                              throws SystemException
Specified by:
getSCLicenses in interface SCProductEntryPersistence
Throws:
SystemException

getSCLicensesSize

public int getSCLicensesSize(long pk)
                      throws SystemException
Specified by:
getSCLicensesSize in interface SCProductEntryPersistence
Throws:
SystemException

containsSCLicense

public boolean containsSCLicense(long pk,
                                 long scLicensePK)
                          throws SystemException
Specified by:
containsSCLicense in interface SCProductEntryPersistence
Throws:
SystemException

containsSCLicenses

public boolean containsSCLicenses(long pk)
                           throws SystemException
Specified by:
containsSCLicenses in interface SCProductEntryPersistence
Throws:
SystemException

addSCLicense

public void addSCLicense(long pk,
                         long scLicensePK)
                  throws SystemException
Specified by:
addSCLicense in interface SCProductEntryPersistence
Throws:
SystemException

addSCLicense

public void addSCLicense(long pk,
                         SCLicense scLicense)
                  throws SystemException
Specified by:
addSCLicense in interface SCProductEntryPersistence
Throws:
SystemException

addSCLicenses

public void addSCLicenses(long pk,
                          long[] scLicensePKs)
                   throws SystemException
Specified by:
addSCLicenses in interface SCProductEntryPersistence
Throws:
SystemException

addSCLicenses

public void addSCLicenses(long pk,
                          List<SCLicense> scLicenses)
                   throws SystemException
Specified by:
addSCLicenses in interface SCProductEntryPersistence
Throws:
SystemException

clearSCLicenses

public void clearSCLicenses(long pk)
                     throws SystemException
Specified by:
clearSCLicenses in interface SCProductEntryPersistence
Throws:
SystemException

removeSCLicense

public void removeSCLicense(long pk,
                            long scLicensePK)
                     throws SystemException
Specified by:
removeSCLicense in interface SCProductEntryPersistence
Throws:
SystemException

removeSCLicense

public void removeSCLicense(long pk,
                            SCLicense scLicense)
                     throws SystemException
Specified by:
removeSCLicense in interface SCProductEntryPersistence
Throws:
SystemException

removeSCLicenses

public void removeSCLicenses(long pk,
                             long[] scLicensePKs)
                      throws SystemException
Specified by:
removeSCLicenses in interface SCProductEntryPersistence
Throws:
SystemException

removeSCLicenses

public void removeSCLicenses(long pk,
                             List<SCLicense> scLicenses)
                      throws SystemException
Specified by:
removeSCLicenses in interface SCProductEntryPersistence
Throws:
SystemException

setSCLicenses

public void setSCLicenses(long pk,
                          long[] scLicensePKs)
                   throws SystemException
Specified by:
setSCLicenses in interface SCProductEntryPersistence
Throws:
SystemException

setSCLicenses

public void setSCLicenses(long pk,
                          List<SCLicense> scLicenses)
                   throws SystemException
Specified by:
setSCLicenses in interface SCProductEntryPersistence
Throws:
SystemException

afterPropertiesSet

public void afterPropertiesSet()

Liferay 6.0.3