|
Liferay 7.0-ce-a3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface SCProductEntryLocalServiceProvides the local service interface for SCProductEntry. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
SCProductEntryLocalServiceUtil,
com.liferay.portlet.softwarecatalog.service.base.SCProductEntryLocalServiceBaseImpl,
com.liferay.portlet.softwarecatalog.service.impl.SCProductEntryLocalServiceImpl| Method Summary | ||
|---|---|---|
SCProductEntry |
addProductEntry(long userId,
String name,
String type,
String tags,
String shortDescription,
String longDescription,
String pageURL,
String author,
String repoGroupId,
String repoArtifactId,
long[] licenseIds,
List<byte[]> thumbnails,
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,
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,
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()
|
|
|
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
|
|
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
|
|
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()
|
|
List<SCProductEntry> |
getCompanyProductEntries(long companyId,
int start,
int end)
|
|
int |
getCompanyProductEntriesCount(long companyId)
|
|
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier. |
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
|
List<SCProductEntry> |
getProductEntries(long groupId,
int start,
int end)
|
|
List<SCProductEntry> |
getProductEntries(long groupId,
int start,
int end,
OrderByComparator<SCProductEntry> obc)
|
|
List<SCProductEntry> |
getProductEntries(long groupId,
long userId,
int start,
int end)
|
|
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)
|
|
String |
getRepositoryXML(long groupId,
String baseImageURL,
Date oldestDate,
int maxNumOfVersions,
Properties repoSettings)
|
|
String |
getRepositoryXML(long groupId,
String version,
String baseImageURL,
Date oldestDate,
int maxNumOfVersions,
Properties repoSettings)
|
|
long[] |
getSCLicensePrimaryKeys(long productEntryId)
Returns the licenseIds of the s c licenses associated with the s c product entry. |
|
List<SCProductEntry> |
getSCLicenseSCProductEntries(long licenseId)
|
|
List<SCProductEntry> |
getSCLicenseSCProductEntries(long licenseId,
int start,
int end)
|
|
List<SCProductEntry> |
getSCLicenseSCProductEntries(long licenseId,
int start,
int end,
OrderByComparator<SCProductEntry> orderByComparator)
|
|
int |
getSCLicenseSCProductEntriesCount(long licenseId)
|
|
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 |
setSCLicenseSCProductEntries(long licenseId,
long[] productEntryIds)
|
|
SCProductEntry |
updateProductEntry(long productEntryId,
String name,
String type,
String tags,
String shortDescription,
String longDescription,
String pageURL,
String author,
String repoGroupId,
String repoArtifactId,
long[] licenseIds,
List<byte[]> thumbnails,
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. |
|
| Method Detail |
|---|
@Indexable(type=REINDEX)
SCProductEntry addProductEntry(long userId,
String name,
String type,
String tags,
String shortDescription,
String longDescription,
String pageURL,
String author,
String repoGroupId,
String repoArtifactId,
long[] licenseIds,
List<byte[]> thumbnails,
List<byte[]> fullImages,
ServiceContext serviceContext)
throws PortalException
PortalException
void addProductEntryResources(SCProductEntry productEntry,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException
PortalException
void addProductEntryResources(SCProductEntry productEntry,
ModelPermissions modelPermissions)
throws PortalException
PortalException
void addProductEntryResources(long productEntryId,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException
PortalException
void addProductEntryResources(long productEntryId,
ModelPermissions modelPermissions)
throws PortalException
PortalException
void addSCLicenseSCProductEntries(long licenseId,
List<SCProductEntry> SCProductEntries)
void addSCLicenseSCProductEntries(long licenseId,
long[] productEntryIds)
void addSCLicenseSCProductEntry(long licenseId,
long productEntryId)
void addSCLicenseSCProductEntry(long licenseId,
SCProductEntry scProductEntry)
@Indexable(type=REINDEX) SCProductEntry addSCProductEntry(SCProductEntry scProductEntry)
scProductEntry - the s c product entry
void clearSCLicenseSCProductEntries(long licenseId)
SCProductEntry createSCProductEntry(long productEntryId)
productEntryId - the primary key for the new s c product entry
PersistedModel deletePersistedModel(PersistedModel persistedModel)
throws PortalException
deletePersistedModel in interface PersistedModelLocalServicePortalException
void deleteProductEntries(long groupId)
throws PortalException
PortalException
@Indexable(type=DELETE)
SCProductEntry deleteProductEntry(SCProductEntry productEntry)
throws PortalException
PortalException
@Indexable(type=DELETE)
SCProductEntry deleteProductEntry(long productEntryId)
throws PortalException
PortalException
void deleteSCLicenseSCProductEntries(long licenseId,
List<SCProductEntry> SCProductEntries)
void deleteSCLicenseSCProductEntries(long licenseId,
long[] productEntryIds)
void deleteSCLicenseSCProductEntry(long licenseId,
long productEntryId)
void deleteSCLicenseSCProductEntry(long licenseId,
SCProductEntry scProductEntry)
@Indexable(type=DELETE)
SCProductEntry deleteSCProductEntry(long productEntryId)
throws PortalException
productEntryId - the primary key of the s c product entry
PortalException - if a s c product entry with the primary key could not be found@Indexable(type=DELETE) SCProductEntry deleteSCProductEntry(SCProductEntry scProductEntry)
scProductEntry - the s c product entry
DynamicQuery dynamicQuery()
<T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery - the dynamic query
<T> 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 - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)
<T> 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 - 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)
long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQuery - the dynamic query
long dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
dynamicQuery - the dynamic queryprojection - the projection to apply to the query
@Transactional(propagation=SUPPORTS,
readOnly=true)
SCProductEntry fetchSCProductEntry(long productEntryId)
@Transactional(propagation=SUPPORTS,
readOnly=true)
ActionableDynamicQuery getActionableDynamicQuery()
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<SCProductEntry> getCompanyProductEntries(long companyId,
int start,
int end)
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getCompanyProductEntriesCount(long companyId)
String getOSGiServiceIdentifier()
@Transactional(propagation=SUPPORTS,
readOnly=true)
PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws PortalException
getPersistedModel in interface PersistedModelLocalServicePortalException
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<SCProductEntry> getProductEntries(long groupId,
int start,
int end)
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<SCProductEntry> getProductEntries(long groupId,
int start,
int end,
OrderByComparator<SCProductEntry> obc)
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<SCProductEntry> getProductEntries(long groupId,
long userId,
int start,
int end)
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<SCProductEntry> getProductEntries(long groupId,
long userId,
int start,
int end,
OrderByComparator<SCProductEntry> obc)
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getProductEntriesCount(long groupId)
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getProductEntriesCount(long groupId,
long userId)
@Transactional(propagation=SUPPORTS,
readOnly=true)
SCProductEntry getProductEntry(long productEntryId)
throws PortalException
PortalException
@Transactional(propagation=SUPPORTS,
readOnly=true)
String getRepositoryXML(long groupId,
String baseImageURL,
Date oldestDate,
int maxNumOfVersions,
Properties repoSettings)
@Transactional(propagation=SUPPORTS,
readOnly=true)
String getRepositoryXML(long groupId,
String version,
String baseImageURL,
Date oldestDate,
int maxNumOfVersions,
Properties repoSettings)
@Transactional(propagation=SUPPORTS,
readOnly=true)
long[] getSCLicensePrimaryKeys(long productEntryId)
productEntryId - the productEntryId of the s c product entry
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<SCProductEntry> getSCLicenseSCProductEntries(long licenseId)
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<SCProductEntry> getSCLicenseSCProductEntries(long licenseId,
int start,
int end)
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<SCProductEntry> getSCLicenseSCProductEntries(long licenseId,
int start,
int end,
OrderByComparator<SCProductEntry> orderByComparator)
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getSCLicenseSCProductEntriesCount(long licenseId)
@Transactional(propagation=SUPPORTS,
readOnly=true)
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.
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)
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getSCProductEntriesCount()
@Transactional(propagation=SUPPORTS,
readOnly=true)
SCProductEntry getSCProductEntry(long productEntryId)
throws PortalException
productEntryId - the primary key of the s c product entry
PortalException - if a s c product entry with the primary key could not be found
@Transactional(propagation=SUPPORTS,
readOnly=true)
boolean hasSCLicenseSCProductEntries(long licenseId)
@Transactional(propagation=SUPPORTS,
readOnly=true)
boolean hasSCLicenseSCProductEntry(long licenseId,
long productEntryId)
void setSCLicenseSCProductEntries(long licenseId,
long[] productEntryIds)
@Indexable(type=REINDEX)
SCProductEntry updateProductEntry(long productEntryId,
String name,
String type,
String tags,
String shortDescription,
String longDescription,
String pageURL,
String author,
String repoGroupId,
String repoArtifactId,
long[] licenseIds,
List<byte[]> thumbnails,
List<byte[]> fullImages)
throws PortalException
PortalException@Indexable(type=REINDEX) SCProductEntry updateSCProductEntry(SCProductEntry scProductEntry)
scProductEntry - the s c product entry
|
Liferay 7.0-ce-a3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||