@ProviderType public class SCProductEntryLocalServiceWrapper extends java.lang.Object implements SCProductEntryLocalService, ServiceWrapper<SCProductEntryLocalService>
SCProductEntryLocalService.SCProductEntryLocalService| Constructor and Description |
|---|
SCProductEntryLocalServiceWrapper(SCProductEntryLocalService scProductEntryLocalService) |
| Modifier and Type | Method and Description |
|---|---|
SCProductEntry |
addProductEntry(long userId,
java.lang.String name,
java.lang.String type,
java.lang.String tags,
java.lang.String shortDescription,
java.lang.String longDescription,
java.lang.String pageURL,
java.lang.String author,
java.lang.String repoGroupId,
java.lang.String repoArtifactId,
long[] licenseIds,
java.util.List<byte[]> thumbnails,
java.util.List<byte[]> fullImages,
ServiceContext serviceContext) |
void |
addProductEntryResources(long productEntryId,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addProductEntryResources(long productEntryId,
ModelPermissions modelPermissions) |
void |
addProductEntryResources(SCProductEntry productEntry,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addProductEntryResources(SCProductEntry productEntry,
ModelPermissions modelPermissions) |
void |
addSCLicenseSCProductEntries(long licenseId,
java.util.List<SCProductEntry> SCProductEntries) |
void |
addSCLicenseSCProductEntries(long licenseId,
long[] productEntryIds) |
void |
addSCLicenseSCProductEntry(long licenseId,
long productEntryId) |
void |
addSCLicenseSCProductEntry(long licenseId,
SCProductEntry scProductEntry) |
SCProductEntry |
addSCProductEntry(SCProductEntry scProductEntry)
Adds the s c product entry to the database.
|
void |
clearSCLicenseSCProductEntries(long licenseId) |
SCProductEntry |
createSCProductEntry(long productEntryId)
Creates a new s c product entry with the primary key.
|
PersistedModel |
deletePersistedModel(PersistedModel persistedModel) |
void |
deleteProductEntries(long groupId) |
SCProductEntry |
deleteProductEntry(long productEntryId) |
SCProductEntry |
deleteProductEntry(SCProductEntry productEntry) |
void |
deleteSCLicenseSCProductEntries(long licenseId,
java.util.List<SCProductEntry> SCProductEntries) |
void |
deleteSCLicenseSCProductEntries(long licenseId,
long[] productEntryIds) |
void |
deleteSCLicenseSCProductEntry(long licenseId,
long productEntryId) |
void |
deleteSCLicenseSCProductEntry(long licenseId,
SCProductEntry scProductEntry) |
SCProductEntry |
deleteSCProductEntry(long productEntryId)
Deletes the s c product entry with the primary key from the database.
|
SCProductEntry |
deleteSCProductEntry(SCProductEntry scProductEntry)
Deletes the s c product entry from the database.
|
DynamicQuery |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows matching the dynamic query.
|
SCProductEntry |
fetchSCProductEntry(long productEntryId) |
ActionableDynamicQuery |
getActionableDynamicQuery() |
java.util.List<SCProductEntry> |
getCompanyProductEntries(long companyId,
int start,
int end) |
int |
getCompanyProductEntriesCount(long companyId) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
java.util.List<SCProductEntry> |
getProductEntries(long groupId,
int start,
int end) |
java.util.List<SCProductEntry> |
getProductEntries(long groupId,
int start,
int end,
OrderByComparator<SCProductEntry> obc) |
java.util.List<SCProductEntry> |
getProductEntries(long groupId,
long userId,
int start,
int end) |
java.util.List<SCProductEntry> |
getProductEntries(long groupId,
long userId,
int start,
int end,
OrderByComparator<SCProductEntry> obc) |
int |
getProductEntriesCount(long groupId) |
int |
getProductEntriesCount(long groupId,
long userId) |
SCProductEntry |
getProductEntry(long productEntryId) |
java.lang.String |
getRepositoryXML(long groupId,
java.lang.String baseImageURL,
java.util.Date oldestDate,
int maxNumOfVersions,
java.util.Properties repoSettings) |
java.lang.String |
getRepositoryXML(long groupId,
java.lang.String version,
java.lang.String baseImageURL,
java.util.Date oldestDate,
int maxNumOfVersions,
java.util.Properties repoSettings) |
long[] |
getSCLicensePrimaryKeys(long productEntryId)
Returns the licenseIds of the s c licenses associated with the s c product entry.
|
java.util.List<SCProductEntry> |
getSCLicenseSCProductEntries(long licenseId) |
java.util.List<SCProductEntry> |
getSCLicenseSCProductEntries(long licenseId,
int start,
int end) |
java.util.List<SCProductEntry> |
getSCLicenseSCProductEntries(long licenseId,
int start,
int end,
OrderByComparator<SCProductEntry> orderByComparator) |
int |
getSCLicenseSCProductEntriesCount(long licenseId) |
java.util.List<SCProductEntry> |
getSCProductEntries(int start,
int end)
Returns a range of all the s c product entries.
|
int |
getSCProductEntriesCount()
Returns the number of s c product entries.
|
SCProductEntry |
getSCProductEntry(long productEntryId)
Returns the s c product entry with the primary key.
|
SCProductEntryLocalService |
getWrappedSCProductEntryLocalService()
Deprecated.
As of 6.1.0, replaced by
getWrappedService() |
SCProductEntryLocalService |
getWrappedService() |
boolean |
hasSCLicenseSCProductEntries(long licenseId) |
boolean |
hasSCLicenseSCProductEntry(long licenseId,
long productEntryId) |
void |
setSCLicenseSCProductEntries(long licenseId,
long[] productEntryIds) |
void |
setWrappedSCProductEntryLocalService(SCProductEntryLocalService scProductEntryLocalService)
Deprecated.
As of 6.1.0, replaced by
setWrappedService(com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalService) |
void |
setWrappedService(SCProductEntryLocalService scProductEntryLocalService) |
SCProductEntry |
updateProductEntry(long productEntryId,
java.lang.String name,
java.lang.String type,
java.lang.String tags,
java.lang.String shortDescription,
java.lang.String longDescription,
java.lang.String pageURL,
java.lang.String author,
java.lang.String repoGroupId,
java.lang.String repoArtifactId,
long[] licenseIds,
java.util.List<byte[]> thumbnails,
java.util.List<byte[]> fullImages) |
SCProductEntry |
updateSCProductEntry(SCProductEntry scProductEntry)
Updates the s c product entry in the database or adds it if it does not yet exist.
|
public SCProductEntryLocalServiceWrapper(SCProductEntryLocalService scProductEntryLocalService)
public SCProductEntry addProductEntry(long userId, java.lang.String name, java.lang.String type, java.lang.String tags, java.lang.String shortDescription, java.lang.String longDescription, java.lang.String pageURL, java.lang.String author, java.lang.String repoGroupId, java.lang.String repoArtifactId, long[] licenseIds, java.util.List<byte[]> thumbnails, java.util.List<byte[]> fullImages, ServiceContext serviceContext) throws PortalException
addProductEntry in interface SCProductEntryLocalServicePortalExceptionpublic void addProductEntryResources(SCProductEntry productEntry, boolean addGroupPermissions, boolean addGuestPermissions) throws PortalException
addProductEntryResources in interface SCProductEntryLocalServicePortalExceptionpublic void addProductEntryResources(SCProductEntry productEntry, ModelPermissions modelPermissions) throws PortalException
addProductEntryResources in interface SCProductEntryLocalServicePortalExceptionpublic void addProductEntryResources(long productEntryId,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException
addProductEntryResources in interface SCProductEntryLocalServicePortalExceptionpublic void addProductEntryResources(long productEntryId,
ModelPermissions modelPermissions)
throws PortalException
addProductEntryResources in interface SCProductEntryLocalServicePortalExceptionpublic void addSCLicenseSCProductEntries(long licenseId,
java.util.List<SCProductEntry> SCProductEntries)
addSCLicenseSCProductEntries in interface SCProductEntryLocalServicepublic void addSCLicenseSCProductEntries(long licenseId,
long[] productEntryIds)
addSCLicenseSCProductEntries in interface SCProductEntryLocalServicepublic void addSCLicenseSCProductEntry(long licenseId,
long productEntryId)
addSCLicenseSCProductEntry in interface SCProductEntryLocalServicepublic void addSCLicenseSCProductEntry(long licenseId,
SCProductEntry scProductEntry)
addSCLicenseSCProductEntry in interface SCProductEntryLocalServicepublic SCProductEntry addSCProductEntry(SCProductEntry scProductEntry)
addSCProductEntry in interface SCProductEntryLocalServicescProductEntry - the s c product entrypublic void clearSCLicenseSCProductEntries(long licenseId)
clearSCLicenseSCProductEntries in interface SCProductEntryLocalServicepublic SCProductEntry createSCProductEntry(long productEntryId)
createSCProductEntry in interface SCProductEntryLocalServiceproductEntryId - the primary key for the new s c product entrypublic PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel in interface PersistedModelLocalServicedeletePersistedModel in interface SCProductEntryLocalServicePortalExceptionpublic void deleteProductEntries(long groupId)
throws PortalException
deleteProductEntries in interface SCProductEntryLocalServicePortalExceptionpublic SCProductEntry deleteProductEntry(SCProductEntry productEntry) throws PortalException
deleteProductEntry in interface SCProductEntryLocalServicePortalExceptionpublic SCProductEntry deleteProductEntry(long productEntryId) throws PortalException
deleteProductEntry in interface SCProductEntryLocalServicePortalExceptionpublic void deleteSCLicenseSCProductEntries(long licenseId,
java.util.List<SCProductEntry> SCProductEntries)
deleteSCLicenseSCProductEntries in interface SCProductEntryLocalServicepublic void deleteSCLicenseSCProductEntries(long licenseId,
long[] productEntryIds)
deleteSCLicenseSCProductEntries in interface SCProductEntryLocalServicepublic void deleteSCLicenseSCProductEntry(long licenseId,
long productEntryId)
deleteSCLicenseSCProductEntry in interface SCProductEntryLocalServicepublic void deleteSCLicenseSCProductEntry(long licenseId,
SCProductEntry scProductEntry)
deleteSCLicenseSCProductEntry in interface SCProductEntryLocalServicepublic SCProductEntry deleteSCProductEntry(long productEntryId) throws PortalException
deleteSCProductEntry in interface SCProductEntryLocalServiceproductEntryId - the primary key of the s c product entryPortalException - if a s c product entry with the primary key could not be foundpublic SCProductEntry deleteSCProductEntry(SCProductEntry scProductEntry)
deleteSCProductEntry in interface SCProductEntryLocalServicescProductEntry - the s c product entrypublic DynamicQuery dynamicQuery()
dynamicQuery in interface SCProductEntryLocalServicepublic <T> java.util.List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface SCProductEntryLocalServicedynamicQuery - the dynamic querypublic <T> java.util.List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portlet.softwarecatalog.model.impl.SCProductEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface SCProductEntryLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)public <T> java.util.List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portlet.softwarecatalog.model.impl.SCProductEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface SCProductEntryLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQueryCount in interface SCProductEntryLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQueryCount in interface SCProductEntryLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic SCProductEntry fetchSCProductEntry(long productEntryId)
fetchSCProductEntry in interface SCProductEntryLocalServicepublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface SCProductEntryLocalServicepublic java.util.List<SCProductEntry> getCompanyProductEntries(long companyId, int start, int end)
getCompanyProductEntries in interface SCProductEntryLocalServicepublic int getCompanyProductEntriesCount(long companyId)
getCompanyProductEntriesCount in interface SCProductEntryLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface SCProductEntryLocalServicepublic PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface SCProductEntryLocalServicePortalExceptionpublic java.util.List<SCProductEntry> getProductEntries(long groupId, int start, int end)
getProductEntries in interface SCProductEntryLocalServicepublic java.util.List<SCProductEntry> getProductEntries(long groupId, int start, int end, OrderByComparator<SCProductEntry> obc)
getProductEntries in interface SCProductEntryLocalServicepublic java.util.List<SCProductEntry> getProductEntries(long groupId, long userId, int start, int end)
getProductEntries in interface SCProductEntryLocalServicepublic java.util.List<SCProductEntry> getProductEntries(long groupId, long userId, int start, int end, OrderByComparator<SCProductEntry> obc)
getProductEntries in interface SCProductEntryLocalServicepublic int getProductEntriesCount(long groupId)
getProductEntriesCount in interface SCProductEntryLocalServicepublic int getProductEntriesCount(long groupId,
long userId)
getProductEntriesCount in interface SCProductEntryLocalServicepublic SCProductEntry getProductEntry(long productEntryId) throws PortalException
getProductEntry in interface SCProductEntryLocalServicePortalExceptionpublic java.lang.String getRepositoryXML(long groupId,
java.lang.String baseImageURL,
java.util.Date oldestDate,
int maxNumOfVersions,
java.util.Properties repoSettings)
getRepositoryXML in interface SCProductEntryLocalServicepublic java.lang.String getRepositoryXML(long groupId,
java.lang.String version,
java.lang.String baseImageURL,
java.util.Date oldestDate,
int maxNumOfVersions,
java.util.Properties repoSettings)
getRepositoryXML in interface SCProductEntryLocalServicepublic long[] getSCLicensePrimaryKeys(long productEntryId)
getSCLicensePrimaryKeys in interface SCProductEntryLocalServiceproductEntryId - the productEntryId of the s c product entrypublic java.util.List<SCProductEntry> getSCLicenseSCProductEntries(long licenseId)
getSCLicenseSCProductEntries in interface SCProductEntryLocalServicepublic java.util.List<SCProductEntry> getSCLicenseSCProductEntries(long licenseId, int start, int end)
getSCLicenseSCProductEntries in interface SCProductEntryLocalServicepublic java.util.List<SCProductEntry> getSCLicenseSCProductEntries(long licenseId, int start, int end, OrderByComparator<SCProductEntry> orderByComparator)
getSCLicenseSCProductEntries in interface SCProductEntryLocalServicepublic int getSCLicenseSCProductEntriesCount(long licenseId)
getSCLicenseSCProductEntriesCount in interface SCProductEntryLocalServicepublic java.util.List<SCProductEntry> getSCProductEntries(int start, int end)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portlet.softwarecatalog.model.impl.SCProductEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getSCProductEntries in interface SCProductEntryLocalServicestart - the lower bound of the range of s c product entriesend - the upper bound of the range of s c product entries (not inclusive)public int getSCProductEntriesCount()
getSCProductEntriesCount in interface SCProductEntryLocalServicepublic SCProductEntry getSCProductEntry(long productEntryId) throws PortalException
getSCProductEntry in interface SCProductEntryLocalServiceproductEntryId - the primary key of the s c product entryPortalException - if a s c product entry with the primary key could not be foundpublic boolean hasSCLicenseSCProductEntries(long licenseId)
hasSCLicenseSCProductEntries in interface SCProductEntryLocalServicepublic boolean hasSCLicenseSCProductEntry(long licenseId,
long productEntryId)
hasSCLicenseSCProductEntry in interface SCProductEntryLocalServicepublic void setSCLicenseSCProductEntries(long licenseId,
long[] productEntryIds)
setSCLicenseSCProductEntries in interface SCProductEntryLocalServicepublic SCProductEntry updateProductEntry(long productEntryId, java.lang.String name, java.lang.String type, java.lang.String tags, java.lang.String shortDescription, java.lang.String longDescription, java.lang.String pageURL, java.lang.String author, java.lang.String repoGroupId, java.lang.String repoArtifactId, long[] licenseIds, java.util.List<byte[]> thumbnails, java.util.List<byte[]> fullImages) throws PortalException
updateProductEntry in interface SCProductEntryLocalServicePortalExceptionpublic SCProductEntry updateSCProductEntry(SCProductEntry scProductEntry)
updateSCProductEntry in interface SCProductEntryLocalServicescProductEntry - the s c product entry@Deprecated public SCProductEntryLocalService getWrappedSCProductEntryLocalService()
getWrappedService()@Deprecated public void setWrappedSCProductEntryLocalService(SCProductEntryLocalService scProductEntryLocalService)
setWrappedService(com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalService)public SCProductEntryLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<SCProductEntryLocalService>public void setWrappedService(SCProductEntryLocalService scProductEntryLocalService)
setWrappedService in interface ServiceWrapper<SCProductEntryLocalService>