com.liferay.portlet.softwarecatalog.service.persistence
Class SCProductEntryUtil
java.lang.Object
com.liferay.portlet.softwarecatalog.service.persistence.SCProductEntryUtil
- public class SCProductEntryUtil
- extends java.lang.Object
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
static void |
addSCLicense(long pk,
long scLicensePK)
|
static void |
addSCLicense(long pk,
com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
|
static void |
addSCLicenses(long pk,
java.util.List scLicenses)
|
static void |
addSCLicenses(long pk,
long[] scLicensePKs)
|
static void |
clearSCLicenses(long pk)
|
static boolean |
containsSCLicense(long pk,
long scLicensePK)
|
static boolean |
containsSCLicenses(long pk)
|
static int |
countAll()
|
static int |
countByCompanyId(long companyId)
|
static int |
countByG_U(long groupId,
long userId)
|
static int |
countByGroupId(long groupId)
|
static com.liferay.portlet.softwarecatalog.model.SCProductEntry |
create(long productEntryId)
|
static com.liferay.portlet.softwarecatalog.model.SCProductEntry |
fetchByPrimaryKey(long productEntryId)
|
static java.util.List |
findAll()
|
static java.util.List |
findAll(int begin,
int end)
|
static java.util.List |
findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.softwarecatalog.model.SCProductEntry |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.softwarecatalog.model.SCProductEntry |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.softwarecatalog.model.SCProductEntry[] |
findByCompanyId_PrevAndNext(long productEntryId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
findByCompanyId(long companyId)
|
static java.util.List |
findByCompanyId(long companyId,
int begin,
int end)
|
static java.util.List |
findByCompanyId(long companyId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.softwarecatalog.model.SCProductEntry |
findByG_U_First(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.softwarecatalog.model.SCProductEntry |
findByG_U_Last(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.softwarecatalog.model.SCProductEntry[] |
findByG_U_PrevAndNext(long productEntryId,
long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
findByG_U(long groupId,
long userId)
|
static java.util.List |
findByG_U(long groupId,
long userId,
int begin,
int end)
|
static java.util.List |
findByG_U(long groupId,
long userId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.softwarecatalog.model.SCProductEntry |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.softwarecatalog.model.SCProductEntry |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.softwarecatalog.model.SCProductEntry[] |
findByGroupId_PrevAndNext(long productEntryId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
findByGroupId(long groupId)
|
static java.util.List |
findByGroupId(long groupId,
int begin,
int end)
|
static java.util.List |
findByGroupId(long groupId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portlet.softwarecatalog.model.SCProductEntry |
findByPrimaryKey(long productEntryId)
|
static java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
static java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
static SCProductEntryPersistence |
getPersistence()
|
static java.util.List |
getSCLicenses(long pk)
|
static java.util.List |
getSCLicenses(long pk,
int begin,
int end)
|
static java.util.List |
getSCLicenses(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static int |
getSCLicensesSize(long pk)
|
static com.liferay.portlet.softwarecatalog.model.SCProductEntry |
remove(long productEntryId)
|
static com.liferay.portlet.softwarecatalog.model.SCProductEntry |
remove(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
|
static void |
removeAll()
|
static void |
removeByCompanyId(long companyId)
|
static void |
removeByG_U(long groupId,
long userId)
|
static void |
removeByGroupId(long groupId)
|
static void |
removeSCLicense(long pk,
long scLicensePK)
|
static void |
removeSCLicense(long pk,
com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
|
static void |
removeSCLicenses(long pk,
java.util.List scLicenses)
|
static void |
removeSCLicenses(long pk,
long[] scLicensePKs)
|
void |
setPersistence(SCProductEntryPersistence persistence)
|
static void |
setSCLicenses(long pk,
java.util.List scLicenses)
|
static void |
setSCLicenses(long pk,
long[] scLicensePKs)
|
static com.liferay.portlet.softwarecatalog.model.SCProductEntry |
update(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
|
static com.liferay.portlet.softwarecatalog.model.SCProductEntry |
update(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SCProductEntryUtil
public SCProductEntryUtil()
create
public static com.liferay.portlet.softwarecatalog.model.SCProductEntry create(long productEntryId)
remove
public static com.liferay.portlet.softwarecatalog.model.SCProductEntry remove(long productEntryId)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
remove
public static com.liferay.portlet.softwarecatalog.model.SCProductEntry remove(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static com.liferay.portlet.softwarecatalog.model.SCProductEntry update(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static com.liferay.portlet.softwarecatalog.model.SCProductEntry update(com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public static com.liferay.portlet.softwarecatalog.model.SCProductEntry findByPrimaryKey(long productEntryId)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
fetchByPrimaryKey
public static com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchByPrimaryKey(long productEntryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
public static java.util.List findByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
public static java.util.List findByGroupId(long groupId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId
public static java.util.List findByGroupId(long groupId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByGroupId_First
public static com.liferay.portlet.softwarecatalog.model.SCProductEntry findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
findByGroupId_Last
public static com.liferay.portlet.softwarecatalog.model.SCProductEntry findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
findByGroupId_PrevAndNext
public static com.liferay.portlet.softwarecatalog.model.SCProductEntry[] findByGroupId_PrevAndNext(long productEntryId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
findByCompanyId
public static java.util.List findByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public static java.util.List findByCompanyId(long companyId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public static java.util.List findByCompanyId(long companyId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId_First
public static com.liferay.portlet.softwarecatalog.model.SCProductEntry findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
findByCompanyId_Last
public static com.liferay.portlet.softwarecatalog.model.SCProductEntry findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
findByCompanyId_PrevAndNext
public static com.liferay.portlet.softwarecatalog.model.SCProductEntry[] findByCompanyId_PrevAndNext(long productEntryId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
findByG_U
public static java.util.List findByG_U(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_U
public static java.util.List findByG_U(long groupId,
long userId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_U
public static java.util.List findByG_U(long groupId,
long userId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_U_First
public static com.liferay.portlet.softwarecatalog.model.SCProductEntry findByG_U_First(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
findByG_U_Last
public static com.liferay.portlet.softwarecatalog.model.SCProductEntry findByG_U_Last(long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
findByG_U_PrevAndNext
public static com.liferay.portlet.softwarecatalog.model.SCProductEntry[] findByG_U_PrevAndNext(long productEntryId,
long groupId,
long userId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
findWithDynamicQuery
public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List findAll(int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByGroupId
public static void removeByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByCompanyId
public static void removeByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByG_U
public static void removeByG_U(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeAll
public static void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByGroupId
public static int countByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByCompanyId
public static int countByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByG_U
public static int countByG_U(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public static int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSCLicenses
public static java.util.List getSCLicenses(long pk)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
getSCLicenses
public static java.util.List getSCLicenses(long pk,
int begin,
int end)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
getSCLicenses
public static java.util.List getSCLicenses(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
getSCLicensesSize
public static int getSCLicensesSize(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsSCLicense
public static boolean containsSCLicense(long pk,
long scLicensePK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsSCLicenses
public static boolean containsSCLicenses(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addSCLicense
public static void addSCLicense(long pk,
long scLicensePK)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
addSCLicense
public static void addSCLicense(long pk,
com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
addSCLicenses
public static void addSCLicenses(long pk,
long[] scLicensePKs)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
addSCLicenses
public static void addSCLicenses(long pk,
java.util.List scLicenses)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
clearSCLicenses
public static void clearSCLicenses(long pk)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
removeSCLicense
public static void removeSCLicense(long pk,
long scLicensePK)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
removeSCLicense
public static void removeSCLicense(long pk,
com.liferay.portlet.softwarecatalog.model.SCLicense scLicense)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
removeSCLicenses
public static void removeSCLicenses(long pk,
long[] scLicensePKs)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
removeSCLicenses
public static void removeSCLicenses(long pk,
java.util.List scLicenses)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
setSCLicenses
public static void setSCLicenses(long pk,
long[] scLicensePKs)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
setSCLicenses
public static void setSCLicenses(long pk,
java.util.List scLicenses)
throws com.liferay.portal.SystemException,
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException,
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
- Throws:
com.liferay.portal.SystemException
com.liferay.portlet.softwarecatalog.NoSuchProductEntryException
com.liferay.portlet.softwarecatalog.NoSuchLicenseException
getPersistence
public static SCProductEntryPersistence getPersistence()
setPersistence
public void setPersistence(SCProductEntryPersistence persistence)