public class SCProductEntryLocalServiceImpl extends SCProductEntryLocalServiceBaseImpl
counterLocalService, groupFinder, groupLocalService, groupPersistence, groupService, imageLocalService, imagePersistence, imageService, mbMessageFinder, mbMessageLocalService, mbMessagePersistence, mbMessageService, persistedModelLocalServiceRegistry, ratingsStatsFinder, ratingsStatsLocalService, ratingsStatsPersistence, resourceLocalService, 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,
com.liferay.portal.service.permission.ModelPermissions modelPermissions) |
void |
addProductEntryResources(com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addProductEntryResources(com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry,
com.liferay.portal.service.permission.ModelPermissions modelPermissions) |
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<com.liferay.portlet.softwarecatalog.model.SCProductEntry> 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<com.liferay.portlet.softwarecatalog.model.SCProductEntry> 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, deletePersistedModel, deleteSCLicenseSCProductEntries, deleteSCLicenseSCProductEntries, deleteSCLicenseSCProductEntry, deleteSCLicenseSCProductEntry, deleteSCProductEntry, deleteSCProductEntry, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchSCProductEntry, getActionableDynamicQuery, getBeanIdentifier, getCounterLocalService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getImageLocalService, getImagePersistence, getImageService, getMBMessageFinder, getMBMessageLocalService, getMBMessagePersistence, getMBMessageService, getModelClass, getModelClassName, getPersistedModel, getRatingsStatsFinder, getRatingsStatsLocalService, getRatingsStatsPersistence, getResourceLocalService, getSCLicenseLocalService, getSCLicensePersistence, getSCLicensePrimaryKeys, getSCLicenseSCProductEntries, getSCLicenseSCProductEntries, getSCLicenseSCProductEntries, getSCLicenseSCProductEntriesCount, getSCLicenseService, getSCProductEntries, getSCProductEntriesCount, getSCProductEntry, getSCProductEntryLocalService, getSCProductEntryPersistence, getSCProductEntryService, getSCProductScreenshotLocalService, getSCProductScreenshotPersistence, getSCProductVersionLocalService, getSCProductVersionPersistence, getSCProductVersionService, getSubscriptionLocalService, getSubscriptionPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, hasSCLicenseSCProductEntries, hasSCLicenseSCProductEntry, initActionableDynamicQuery, runSQL, setBeanIdentifier, setCounterLocalService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setImageLocalService, setImagePersistence, setImageService, setMBMessageFinder, setMBMessageLocalService, setMBMessagePersistence, setMBMessageService, setRatingsStatsFinder, setRatingsStatsLocalService, setRatingsStatsPersistence, setResourceLocalService, 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.PortalExceptionpublic void addProductEntryResources(long productEntryId,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void addProductEntryResources(long productEntryId,
com.liferay.portal.service.permission.ModelPermissions modelPermissions)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic 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.PortalExceptionpublic void addProductEntryResources(com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry,
com.liferay.portal.service.permission.ModelPermissions modelPermissions)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void deleteProductEntries(long groupId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@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.PortalException@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.PortalExceptionpublic java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getCompanyProductEntries(long companyId,
int start,
int end)
public int getCompanyProductEntriesCount(long companyId)
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(long groupId,
int start,
int end)
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> obc)
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(long groupId,
long userId,
int start,
int end)
public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(long groupId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.softwarecatalog.model.SCProductEntry> obc)
public int getProductEntriesCount(long groupId)
public int getProductEntriesCount(long groupId,
long userId)
public com.liferay.portlet.softwarecatalog.model.SCProductEntry getProductEntry(long productEntryId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.String getRepositoryXML(long groupId,
java.lang.String baseImageURL,
java.util.Date oldestDate,
int maxNumOfVersions,
java.util.Properties repoSettings)
public java.lang.String getRepositoryXML(long groupId,
java.lang.String version,
java.lang.String baseImageURL,
java.util.Date oldestDate,
int maxNumOfVersions,
java.util.Properties repoSettings)
@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.PortalExceptionprotected 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)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected 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.PortalException