@ProviderType @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface SCProductEntryLocalService extends BaseLocalService, PersistedModelLocalService
SCProductEntryLocalServiceUtil,
com.liferay.portlet.softwarecatalog.service.base.SCProductEntryLocalServiceBaseImpl,
com.liferay.portlet.softwarecatalog.service.impl.SCProductEntryLocalServiceImpl| 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,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions) |
void |
addProductEntryResources(SCProductEntry productEntry,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addProductEntryResources(SCProductEntry productEntry,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions) |
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.
|
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() |
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator 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 that match the dynamic query.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows that match the dynamic query.
|
SCProductEntry |
fetchSCProductEntry(long productEntryId) |
java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
java.util.List<SCProductEntry> |
getCompanyProductEntries(long companyId,
int start,
int end) |
int |
getCompanyProductEntriesCount(long companyId) |
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 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 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) |
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 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.
|
boolean |
hasSCLicenseSCProductEntries(long licenseId) |
boolean |
hasSCLicenseSCProductEntry(long licenseId,
long productEntryId) |
void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setSCLicenseSCProductEntries(long licenseId,
long[] productEntryIds) |
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.
|
@Indexable(type=REINDEX) SCProductEntry addSCProductEntry(SCProductEntry scProductEntry) throws SystemException
scProductEntry - the s c product entrySystemException - if a system exception occurredSCProductEntry createSCProductEntry(long productEntryId)
productEntryId - the primary key for the new s c product entry@Indexable(type=DELETE) SCProductEntry deleteSCProductEntry(long productEntryId) throws PortalException, SystemException
productEntryId - the primary key of the s c product entryPortalException - if a s c product entry with the primary key could not be foundSystemException - if a system exception occurred@Indexable(type=DELETE) SCProductEntry deleteSCProductEntry(SCProductEntry scProductEntry) throws SystemException
scProductEntry - the s c product entrySystemException - if a system exception occurredDynamicQuery dynamicQuery()
java.util.List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery - the dynamic querySystemException - if a system exception occurredjava.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
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 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 - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)SystemException - if a system exception occurredjava.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
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 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 - 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)SystemException - if a system exception occurredlong dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery - the dynamic querySystemException - if a system exception occurredlong dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) throws SystemException
dynamicQuery - the dynamic queryprojection - the projection to apply to the querySystemException - if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) SCProductEntry fetchSCProductEntry(long productEntryId) throws SystemException
SystemException@Transactional(propagation=SUPPORTS, readOnly=true) SCProductEntry getSCProductEntry(long productEntryId) throws PortalException, SystemException
productEntryId - the primary key of the s c product entryPortalException - if a s c product entry with the primary key could not be foundSystemException - if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException, SystemException
getPersistedModel in interface PersistedModelLocalServicePortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<SCProductEntry> getSCProductEntries(int start, int end) throws SystemException
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 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.
start - the lower bound of the range of s c product entriesend - the upper bound of the range of s c product entries (not inclusive)SystemException - if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) int getSCProductEntriesCount() throws SystemException
SystemException - if a system exception occurred@Indexable(type=REINDEX) SCProductEntry updateSCProductEntry(SCProductEntry scProductEntry) throws SystemException
scProductEntry - the s c product entrySystemException - if a system exception occurredvoid addSCLicenseSCProductEntry(long licenseId,
long productEntryId)
throws SystemException
SystemException - if a system exception occurredvoid addSCLicenseSCProductEntry(long licenseId,
SCProductEntry scProductEntry)
throws SystemException
SystemException - if a system exception occurredvoid addSCLicenseSCProductEntries(long licenseId,
long[] productEntryIds)
throws SystemException
SystemException - if a system exception occurredvoid addSCLicenseSCProductEntries(long licenseId,
java.util.List<SCProductEntry> SCProductEntries)
throws SystemException
SystemException - if a system exception occurredvoid clearSCLicenseSCProductEntries(long licenseId)
throws SystemException
SystemException - if a system exception occurredvoid deleteSCLicenseSCProductEntry(long licenseId,
long productEntryId)
throws SystemException
SystemException - if a system exception occurredvoid deleteSCLicenseSCProductEntry(long licenseId,
SCProductEntry scProductEntry)
throws SystemException
SystemException - if a system exception occurredvoid deleteSCLicenseSCProductEntries(long licenseId,
long[] productEntryIds)
throws SystemException
SystemException - if a system exception occurredvoid deleteSCLicenseSCProductEntries(long licenseId,
java.util.List<SCProductEntry> SCProductEntries)
throws SystemException
SystemException - if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<SCProductEntry> getSCLicenseSCProductEntries(long licenseId) throws SystemException
SystemException - if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<SCProductEntry> getSCLicenseSCProductEntries(long licenseId, int start, int end) throws SystemException
SystemException - if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<SCProductEntry> getSCLicenseSCProductEntries(long licenseId, int start, int end, OrderByComparator orderByComparator) throws SystemException
SystemException - if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) int getSCLicenseSCProductEntriesCount(long licenseId) throws SystemException
SystemException - if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) boolean hasSCLicenseSCProductEntry(long licenseId, long productEntryId) throws SystemException
SystemException - if a system exception occurred@Transactional(propagation=SUPPORTS, readOnly=true) boolean hasSCLicenseSCProductEntries(long licenseId) throws SystemException
SystemException - if a system exception occurredvoid setSCLicenseSCProductEntries(long licenseId,
long[] productEntryIds)
throws SystemException
SystemException - if a system exception occurredjava.lang.String getBeanIdentifier()
void setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this bean@Indexable(type=REINDEX) 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, SystemException
PortalExceptionSystemExceptionvoid addProductEntryResources(long productEntryId,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
PortalExceptionSystemExceptionvoid addProductEntryResources(long productEntryId,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions)
throws PortalException,
SystemException
PortalExceptionSystemExceptionvoid addProductEntryResources(SCProductEntry productEntry, boolean addGroupPermissions, boolean addGuestPermissions) throws PortalException, SystemException
PortalExceptionSystemExceptionvoid addProductEntryResources(SCProductEntry productEntry, java.lang.String[] groupPermissions, java.lang.String[] guestPermissions) throws PortalException, SystemException
PortalExceptionSystemExceptionvoid deleteProductEntries(long groupId)
throws PortalException,
SystemException
PortalExceptionSystemException@Indexable(type=DELETE) SCProductEntry deleteProductEntry(long productEntryId) throws PortalException, SystemException
PortalExceptionSystemException@Indexable(type=DELETE) SCProductEntry deleteProductEntry(SCProductEntry productEntry) throws PortalException, SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<SCProductEntry> getCompanyProductEntries(long companyId, int start, int end) throws SystemException
SystemException@Transactional(propagation=SUPPORTS, readOnly=true) int getCompanyProductEntriesCount(long companyId) throws SystemException
SystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<SCProductEntry> getProductEntries(long groupId, int start, int end) throws SystemException
SystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<SCProductEntry> getProductEntries(long groupId, int start, int end, OrderByComparator obc) throws SystemException
SystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<SCProductEntry> getProductEntries(long groupId, long userId, int start, int end) throws SystemException
SystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<SCProductEntry> getProductEntries(long groupId, long userId, int start, int end, OrderByComparator obc) throws SystemException
SystemException@Transactional(propagation=SUPPORTS, readOnly=true) int getProductEntriesCount(long groupId) throws SystemException
SystemException@Transactional(propagation=SUPPORTS, readOnly=true) int getProductEntriesCount(long groupId, long userId) throws SystemException
SystemException@Transactional(propagation=SUPPORTS, readOnly=true) SCProductEntry getProductEntry(long productEntryId) throws PortalException, SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.lang.String getRepositoryXML(long groupId, java.lang.String baseImageURL, java.util.Date oldestDate, int maxNumOfVersions, java.util.Properties repoSettings) throws SystemException
SystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.lang.String getRepositoryXML(long groupId, java.lang.String version, java.lang.String baseImageURL, java.util.Date oldestDate, int maxNumOfVersions, java.util.Properties repoSettings) throws SystemException
SystemException@Indexable(type=REINDEX) 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, SystemException
PortalExceptionSystemException