com.liferay.portlet.softwarecatalog.service
Class SCProductEntryLocalServiceUtil

java.lang.Object
  extended by com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalServiceUtil

public class SCProductEntryLocalServiceUtil
extends java.lang.Object

View Source

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

This class provides static methods for the com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalService bean. The static methods of this class calls the same methods of the bean instance. It's convenient to be able to just write one line to call a method on a bean instead of writing a lookup call and a method call.

Author:
Brian Wing Shun Chan
See Also:
SCProductEntryLocalService

Constructor Summary
SCProductEntryLocalServiceUtil()
           
 
Method Summary
static 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)
           
static void addProductEntryResources(long productEntryId, boolean addCommunityPermissions, boolean addGuestPermissions)
           
static void addProductEntryResources(long productEntryId, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
static void addProductEntryResources(SCProductEntry productEntry, boolean addCommunityPermissions, boolean addGuestPermissions)
           
static void addProductEntryResources(SCProductEntry productEntry, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
static SCProductEntry addSCProductEntry(SCProductEntry scProductEntry)
           
static SCProductEntry createSCProductEntry(long productEntryId)
           
static void deleteProductEntries(long groupId)
           
static void deleteProductEntry(long productEntryId)
           
static void deleteProductEntry(SCProductEntry productEntry)
           
static void deleteSCProductEntry(long productEntryId)
           
static void deleteSCProductEntry(SCProductEntry scProductEntry)
           
static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
static java.util.List<SCProductEntry> getProductEntries(long groupId, int start, int end)
           
static java.util.List<SCProductEntry> getProductEntries(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<SCProductEntry> getProductEntries(long groupId, long userId, int start, int end)
           
static java.util.List<SCProductEntry> getProductEntries(long groupId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static int getProductEntriesCount(long groupId)
           
static int getProductEntriesCount(long groupId, long userId)
           
static SCProductEntry getProductEntry(long productEntryId)
           
static java.lang.String getRepositoryXML(long groupId, java.lang.String baseImageURL, java.util.Date oldestDate, int maxNumOfVersions, java.util.Properties repoSettings)
           
static java.lang.String getRepositoryXML(long groupId, java.lang.String version, java.lang.String baseImageURL, java.util.Date oldestDate, int maxNumOfVersions, java.util.Properties repoSettings)
           
static java.util.List<SCProductEntry> getSCProductEntries(int start, int end)
           
static int getSCProductEntriesCount()
           
static SCProductEntry getSCProductEntry(long productEntryId)
           
static SCProductEntryLocalService getService()
           
static void reIndex(long productEntryId)
           
static void reIndex(java.lang.String[] ids)
           
static com.liferay.portal.kernel.search.Hits search(long companyId, long groupId, java.lang.String keywords, java.lang.String type, int start, int end)
           
 void setService(SCProductEntryLocalService service)
           
static 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)
           
static SCProductEntry updateSCProductEntry(SCProductEntry scProductEntry)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SCProductEntryLocalServiceUtil

public SCProductEntryLocalServiceUtil()
Method Detail

addSCProductEntry

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

createSCProductEntry

public static SCProductEntry createSCProductEntry(long productEntryId)

deleteSCProductEntry

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

deleteSCProductEntry

public static void deleteSCProductEntry(SCProductEntry scProductEntry)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                            int start,
                                                            int end)
                                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getSCProductEntry

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

getSCProductEntries

public static java.util.List<SCProductEntry> getSCProductEntries(int start,
                                                                 int end)
                                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getSCProductEntriesCount

public static int getSCProductEntriesCount()
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateSCProductEntry

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

addProductEntry

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

addProductEntryResources

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

addProductEntryResources

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

addProductEntryResources

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

addProductEntryResources

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

deleteProductEntries

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

deleteProductEntry

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

deleteProductEntry

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

getProductEntry

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

getProductEntries

public static java.util.List<SCProductEntry> getProductEntries(long groupId,
                                                               int start,
                                                               int end)
                                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getProductEntries

public static java.util.List<SCProductEntry> getProductEntries(long groupId,
                                                               int start,
                                                               int end,
                                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getProductEntries

public static java.util.List<SCProductEntry> getProductEntries(long groupId,
                                                               long userId,
                                                               int start,
                                                               int end)
                                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getProductEntries

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

getProductEntriesCount

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

getProductEntriesCount

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

getRepositoryXML

public static 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
Throws:
com.liferay.portal.SystemException

getRepositoryXML

public static 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
Throws:
com.liferay.portal.SystemException

reIndex

public static void reIndex(long productEntryId)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

reIndex

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

search

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

updateProductEntry

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

getService

public static SCProductEntryLocalService getService()

setService

public void setService(SCProductEntryLocalService service)