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

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

public class SCProductEntryPersistenceImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductEntry>
implements com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence

The persistence implementation for the s c product entry service.

Caching information and settings can be found in portal.properties

Author:
Brian Wing Shun Chan
See Also:
SCProductEntryPersistence, SCProductEntryUtil
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 java.lang.String FINDER_CLASS_NAME_ENTITY
           
static java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
           
static java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_CONTAINS_SCLICENSE
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_COMPANYID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_U
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_GROUPID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_RG_RA
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_RG_RA
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_SCLICENSES
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_SCLICENSES_SIZE
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
           
protected  com.liferay.portal.service.persistence.GroupPersistence groupPersistence
           
protected  com.liferay.portal.service.persistence.ImagePersistence imagePersistence
           
protected  com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence mbMessagePersistence
           
protected  com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence ratingsStatsPersistence
           
protected  SCProductEntryPersistenceImpl.RemoveSCLicense removeSCLicense
           
protected  com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence
           
protected  com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence scFrameworkVersionPersistence
           
protected  com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence scLicensePersistence
           
protected  com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence scProductEntryPersistence
           
protected  com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence scProductScreenshotPersistence
           
protected  com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence scProductVersionPersistence
           
protected  com.liferay.portal.service.persistence.UserPersistence userPersistence
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, 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)
          Adds an association between the s c product entry and the s c license.
 void addSCLicense(long pk, com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
          Adds an association between the s c product entry and the s c license.
 void addSCLicenses(long pk, java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses)
          Adds an association between the s c product entry and the s c licenses.
 void addSCLicenses(long pk, long[] scLicensePKs)
          Adds an association between the s c product entry and the s c licenses.
 void afterPropertiesSet()
          Initializes the s c product entry persistence.
 void cacheResult(java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries)
          Caches the s c product entries in the entity cache if it is enabled.
 void cacheResult(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
          Caches the s c product entry in the entity cache if it is enabled.
 void clearCache()
          Clears the cache for all s c product entries.
 void clearCache(java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries)
           
 void clearCache(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
          Clears the cache for the s c product entry.
 void clearSCLicenses(long pk)
          Clears all associations between the s c product entry and its s c licenses.
protected  void clearUniqueFindersCache(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
           
 boolean containsSCLicense(long pk, long scLicensePK)
          Returns true if the s c license is associated with the s c product entry.
 boolean containsSCLicenses(long pk)
          Returns true if the s c product entry has any s c licenses associated with it.
 int countAll()
          Returns the number of s c product entries.
 int countByCompanyId(long companyId)
          Returns the number of s c product entries where companyId = ?.
 int countByG_U(long groupId, long userId)
          Returns the number of s c product entries where groupId = ? and userId = ?.
 int countByGroupId(long groupId)
          Returns the number of s c product entries where groupId = ?.
 int countByRG_RA(java.lang.String repoGroupId, java.lang.String repoArtifactId)
          Returns the number of s c product entries where repoGroupId = ? and repoArtifactId = ?.
 com.liferay.portlet.softwarecatalog.model.SCProductEntry create(long productEntryId)
          Creates a new s c product entry with the primary key.
 void destroy()
           
 com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByPrimaryKey(long productEntryId)
          Returns the s c product entry with the primary key or returns null if it could not be found.
 com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByPrimaryKey(java.io.Serializable primaryKey)
          Returns the s c product entry with the primary key or returns null if it could not be found.
 com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByRG_RA(java.lang.String repoGroupId, java.lang.String repoArtifactId)
          Returns the s c product entry where repoGroupId = ? and repoArtifactId = ? or returns null if it could not be found.
 com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByRG_RA(java.lang.String repoGroupId, java.lang.String repoArtifactId, boolean retrieveFromCache)
          Returns the s c product entry where repoGroupId = ? and repoArtifactId = ? or returns null if it could not be found, optionally using the finder cache.
 int filterCountByG_U(long groupId, long userId)
          Returns the number of s c product entries that the user has permission to view where groupId = ? and userId = ?.
 int filterCountByGroupId(long groupId)
          Returns the number of s c product entries that the user has permission to view where groupId = ?.
 com.liferay.portlet.softwarecatalog.model.SCProductEntry[] filterFindByG_U_PrevAndNext(long productEntryId, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the s c product entries before and after the current s c product entry in the ordered set of s c product entries that the user has permission to view where groupId = ? and userId = ?.
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> filterFindByG_U(long groupId, long userId)
          Returns all the s c product entries that the user has permission to view where groupId = ? and userId = ?.
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> filterFindByG_U(long groupId, long userId, int start, int end)
          Returns a range of all the s c product entries that the user has permission to view where groupId = ? and userId = ?.
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> filterFindByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the s c product entries that the user has permissions to view where groupId = ? and userId = ?.
 com.liferay.portlet.softwarecatalog.model.SCProductEntry[] filterFindByGroupId_PrevAndNext(long productEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the s c product entries before and after the current s c product entry in the ordered set of s c product entries that the user has permission to view where groupId = ?.
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> filterFindByGroupId(long groupId)
          Returns all the s c product entries that the user has permission to view where groupId = ?.
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> filterFindByGroupId(long groupId, int start, int end)
          Returns a range of all the s c product entries that the user has permission to view where groupId = ?.
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the s c product entries that the user has permissions to view where groupId = ?.
protected  com.liferay.portlet.softwarecatalog.model.SCProductEntry filterGetByG_U_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
protected  com.liferay.portlet.softwarecatalog.model.SCProductEntry filterGetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry, long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findAll()
          Returns all the s c product entries.
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findAll(int start, int end)
          Returns a range of all the s c product entries.
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the s c product entries.
 com.liferay.portlet.softwarecatalog.model.SCProductEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the first s c product entry in the ordered set where companyId = ?.
 com.liferay.portlet.softwarecatalog.model.SCProductEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the last s c product entry in the ordered set where companyId = ?.
 com.liferay.portlet.softwarecatalog.model.SCProductEntry[] findByCompanyId_PrevAndNext(long productEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the s c product entries before and after the current s c product entry in the ordered set where companyId = ?.
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByCompanyId(long companyId)
          Returns all the s c product entries where companyId = ?.
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByCompanyId(long companyId, int start, int end)
          Returns a range of all the s c product entries where companyId = ?.
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the s c product entries where companyId = ?.
 com.liferay.portlet.softwarecatalog.model.SCProductEntry findByG_U_First(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the first s c product entry in the ordered set where groupId = ? and userId = ?.
 com.liferay.portlet.softwarecatalog.model.SCProductEntry findByG_U_Last(long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the last s c product entry in the ordered set where groupId = ? and userId = ?.
 com.liferay.portlet.softwarecatalog.model.SCProductEntry[] findByG_U_PrevAndNext(long productEntryId, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the s c product entries before and after the current s c product entry in the ordered set where groupId = ? and userId = ?.
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByG_U(long groupId, long userId)
          Returns all the s c product entries where groupId = ? and userId = ?.
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByG_U(long groupId, long userId, int start, int end)
          Returns a range of all the s c product entries where groupId = ? and userId = ?.
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByG_U(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the s c product entries where groupId = ? and userId = ?.
 com.liferay.portlet.softwarecatalog.model.SCProductEntry findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the first s c product entry in the ordered set where groupId = ?.
 com.liferay.portlet.softwarecatalog.model.SCProductEntry findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the last s c product entry in the ordered set where groupId = ?.
 com.liferay.portlet.softwarecatalog.model.SCProductEntry[] findByGroupId_PrevAndNext(long productEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the s c product entries before and after the current s c product entry in the ordered set where groupId = ?.
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByGroupId(long groupId)
          Returns all the s c product entries where groupId = ?.
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByGroupId(long groupId, int start, int end)
          Returns a range of all the s c product entries where groupId = ?.
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the s c product entries where groupId = ?.
 com.liferay.portlet.softwarecatalog.model.SCProductEntry findByPrimaryKey(long productEntryId)
          Returns the s c product entry with the primary key or throws a NoSuchProductEntryException if it could not be found.
 com.liferay.portlet.softwarecatalog.model.SCProductEntry findByPrimaryKey(java.io.Serializable primaryKey)
          Returns the s c product entry with the primary key or throws a NoSuchModelException if it could not be found.
 com.liferay.portlet.softwarecatalog.model.SCProductEntry findByRG_RA(java.lang.String repoGroupId, java.lang.String repoArtifactId)
          Returns the s c product entry where repoGroupId = ? and repoArtifactId = ? or throws a NoSuchProductEntryException if it could not be found.
protected  com.liferay.portlet.softwarecatalog.model.SCProductEntry getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
protected  com.liferay.portlet.softwarecatalog.model.SCProductEntry getByG_U_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry, long groupId, long userId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
protected  com.liferay.portlet.softwarecatalog.model.SCProductEntry getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry, long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getSCLicenses(long pk)
          Returns all the s c licenses associated with the s c product entry.
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getSCLicenses(long pk, int start, int end)
          Returns a range of all the s c licenses associated with the s c product entry.
 java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getSCLicenses(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the s c licenses associated with the s c product entry.
 int getSCLicensesSize(long pk)
          Returns the number of s c licenses associated with the s c product entry.
 com.liferay.portlet.softwarecatalog.model.SCProductEntry remove(long productEntryId)
          Removes the s c product entry with the primary key from the database.
 com.liferay.portlet.softwarecatalog.model.SCProductEntry remove(java.io.Serializable primaryKey)
          Removes the s c product entry with the primary key from the database.
 void removeAll()
          Removes all the s c product entries from the database.
 void removeByCompanyId(long companyId)
          Removes all the s c product entries where companyId = ? from the database.
 void removeByG_U(long groupId, long userId)
          Removes all the s c product entries where groupId = ? and userId = ? from the database.
 void removeByGroupId(long groupId)
          Removes all the s c product entries where groupId = ? from the database.
 void removeByRG_RA(java.lang.String repoGroupId, java.lang.String repoArtifactId)
          Removes the s c product entry where repoGroupId = ? and repoArtifactId = ? from the database.
protected  com.liferay.portlet.softwarecatalog.model.SCProductEntry removeImpl(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
           
 void removeSCLicense(long pk, long scLicensePK)
          Removes the association between the s c product entry and the s c license.
 void removeSCLicense(long pk, com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
          Removes the association between the s c product entry and the s c license.
 void removeSCLicenses(long pk, java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses)
          Removes the association between the s c product entry and the s c licenses.
 void removeSCLicenses(long pk, long[] scLicensePKs)
          Removes the association between the s c product entry and the s c licenses.
 void setSCLicenses(long pk, java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses)
          Sets the s c licenses associated with the s c product entry, removing and adding associations as necessary.
 void setSCLicenses(long pk, long[] scLicensePKs)
          Sets the s c licenses associated with the s c product entry, removing and adding associations as necessary.
protected  com.liferay.portlet.softwarecatalog.model.SCProductEntry toUnwrappedModel(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
           
 com.liferay.portlet.softwarecatalog.model.SCProductEntry updateImpl(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry, boolean merge)
           
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDB, 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
closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final java.lang.String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST_WITH_PAGINATION

public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION

FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

public static final java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID

FINDER_PATH_COUNT_BY_GROUPID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_GROUPID

FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID

FINDER_PATH_COUNT_BY_COMPANYID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_COMPANYID

FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_U

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_U

FINDER_PATH_COUNT_BY_G_U

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_U

FINDER_PATH_FETCH_BY_RG_RA

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_RG_RA

FINDER_PATH_COUNT_BY_RG_RA

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_RG_RA

FINDER_PATH_WITH_PAGINATION_FIND_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL

FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL

FINDER_PATH_GET_SCLICENSES

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_SCLICENSES

FINDER_PATH_GET_SCLICENSES_SIZE

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_GET_SCLICENSES_SIZE

FINDER_PATH_CONTAINS_SCLICENSE

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_CONTAINS_SCLICENSE

scFrameworkVersionPersistence

@BeanReference(type=com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence.class)
protected com.liferay.portlet.softwarecatalog.service.persistence.SCFrameworkVersionPersistence scFrameworkVersionPersistence

scLicensePersistence

@BeanReference(type=com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence.class)
protected com.liferay.portlet.softwarecatalog.service.persistence.SCLicensePersistence scLicensePersistence

scProductEntryPersistence

@BeanReference(type=com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence.class)
protected com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence scProductEntryPersistence

scProductScreenshotPersistence

@BeanReference(type=com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence.class)
protected com.liferay.portlet.softwarecatalog.service.persistence.SCProductScreenshotPersistence scProductScreenshotPersistence

scProductVersionPersistence

@BeanReference(type=com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence.class)
protected com.liferay.portlet.softwarecatalog.service.persistence.SCProductVersionPersistence scProductVersionPersistence

groupPersistence

@BeanReference(type=com.liferay.portal.service.persistence.GroupPersistence.class)
protected com.liferay.portal.service.persistence.GroupPersistence groupPersistence

imagePersistence

@BeanReference(type=com.liferay.portal.service.persistence.ImagePersistence.class)
protected com.liferay.portal.service.persistence.ImagePersistence imagePersistence

resourcePersistence

@BeanReference(type=com.liferay.portal.service.persistence.ResourcePersistence.class)
protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence

userPersistence

@BeanReference(type=com.liferay.portal.service.persistence.UserPersistence.class)
protected com.liferay.portal.service.persistence.UserPersistence userPersistence

mbMessagePersistence

@BeanReference(type=com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence.class)
protected com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence mbMessagePersistence

ratingsStatsPersistence

@BeanReference(type=com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence.class)
protected com.liferay.portlet.ratings.service.persistence.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(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
Caches the s c product entry in the entity cache if it is enabled.

Specified by:
cacheResult in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
scProductEntry - the s c product entry

cacheResult

public void cacheResult(java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries)
Caches the s c product entries in the entity cache if it is enabled.

Specified by:
cacheResult in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
scProductEntries - the s c product entries

clearCache

public void clearCache()
Clears the cache for all s c product entries.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCProductEntry>
Overrides:
clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductEntry>

clearCache

public void clearCache(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
Clears the cache for the s c product entry.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCProductEntry>
Overrides:
clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductEntry>

clearCache

public void clearCache(java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> scProductEntries)
Specified by:
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCProductEntry>
Overrides:
clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductEntry>

clearUniqueFindersCache

protected void clearUniqueFindersCache(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)

create

public com.liferay.portlet.softwarecatalog.model.SCProductEntry create(long productEntryId)
Creates a new s c product entry with the primary key. Does not add the s c product entry to the database.

Specified by:
create in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
productEntryId - the primary key for the new s c product entry
Returns:
the new s c product entry

remove

public com.liferay.portlet.softwarecatalog.model.SCProductEntry remove(long productEntryId)
                                                                throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                                                                       com.liferay.portal.kernel.exception.SystemException
Removes the s c product entry with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
productEntryId - the primary key of the s c product entry
Returns:
the s c product entry that was removed
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException - if a s c product entry with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

remove

public com.liferay.portlet.softwarecatalog.model.SCProductEntry remove(java.io.Serializable primaryKey)
                                                                throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                                                                       com.liferay.portal.kernel.exception.SystemException
Removes the s c product entry with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCProductEntry>
Overrides:
remove in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductEntry>
Parameters:
primaryKey - the primary key of the s c product entry
Returns:
the s c product entry that was removed
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException - if a s c product entry with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeImpl

protected com.liferay.portlet.softwarecatalog.model.SCProductEntry removeImpl(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
                                                                       throws com.liferay.portal.kernel.exception.SystemException
Overrides:
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductEntry>
Throws:
com.liferay.portal.kernel.exception.SystemException

updateImpl

public com.liferay.portlet.softwarecatalog.model.SCProductEntry updateImpl(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry,
                                                                           boolean merge)
                                                                    throws com.liferay.portal.kernel.exception.SystemException
Specified by:
updateImpl in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Overrides:
updateImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductEntry>
Throws:
com.liferay.portal.kernel.exception.SystemException

toUnwrappedModel

protected com.liferay.portlet.softwarecatalog.model.SCProductEntry toUnwrappedModel(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)

findByPrimaryKey

public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByPrimaryKey(java.io.Serializable primaryKey)
                                                                          throws com.liferay.portal.NoSuchModelException,
                                                                                 com.liferay.portal.kernel.exception.SystemException
Returns the s c product entry with the primary key or throws a NoSuchModelException if it could not be found.

Specified by:
findByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCProductEntry>
Overrides:
findByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductEntry>
Parameters:
primaryKey - the primary key of the s c product entry
Returns:
the s c product entry
Throws:
com.liferay.portal.NoSuchModelException - if a s c product entry with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByPrimaryKey

public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByPrimaryKey(long productEntryId)
                                                                          throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                                                                                 com.liferay.portal.kernel.exception.SystemException
Returns the s c product entry with the primary key or throws a NoSuchProductEntryException if it could not be found.

Specified by:
findByPrimaryKey in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
productEntryId - the primary key of the s c product entry
Returns:
the s c product entry
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException - if a s c product entry with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByPrimaryKey

public com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByPrimaryKey(java.io.Serializable primaryKey)
                                                                           throws com.liferay.portal.kernel.exception.SystemException
Returns the s c product entry with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.softwarecatalog.model.SCProductEntry>
Overrides:
fetchByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.softwarecatalog.model.SCProductEntry>
Parameters:
primaryKey - the primary key of the s c product entry
Returns:
the s c product entry, or null if a s c product entry with the primary key could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByPrimaryKey

public com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByPrimaryKey(long productEntryId)
                                                                           throws com.liferay.portal.kernel.exception.SystemException
Returns the s c product entry with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
productEntryId - the primary key of the s c product entry
Returns:
the s c product entry, or null if a s c product entry with the primary key could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByGroupId

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByGroupId(long groupId)
                                                                                       throws com.liferay.portal.kernel.exception.SystemException
Returns all the s c product entries where groupId = ?.

Specified by:
findByGroupId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
groupId - the group ID
Returns:
the matching s c product entries
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByGroupId

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByGroupId(long groupId,
                                                                                              int start,
                                                                                              int end)
                                                                                       throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the s c product entries where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByGroupId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
groupId - the group ID
start - the lower bound of the range of s c product entries
end - the upper bound of the range of s c product entries (not inclusive)
Returns:
the range of matching s c product entries
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByGroupId

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByGroupId(long groupId,
                                                                                              int start,
                                                                                              int end,
                                                                                              com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                       throws com.liferay.portal.kernel.exception.SystemException
Returns an ordered range of all the s c product entries where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByGroupId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
groupId - the group ID
start - the lower bound of the range of s c product entries
end - the upper bound of the range of s c product entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching s c product entries
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByGroupId_First

public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByGroupId_First(long groupId,
                                                                                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                             throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                                                                                    com.liferay.portal.kernel.exception.SystemException
Returns the first s c product entry in the ordered set where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByGroupId_First in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching s c product entry
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException - if a matching s c product entry could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByGroupId_Last

public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByGroupId_Last(long groupId,
                                                                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                            throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                                                                                   com.liferay.portal.kernel.exception.SystemException
Returns the last s c product entry in the ordered set where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByGroupId_Last in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching s c product entry
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException - if a matching s c product entry could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByGroupId_PrevAndNext

public com.liferay.portlet.softwarecatalog.model.SCProductEntry[] findByGroupId_PrevAndNext(long productEntryId,
                                                                                            long groupId,
                                                                                            com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                     throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                                                                                            com.liferay.portal.kernel.exception.SystemException
Returns the s c product entries before and after the current s c product entry in the ordered set where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByGroupId_PrevAndNext in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
productEntryId - the primary key of the current s c product entry
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next s c product entry
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException - if a s c product entry with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getByGroupId_PrevAndNext

protected com.liferay.portlet.softwarecatalog.model.SCProductEntry getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                                            com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry,
                                                                                            long groupId,
                                                                                            com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                                            boolean previous)

filterFindByGroupId

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> filterFindByGroupId(long groupId)
                                                                                             throws com.liferay.portal.kernel.exception.SystemException
Returns all the s c product entries that the user has permission to view where groupId = ?.

Specified by:
filterFindByGroupId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
groupId - the group ID
Returns:
the matching s c product entries that the user has permission to view
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterFindByGroupId

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> filterFindByGroupId(long groupId,
                                                                                                    int start,
                                                                                                    int end)
                                                                                             throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the s c product entries that the user has permission to view where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByGroupId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
groupId - the group ID
start - the lower bound of the range of s c product entries
end - the upper bound of the range of s c product entries (not inclusive)
Returns:
the range of matching s c product entries that the user has permission to view
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterFindByGroupId

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> filterFindByGroupId(long groupId,
                                                                                                    int start,
                                                                                                    int end,
                                                                                                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                             throws com.liferay.portal.kernel.exception.SystemException
Returns an ordered range of all the s c product entries that the user has permissions to view where groupId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByGroupId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
groupId - the group ID
start - the lower bound of the range of s c product entries
end - the upper bound of the range of s c product entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching s c product entries that the user has permission to view
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterFindByGroupId_PrevAndNext

public com.liferay.portlet.softwarecatalog.model.SCProductEntry[] filterFindByGroupId_PrevAndNext(long productEntryId,
                                                                                                  long groupId,
                                                                                                  com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                           throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                                                                                                  com.liferay.portal.kernel.exception.SystemException
Returns the s c product entries before and after the current s c product entry in the ordered set of s c product entries that the user has permission to view where groupId = ?.

Specified by:
filterFindByGroupId_PrevAndNext in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
productEntryId - the primary key of the current s c product entry
groupId - the group ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next s c product entry
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException - if a s c product entry with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterGetByGroupId_PrevAndNext

protected com.liferay.portlet.softwarecatalog.model.SCProductEntry filterGetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                                                  com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry,
                                                                                                  long groupId,
                                                                                                  com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                                                  boolean previous)

findByCompanyId

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByCompanyId(long companyId)
                                                                                         throws com.liferay.portal.kernel.exception.SystemException
Returns all the s c product entries where companyId = ?.

Specified by:
findByCompanyId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
companyId - the company ID
Returns:
the matching s c product entries
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByCompanyId

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByCompanyId(long companyId,
                                                                                                int start,
                                                                                                int end)
                                                                                         throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the s c product entries where companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByCompanyId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
companyId - the company ID
start - the lower bound of the range of s c product entries
end - the upper bound of the range of s c product entries (not inclusive)
Returns:
the range of matching s c product entries
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByCompanyId

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByCompanyId(long companyId,
                                                                                                int start,
                                                                                                int end,
                                                                                                com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                         throws com.liferay.portal.kernel.exception.SystemException
Returns an ordered range of all the s c product entries where companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByCompanyId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
companyId - the company ID
start - the lower bound of the range of s c product entries
end - the upper bound of the range of s c product entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching s c product entries
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByCompanyId_First

public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByCompanyId_First(long companyId,
                                                                                      com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                               throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                                                                                      com.liferay.portal.kernel.exception.SystemException
Returns the first s c product entry in the ordered set where companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByCompanyId_First in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching s c product entry
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException - if a matching s c product entry could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByCompanyId_Last

public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByCompanyId_Last(long companyId,
                                                                                     com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                              throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                                                                                     com.liferay.portal.kernel.exception.SystemException
Returns the last s c product entry in the ordered set where companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByCompanyId_Last in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching s c product entry
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException - if a matching s c product entry could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByCompanyId_PrevAndNext

public com.liferay.portlet.softwarecatalog.model.SCProductEntry[] findByCompanyId_PrevAndNext(long productEntryId,
                                                                                              long companyId,
                                                                                              com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                       throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                                                                                              com.liferay.portal.kernel.exception.SystemException
Returns the s c product entries before and after the current s c product entry in the ordered set where companyId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByCompanyId_PrevAndNext in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
productEntryId - the primary key of the current s c product entry
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next s c product entry
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException - if a s c product entry with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getByCompanyId_PrevAndNext

protected com.liferay.portlet.softwarecatalog.model.SCProductEntry getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                                              com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry,
                                                                                              long companyId,
                                                                                              com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                                              boolean previous)

findByG_U

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByG_U(long groupId,
                                                                                          long userId)
                                                                                   throws com.liferay.portal.kernel.exception.SystemException
Returns all the s c product entries where groupId = ? and userId = ?.

Specified by:
findByG_U in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
Returns:
the matching s c product entries
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByG_U

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByG_U(long groupId,
                                                                                          long userId,
                                                                                          int start,
                                                                                          int end)
                                                                                   throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the s c product entries where groupId = ? and userId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_U in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
start - the lower bound of the range of s c product entries
end - the upper bound of the range of s c product entries (not inclusive)
Returns:
the range of matching s c product entries
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByG_U

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findByG_U(long groupId,
                                                                                          long userId,
                                                                                          int start,
                                                                                          int end,
                                                                                          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                   throws com.liferay.portal.kernel.exception.SystemException
Returns an ordered range of all the s c product entries where groupId = ? and userId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_U in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
start - the lower bound of the range of s c product entries
end - the upper bound of the range of s c product entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching s c product entries
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByG_U_First

public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByG_U_First(long groupId,
                                                                                long userId,
                                                                                com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                         throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                                                                                com.liferay.portal.kernel.exception.SystemException
Returns the first s c product entry in the ordered set where groupId = ? and userId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_U_First in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching s c product entry
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException - if a matching s c product entry could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByG_U_Last

public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByG_U_Last(long groupId,
                                                                               long userId,
                                                                               com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                        throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                                                                               com.liferay.portal.kernel.exception.SystemException
Returns the last s c product entry in the ordered set where groupId = ? and userId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_U_Last in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching s c product entry
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException - if a matching s c product entry could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByG_U_PrevAndNext

public com.liferay.portlet.softwarecatalog.model.SCProductEntry[] findByG_U_PrevAndNext(long productEntryId,
                                                                                        long groupId,
                                                                                        long userId,
                                                                                        com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                 throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                                                                                        com.liferay.portal.kernel.exception.SystemException
Returns the s c product entries before and after the current s c product entry in the ordered set where groupId = ? and userId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findByG_U_PrevAndNext in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
productEntryId - the primary key of the current s c product entry
groupId - the group ID
userId - the user ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next s c product entry
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException - if a s c product entry with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getByG_U_PrevAndNext

protected com.liferay.portlet.softwarecatalog.model.SCProductEntry getByG_U_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                                        com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry,
                                                                                        long groupId,
                                                                                        long userId,
                                                                                        com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                                        boolean previous)

filterFindByG_U

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> filterFindByG_U(long groupId,
                                                                                                long userId)
                                                                                         throws com.liferay.portal.kernel.exception.SystemException
Returns all the s c product entries that the user has permission to view where groupId = ? and userId = ?.

Specified by:
filterFindByG_U in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
Returns:
the matching s c product entries that the user has permission to view
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterFindByG_U

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> filterFindByG_U(long groupId,
                                                                                                long userId,
                                                                                                int start,
                                                                                                int end)
                                                                                         throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the s c product entries that the user has permission to view where groupId = ? and userId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByG_U in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
start - the lower bound of the range of s c product entries
end - the upper bound of the range of s c product entries (not inclusive)
Returns:
the range of matching s c product entries that the user has permission to view
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterFindByG_U

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> filterFindByG_U(long groupId,
                                                                                                long userId,
                                                                                                int start,
                                                                                                int end,
                                                                                                com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                         throws com.liferay.portal.kernel.exception.SystemException
Returns an ordered range of all the s c product entries that the user has permissions to view where groupId = ? and userId = ?.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
filterFindByG_U in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
start - the lower bound of the range of s c product entries
end - the upper bound of the range of s c product entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching s c product entries that the user has permission to view
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterFindByG_U_PrevAndNext

public com.liferay.portlet.softwarecatalog.model.SCProductEntry[] filterFindByG_U_PrevAndNext(long productEntryId,
                                                                                              long groupId,
                                                                                              long userId,
                                                                                              com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                       throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                                                                                              com.liferay.portal.kernel.exception.SystemException
Returns the s c product entries before and after the current s c product entry in the ordered set of s c product entries that the user has permission to view where groupId = ? and userId = ?.

Specified by:
filterFindByG_U_PrevAndNext in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
productEntryId - the primary key of the current s c product entry
groupId - the group ID
userId - the user ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next s c product entry
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException - if a s c product entry with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterGetByG_U_PrevAndNext

protected com.liferay.portlet.softwarecatalog.model.SCProductEntry filterGetByG_U_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                                              com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry,
                                                                                              long groupId,
                                                                                              long userId,
                                                                                              com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                                              boolean previous)

findByRG_RA

public com.liferay.portlet.softwarecatalog.model.SCProductEntry findByRG_RA(java.lang.String repoGroupId,
                                                                            java.lang.String repoArtifactId)
                                                                     throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                                                                            com.liferay.portal.kernel.exception.SystemException
Returns the s c product entry where repoGroupId = ? and repoArtifactId = ? or throws a NoSuchProductEntryException if it could not be found.

Specified by:
findByRG_RA in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
repoGroupId - the repo group ID
repoArtifactId - the repo artifact ID
Returns:
the matching s c product entry
Throws:
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException - if a matching s c product entry could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByRG_RA

public com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByRG_RA(java.lang.String repoGroupId,
                                                                             java.lang.String repoArtifactId)
                                                                      throws com.liferay.portal.kernel.exception.SystemException
Returns the s c product entry where repoGroupId = ? and repoArtifactId = ? or returns null if it could not be found. Uses the finder cache.

Specified by:
fetchByRG_RA in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
repoGroupId - the repo group ID
repoArtifactId - the repo artifact ID
Returns:
the matching s c product entry, or null if a matching s c product entry could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByRG_RA

public com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByRG_RA(java.lang.String repoGroupId,
                                                                             java.lang.String repoArtifactId,
                                                                             boolean retrieveFromCache)
                                                                      throws com.liferay.portal.kernel.exception.SystemException
Returns the s c product entry where repoGroupId = ? and repoArtifactId = ? or returns null if it could not be found, optionally using the finder cache.

Specified by:
fetchByRG_RA in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
repoGroupId - the repo group ID
repoArtifactId - the repo artifact ID
retrieveFromCache - whether to use the finder cache
Returns:
the matching s c product entry, or null if a matching s c product entry could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findAll

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findAll()
                                                                                 throws com.liferay.portal.kernel.exception.SystemException
Returns all the s c product entries.

Specified by:
findAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Returns:
the s c product entries
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findAll

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findAll(int start,
                                                                                        int end)
                                                                                 throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the s c product entries.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
start - the lower bound of the range of s c product entries
end - the upper bound of the range of s c product entries (not inclusive)
Returns:
the range of s c product entries
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findAll

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> findAll(int start,
                                                                                        int end,
                                                                                        com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                 throws com.liferay.portal.kernel.exception.SystemException
Returns an ordered range of all the s c product entries.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
findAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
start - the lower bound of the range of s c product entries
end - the upper bound of the range of s c product entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of s c product entries
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByGroupId

public void removeByGroupId(long groupId)
                     throws com.liferay.portal.kernel.exception.SystemException
Removes all the s c product entries where groupId = ? from the database.

Specified by:
removeByGroupId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
groupId - the group ID
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByCompanyId

public void removeByCompanyId(long companyId)
                       throws com.liferay.portal.kernel.exception.SystemException
Removes all the s c product entries where companyId = ? from the database.

Specified by:
removeByCompanyId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
companyId - the company ID
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByG_U

public void removeByG_U(long groupId,
                        long userId)
                 throws com.liferay.portal.kernel.exception.SystemException
Removes all the s c product entries where groupId = ? and userId = ? from the database.

Specified by:
removeByG_U in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByRG_RA

public void removeByRG_RA(java.lang.String repoGroupId,
                          java.lang.String repoArtifactId)
                   throws com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
                          com.liferay.portal.kernel.exception.SystemException
Removes the s c product entry where repoGroupId = ? and repoArtifactId = ? from the database.

Specified by:
removeByRG_RA in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
repoGroupId - the repo group ID
repoArtifactId - the repo artifact ID
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException

removeAll

public void removeAll()
               throws com.liferay.portal.kernel.exception.SystemException
Removes all the s c product entries from the database.

Specified by:
removeAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByGroupId

public int countByGroupId(long groupId)
                   throws com.liferay.portal.kernel.exception.SystemException
Returns the number of s c product entries where groupId = ?.

Specified by:
countByGroupId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
groupId - the group ID
Returns:
the number of matching s c product entries
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterCountByGroupId

public int filterCountByGroupId(long groupId)
                         throws com.liferay.portal.kernel.exception.SystemException
Returns the number of s c product entries that the user has permission to view where groupId = ?.

Specified by:
filterCountByGroupId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
groupId - the group ID
Returns:
the number of matching s c product entries that the user has permission to view
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByCompanyId

public int countByCompanyId(long companyId)
                     throws com.liferay.portal.kernel.exception.SystemException
Returns the number of s c product entries where companyId = ?.

Specified by:
countByCompanyId in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
companyId - the company ID
Returns:
the number of matching s c product entries
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByG_U

public int countByG_U(long groupId,
                      long userId)
               throws com.liferay.portal.kernel.exception.SystemException
Returns the number of s c product entries where groupId = ? and userId = ?.

Specified by:
countByG_U in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
Returns:
the number of matching s c product entries
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

filterCountByG_U

public int filterCountByG_U(long groupId,
                            long userId)
                     throws com.liferay.portal.kernel.exception.SystemException
Returns the number of s c product entries that the user has permission to view where groupId = ? and userId = ?.

Specified by:
filterCountByG_U in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
groupId - the group ID
userId - the user ID
Returns:
the number of matching s c product entries that the user has permission to view
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByRG_RA

public int countByRG_RA(java.lang.String repoGroupId,
                        java.lang.String repoArtifactId)
                 throws com.liferay.portal.kernel.exception.SystemException
Returns the number of s c product entries where repoGroupId = ? and repoArtifactId = ?.

Specified by:
countByRG_RA in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
repoGroupId - the repo group ID
repoArtifactId - the repo artifact ID
Returns:
the number of matching s c product entries
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countAll

public int countAll()
             throws com.liferay.portal.kernel.exception.SystemException
Returns the number of s c product entries.

Specified by:
countAll in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Returns:
the number of s c product entries
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getSCLicenses

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getSCLicenses(long pk)
                                                                                  throws com.liferay.portal.kernel.exception.SystemException
Returns all the s c licenses associated with the s c product entry.

Specified by:
getSCLicenses in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
pk - the primary key of the s c product entry
Returns:
the s c licenses associated with the s c product entry
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getSCLicenses

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getSCLicenses(long pk,
                                                                                         int start,
                                                                                         int end)
                                                                                  throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the s c licenses associated with the s c product entry.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
getSCLicenses in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
pk - the primary key of the s c product entry
start - the lower bound of the range of s c product entries
end - the upper bound of the range of s c product entries (not inclusive)
Returns:
the range of s c licenses associated with the s c product entry
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getSCLicenses

public java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> getSCLicenses(long pk,
                                                                                         int start,
                                                                                         int end,
                                                                                         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                  throws com.liferay.portal.kernel.exception.SystemException
Returns an ordered range of all the s c licenses associated with the s c product entry.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

Specified by:
getSCLicenses in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
pk - the primary key of the s c product entry
start - the lower bound of the range of s c product entries
end - the upper bound of the range of s c product entries (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of s c licenses associated with the s c product entry
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getSCLicensesSize

public int getSCLicensesSize(long pk)
                      throws com.liferay.portal.kernel.exception.SystemException
Returns the number of s c licenses associated with the s c product entry.

Specified by:
getSCLicensesSize in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
pk - the primary key of the s c product entry
Returns:
the number of s c licenses associated with the s c product entry
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

containsSCLicense

public boolean containsSCLicense(long pk,
                                 long scLicensePK)
                          throws com.liferay.portal.kernel.exception.SystemException
Returns true if the s c license is associated with the s c product entry.

Specified by:
containsSCLicense in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
pk - the primary key of the s c product entry
scLicensePK - the primary key of the s c license
Returns:
true if the s c license is associated with the s c product entry; false otherwise
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

containsSCLicenses

public boolean containsSCLicenses(long pk)
                           throws com.liferay.portal.kernel.exception.SystemException
Returns true if the s c product entry has any s c licenses associated with it.

Specified by:
containsSCLicenses in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
pk - the primary key of the s c product entry to check for associations with s c licenses
Returns:
true if the s c product entry has any s c licenses associated with it; false otherwise
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

addSCLicense

public void addSCLicense(long pk,
                         long scLicensePK)
                  throws com.liferay.portal.kernel.exception.SystemException
Adds an association between the s c product entry and the s c license. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
addSCLicense in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
pk - the primary key of the s c product entry
scLicensePK - the primary key of the s c license
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

addSCLicense

public void addSCLicense(long pk,
                         com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
                  throws com.liferay.portal.kernel.exception.SystemException
Adds an association between the s c product entry and the s c license. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
addSCLicense in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
pk - the primary key of the s c product entry
scLicense - the s c license
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

addSCLicenses

public void addSCLicenses(long pk,
                          long[] scLicensePKs)
                   throws com.liferay.portal.kernel.exception.SystemException
Adds an association between the s c product entry and the s c licenses. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
addSCLicenses in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
pk - the primary key of the s c product entry
scLicensePKs - the primary keys of the s c licenses
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

addSCLicenses

public void addSCLicenses(long pk,
                          java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses)
                   throws com.liferay.portal.kernel.exception.SystemException
Adds an association between the s c product entry and the s c licenses. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
addSCLicenses in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
pk - the primary key of the s c product entry
scLicenses - the s c licenses
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

clearSCLicenses

public void clearSCLicenses(long pk)
                     throws com.liferay.portal.kernel.exception.SystemException
Clears all associations between the s c product entry and its s c licenses. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
clearSCLicenses in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
pk - the primary key of the s c product entry to clear the associated s c licenses from
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeSCLicense

public void removeSCLicense(long pk,
                            long scLicensePK)
                     throws com.liferay.portal.kernel.exception.SystemException
Removes the association between the s c product entry and the s c license. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
removeSCLicense in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
pk - the primary key of the s c product entry
scLicensePK - the primary key of the s c license
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeSCLicense

public void removeSCLicense(long pk,
                            com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
                     throws com.liferay.portal.kernel.exception.SystemException
Removes the association between the s c product entry and the s c license. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
removeSCLicense in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
pk - the primary key of the s c product entry
scLicense - the s c license
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeSCLicenses

public void removeSCLicenses(long pk,
                             long[] scLicensePKs)
                      throws com.liferay.portal.kernel.exception.SystemException
Removes the association between the s c product entry and the s c licenses. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
removeSCLicenses in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
pk - the primary key of the s c product entry
scLicensePKs - the primary keys of the s c licenses
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeSCLicenses

public void removeSCLicenses(long pk,
                             java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses)
                      throws com.liferay.portal.kernel.exception.SystemException
Removes the association between the s c product entry and the s c licenses. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
removeSCLicenses in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
pk - the primary key of the s c product entry
scLicenses - the s c licenses
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

setSCLicenses

public void setSCLicenses(long pk,
                          long[] scLicensePKs)
                   throws com.liferay.portal.kernel.exception.SystemException
Sets the s c licenses associated with the s c product entry, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
setSCLicenses in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
pk - the primary key of the s c product entry
scLicensePKs - the primary keys of the s c licenses to be associated with the s c product entry
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

setSCLicenses

public void setSCLicenses(long pk,
                          java.util.List<com.liferay.portlet.softwarecatalog.model.SCLicense> scLicenses)
                   throws com.liferay.portal.kernel.exception.SystemException
Sets the s c licenses associated with the s c product entry, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.

Specified by:
setSCLicenses in interface com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryPersistence
Parameters:
pk - the primary key of the s c product entry
scLicenses - the s c licenses to be associated with the s c product entry
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

afterPropertiesSet

public void afterPropertiesSet()
Initializes the s c product entry persistence.


destroy

public void destroy()