com.liferay.portlet.softwarecatalog.service
Interface SCProductEntryLocalService


public interface SCProductEntryLocalService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface defines the service. The default implementation is com.liferay.portlet.softwarecatalog.service.impl.SCProductEntryLocalServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. 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.

Author:
Brian Wing Shun Chan
See Also:
SCProductEntryLocalServiceFactory, SCProductEntryLocalServiceUtil

Method Summary
 SCProductEntry addProductEntry(long userId, long plid, 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 thumbnails, java.util.List fullImages, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 SCProductEntry addProductEntry(long userId, long plid, 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 thumbnails, java.util.List fullImages, java.lang.Boolean addCommunityPermissions, java.lang.Boolean addGuestPermissions, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 SCProductEntry addProductEntry(long userId, long plid, 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 thumbnails, java.util.List fullImages, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void addProductEntryResources(long productEntryId, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addProductEntryResources(long productEntryId, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void addProductEntryResources(SCProductEntry productEntry, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addProductEntryResources(SCProductEntry productEntry, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 SCProductEntry addSCProductEntry(SCProductEntry model)
           
 void afterPropertiesSet()
           
 void deleteProductEntries(long groupId)
           
 void deleteProductEntry(long productEntryId)
           
 void deleteProductEntry(SCProductEntry productEntry)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 MBMessageFinder getMBMessageFinder()
           
 MBMessagePersistence getMBMessagePersistence()
           
 java.util.List getProductEntries(long groupId, int begin, int end)
           
 java.util.List getProductEntries(long groupId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List getProductEntries(long groupId, long userId, int begin, int end)
           
 java.util.List getProductEntries(long groupId, long userId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int getProductEntriesCount(long groupId)
           
 int getProductEntriesCount(long groupId, long userId)
           
 SCProductEntry getProductEntry(long productEntryId)
           
 RatingsStatsPersistence getRatingsStatsPersistence()
           
 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)
           
 ResourceFinder getResourceFinder()
           
 ResourcePersistence getResourcePersistence()
           
 SCFrameworkVersionPersistence getSCFrameworkVersionPersistence()
           
 SCLicensePersistence getSCLicensePersistence()
           
 SCProductEntryPersistence getSCProductEntryPersistence()
           
 SCProductScreenshotPersistence getSCProductScreenshotPersistence()
           
 SCProductVersionPersistence getSCProductVersionPersistence()
           
 UserFinder getUserFinder()
           
 UserPersistence getUserPersistence()
           
 void reIndex(java.lang.String[] ids)
           
 com.liferay.portal.kernel.search.Hits search(long companyId, long groupId, java.lang.String keywords, java.lang.String type)
           
 void setMBMessageFinder(MBMessageFinder mbMessageFinder)
           
 void setMBMessagePersistence(MBMessagePersistence mbMessagePersistence)
           
 void setRatingsStatsPersistence(RatingsStatsPersistence ratingsStatsPersistence)
           
 void setResourceFinder(ResourceFinder resourceFinder)
           
 void setResourcePersistence(ResourcePersistence resourcePersistence)
           
 void setSCFrameworkVersionPersistence(SCFrameworkVersionPersistence scFrameworkVersionPersistence)
           
 void setSCLicensePersistence(SCLicensePersistence scLicensePersistence)
           
 void setSCProductEntryPersistence(SCProductEntryPersistence scProductEntryPersistence)
           
 void setSCProductScreenshotPersistence(SCProductScreenshotPersistence scProductScreenshotPersistence)
           
 void setSCProductVersionPersistence(SCProductVersionPersistence scProductVersionPersistence)
           
 void setUserFinder(UserFinder userFinder)
           
 void setUserPersistence(UserPersistence userPersistence)
           
 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 thumbnails, java.util.List fullImages)
           
 SCProductEntry updateSCProductEntry(SCProductEntry model)
           
 

Method Detail

addSCProductEntry

public SCProductEntry addSCProductEntry(SCProductEntry model)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                   int begin,
                                   int end)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateSCProductEntry

public SCProductEntry updateSCProductEntry(SCProductEntry model)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getSCLicensePersistence

public SCLicensePersistence getSCLicensePersistence()

setSCLicensePersistence

public void setSCLicensePersistence(SCLicensePersistence scLicensePersistence)

getSCFrameworkVersionPersistence

public SCFrameworkVersionPersistence getSCFrameworkVersionPersistence()

setSCFrameworkVersionPersistence

public void setSCFrameworkVersionPersistence(SCFrameworkVersionPersistence scFrameworkVersionPersistence)

getSCProductEntryPersistence

public SCProductEntryPersistence getSCProductEntryPersistence()

setSCProductEntryPersistence

public void setSCProductEntryPersistence(SCProductEntryPersistence scProductEntryPersistence)

getSCProductScreenshotPersistence

public SCProductScreenshotPersistence getSCProductScreenshotPersistence()

setSCProductScreenshotPersistence

public void setSCProductScreenshotPersistence(SCProductScreenshotPersistence scProductScreenshotPersistence)

getSCProductVersionPersistence

public SCProductVersionPersistence getSCProductVersionPersistence()

setSCProductVersionPersistence

public void setSCProductVersionPersistence(SCProductVersionPersistence scProductVersionPersistence)

getResourcePersistence

public ResourcePersistence getResourcePersistence()

setResourcePersistence

public void setResourcePersistence(ResourcePersistence resourcePersistence)

getResourceFinder

public ResourceFinder getResourceFinder()

setResourceFinder

public void setResourceFinder(ResourceFinder resourceFinder)

getUserPersistence

public UserPersistence getUserPersistence()

setUserPersistence

public void setUserPersistence(UserPersistence userPersistence)

getUserFinder

public UserFinder getUserFinder()

setUserFinder

public void setUserFinder(UserFinder userFinder)

getMBMessagePersistence

public MBMessagePersistence getMBMessagePersistence()

setMBMessagePersistence

public void setMBMessagePersistence(MBMessagePersistence mbMessagePersistence)

getMBMessageFinder

public MBMessageFinder getMBMessageFinder()

setMBMessageFinder

public void setMBMessageFinder(MBMessageFinder mbMessageFinder)

getRatingsStatsPersistence

public RatingsStatsPersistence getRatingsStatsPersistence()

setRatingsStatsPersistence

public void setRatingsStatsPersistence(RatingsStatsPersistence ratingsStatsPersistence)

afterPropertiesSet

public void afterPropertiesSet()

addProductEntry

public SCProductEntry addProductEntry(long userId,
                                      long plid,
                                      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 thumbnails,
                                      java.util.List fullImages,
                                      boolean addCommunityPermissions,
                                      boolean addGuestPermissions)
                               throws com.liferay.portal.SystemException,
                                      com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addProductEntry

public SCProductEntry addProductEntry(long userId,
                                      long plid,
                                      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 thumbnails,
                                      java.util.List fullImages,
                                      java.lang.String[] communityPermissions,
                                      java.lang.String[] guestPermissions)
                               throws com.liferay.portal.SystemException,
                                      com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addProductEntry

public SCProductEntry addProductEntry(long userId,
                                      long plid,
                                      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 thumbnails,
                                      java.util.List fullImages,
                                      java.lang.Boolean addCommunityPermissions,
                                      java.lang.Boolean addGuestPermissions,
                                      java.lang.String[] communityPermissions,
                                      java.lang.String[] guestPermissions)
                               throws com.liferay.portal.SystemException,
                                      com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addProductEntryResources

public void addProductEntryResources(long productEntryId,
                                     boolean addCommunityPermissions,
                                     boolean addGuestPermissions)
                              throws com.liferay.portal.SystemException,
                                     com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addProductEntryResources

public void addProductEntryResources(SCProductEntry productEntry,
                                     boolean addCommunityPermissions,
                                     boolean addGuestPermissions)
                              throws com.liferay.portal.SystemException,
                                     com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addProductEntryResources

public void addProductEntryResources(long productEntryId,
                                     java.lang.String[] communityPermissions,
                                     java.lang.String[] guestPermissions)
                              throws com.liferay.portal.SystemException,
                                     com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addProductEntryResources

public void addProductEntryResources(SCProductEntry productEntry,
                                     java.lang.String[] communityPermissions,
                                     java.lang.String[] guestPermissions)
                              throws com.liferay.portal.SystemException,
                                     com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteProductEntries

public void deleteProductEntries(long groupId)
                          throws com.liferay.portal.SystemException,
                                 com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteProductEntry

public void deleteProductEntry(long productEntryId)
                        throws com.liferay.portal.SystemException,
                               com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteProductEntry

public void deleteProductEntry(SCProductEntry productEntry)
                        throws com.liferay.portal.SystemException,
                               com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getProductEntry

public SCProductEntry getProductEntry(long productEntryId)
                               throws com.liferay.portal.SystemException,
                                      com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getProductEntries

public java.util.List getProductEntries(long groupId,
                                        int begin,
                                        int end)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getProductEntries

public java.util.List getProductEntries(long groupId,
                                        int begin,
                                        int end,
                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getProductEntries

public java.util.List getProductEntries(long groupId,
                                        long userId,
                                        int begin,
                                        int end)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getProductEntries

public java.util.List getProductEntries(long groupId,
                                        long userId,
                                        int begin,
                                        int end,
                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getProductEntriesCount

public int getProductEntriesCount(long groupId)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getProductEntriesCount

public int getProductEntriesCount(long groupId,
                                  long userId)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getRepositoryXML

public java.lang.String getRepositoryXML(long groupId,
                                         java.lang.String baseImageURL,
                                         java.util.Date oldestDate,
                                         int maxNumOfVersions,
                                         java.util.Properties repoSettings)
                                  throws com.liferay.portal.SystemException,
                                         com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getRepositoryXML

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)
                                  throws com.liferay.portal.SystemException,
                                         com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

reIndex

public void reIndex(java.lang.String[] ids)
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

search

public com.liferay.portal.kernel.search.Hits search(long companyId,
                                                    long groupId,
                                                    java.lang.String keywords,
                                                    java.lang.String type)
                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateProductEntry

public 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 thumbnails,
                                         java.util.List fullImages)
                                  throws com.liferay.portal.SystemException,
                                         com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException