public class SCProductEntryLocalServiceImpl extends SCProductEntryLocalServiceBaseImpl
counterLocalService, groupFinder, groupLocalService, groupPersistence, groupService, imageLocalService, imagePersistence, imageService, mbMessageFinder, mbMessageLocalService, mbMessagePersistence, mbMessageService, persistedModelLocalServiceRegistry, ratingsStatsFinder, ratingsStatsLocalService, ratingsStatsPersistence, resourceLocalService, scFrameworkVersionLocalService, scFrameworkVersionPersistence, scFrameworkVersionService, scLicenseLocalService, scLicensePersistence, scLicenseService, scProductEntryLocalService, scProductEntryPersistence, scProductEntryService, scProductScreenshotLocalService, scProductScreenshotPersistence, scProductVersionLocalService, scProductVersionPersistence, scProductVersionService, subscriptionLocalService, subscriptionPersistence, userFinder, userLocalService, userPersistence, userService| Constructor and Description |
|---|
SCProductEntryLocalServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
com.liferay.portlet.softwarecatalog.model.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,
com.liferay.portal.service.ServiceContext serviceContext) |
void |
addProductEntryResources(long productEntryId,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addProductEntryResources(long productEntryId,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions) |
void |
addProductEntryResources(com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addProductEntryResources(com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions) |
void |
deleteProductEntries(long groupId) |
com.liferay.portlet.softwarecatalog.model.SCProductEntry |
deleteProductEntry(long productEntryId) |
com.liferay.portlet.softwarecatalog.model.SCProductEntry |
deleteProductEntry(com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry) |
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> |
getCompanyProductEntries(long companyId,
int start,
int end) |
int |
getCompanyProductEntriesCount(long companyId) |
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> |
getProductEntries(long groupId,
int start,
int end) |
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> |
getProductEntries(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc) |
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> |
getProductEntries(long groupId,
long userId,
int start,
int end) |
java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> |
getProductEntries(long groupId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc) |
int |
getProductEntriesCount(long groupId) |
int |
getProductEntriesCount(long groupId,
long userId) |
com.liferay.portlet.softwarecatalog.model.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) |
protected java.lang.String |
getTags(java.lang.String tags) |
protected boolean |
isVersionSupported(java.lang.String version,
java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> frameworkVersions) |
protected void |
populatePluginPackageElement(com.liferay.portal.kernel.xml.Element el,
com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry,
com.liferay.portlet.softwarecatalog.model.SCProductVersion productVersion,
java.lang.String baseImageURL) |
protected void |
populateSettingsElement(com.liferay.portal.kernel.xml.Element el,
java.util.Properties repoSettings) |
protected void |
saveProductScreenshots(com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry,
java.util.List<byte[]> thumbnails,
java.util.List<byte[]> fullImages) |
com.liferay.portlet.softwarecatalog.model.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) |
protected void |
validate(long productEntryId,
java.lang.String name,
java.lang.String type,
java.lang.String shortDescription,
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) |
addSCLicenseSCProductEntries, addSCLicenseSCProductEntries, addSCLicenseSCProductEntry, addSCLicenseSCProductEntry, addSCProductEntry, afterPropertiesSet, clearSCLicenseSCProductEntries, createSCProductEntry, deleteSCLicenseSCProductEntries, deleteSCLicenseSCProductEntries, deleteSCLicenseSCProductEntry, deleteSCLicenseSCProductEntry, deleteSCProductEntry, deleteSCProductEntry, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchSCProductEntry, getBeanIdentifier, getCounterLocalService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getImageLocalService, getImagePersistence, getImageService, getMBMessageFinder, getMBMessageLocalService, getMBMessagePersistence, getMBMessageService, getModelClass, getModelClassName, getPersistedModel, getRatingsStatsFinder, getRatingsStatsLocalService, getRatingsStatsPersistence, getResourceLocalService, getSCFrameworkVersionLocalService, getSCFrameworkVersionPersistence, getSCFrameworkVersionService, getSCLicenseLocalService, getSCLicensePersistence, getSCLicenseSCProductEntries, getSCLicenseSCProductEntries, getSCLicenseSCProductEntries, getSCLicenseSCProductEntriesCount, getSCLicenseService, getSCProductEntries, getSCProductEntriesCount, getSCProductEntry, getSCProductEntryLocalService, getSCProductEntryPersistence, getSCProductEntryService, getSCProductScreenshotLocalService, getSCProductScreenshotPersistence, getSCProductVersionLocalService, getSCProductVersionPersistence, getSCProductVersionService, getSubscriptionLocalService, getSubscriptionPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, hasSCLicenseSCProductEntries, hasSCLicenseSCProductEntry, runSQL, setBeanIdentifier, setCounterLocalService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setImageLocalService, setImagePersistence, setImageService, setMBMessageFinder, setMBMessageLocalService, setMBMessagePersistence, setMBMessageService, setRatingsStatsFinder, setRatingsStatsLocalService, setRatingsStatsPersistence, setResourceLocalService, setSCFrameworkVersionLocalService, setSCFrameworkVersionPersistence, setSCFrameworkVersionService, setSCLicenseLocalService, setSCLicensePersistence, setSCLicenseSCProductEntries, setSCLicenseService, setSCProductEntryLocalService, setSCProductEntryPersistence, setSCProductEntryService, setSCProductScreenshotLocalService, setSCProductScreenshotPersistence, setSCProductVersionLocalService, setSCProductVersionPersistence, setSCProductVersionService, setSubscriptionLocalService, setSubscriptionPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateSCProductEntry@Indexable(type=REINDEX)
public com.liferay.portlet.softwarecatalog.model.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,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void addProductEntryResources(long productEntryId,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void addProductEntryResources(long productEntryId,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void addProductEntryResources(com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void addProductEntryResources(com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void deleteProductEntries(long groupId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemException@Indexable(type=DELETE)
public com.liferay.portlet.softwarecatalog.model.SCProductEntry deleteProductEntry(long productEntryId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemException@Indexable(type=DELETE)
public com.liferay.portlet.softwarecatalog.model.SCProductEntry deleteProductEntry(com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getCompanyProductEntries(long companyId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic int getCompanyProductEntriesCount(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(long groupId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(long groupId,
long userId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(long groupId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic int getProductEntriesCount(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic int getProductEntriesCount(long groupId,
long userId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.softwarecatalog.model.SCProductEntry getProductEntry(long productEntryId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic java.lang.String getRepositoryXML(long groupId,
java.lang.String baseImageURL,
java.util.Date oldestDate,
int maxNumOfVersions,
java.util.Properties repoSettings)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic 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 com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemException@Indexable(type=REINDEX)
public com.liferay.portlet.softwarecatalog.model.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 com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionprotected java.lang.String getTags(java.lang.String tags)
protected boolean isVersionSupported(java.lang.String version,
java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> frameworkVersions)
protected void populatePluginPackageElement(com.liferay.portal.kernel.xml.Element el,
com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry,
com.liferay.portlet.softwarecatalog.model.SCProductVersion productVersion,
java.lang.String baseImageURL)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionprotected void populateSettingsElement(com.liferay.portal.kernel.xml.Element el,
java.util.Properties repoSettings)
protected void saveProductScreenshots(com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry,
java.util.List<byte[]> thumbnails,
java.util.List<byte[]> fullImages)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionprotected void validate(long productEntryId,
java.lang.String name,
java.lang.String type,
java.lang.String shortDescription,
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 com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemException