com.liferay.portlet.softwarecatalog.service
Class SCProductEntryLocalServiceUtil
java.lang.Object
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
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
- Generated:
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 |
dynamicQuery(DynamicQuery dynamicQuery)
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
static java.util.List<SCProductEntry> |
getCompanyProductEntries(long companyId,
int start,
int end)
|
static int |
getCompanyProductEntriesCount(long companyId)
|
static java.util.List<SCProductEntry> |
getProductEntries(long groupId,
int start,
int end)
|
static java.util.List<SCProductEntry> |
getProductEntries(long groupId,
int start,
int end,
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,
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()
|
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)
|
static SCProductEntry |
updateSCProductEntry(SCProductEntry scProductEntry,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SCProductEntryLocalServiceUtil
public SCProductEntryLocalServiceUtil()
addSCProductEntry
public static SCProductEntry addSCProductEntry(SCProductEntry scProductEntry)
throws SystemException
- Throws:
SystemException
createSCProductEntry
public static SCProductEntry createSCProductEntry(long productEntryId)
deleteSCProductEntry
public static void deleteSCProductEntry(long productEntryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteSCProductEntry
public static void deleteSCProductEntry(SCProductEntry scProductEntry)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
public static long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getSCProductEntry
public static SCProductEntry getSCProductEntry(long productEntryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getSCProductEntries
public static java.util.List<SCProductEntry> getSCProductEntries(int start,
int end)
throws SystemException
- Throws:
SystemException
getSCProductEntriesCount
public static int getSCProductEntriesCount()
throws SystemException
- Throws:
SystemException
updateSCProductEntry
public static SCProductEntry updateSCProductEntry(SCProductEntry scProductEntry)
throws SystemException
- Throws:
SystemException
updateSCProductEntry
public static SCProductEntry updateSCProductEntry(SCProductEntry scProductEntry,
boolean merge)
throws SystemException
- Throws:
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 PortalException,
SystemException
- Throws:
PortalException
SystemException
addProductEntryResources
public static void addProductEntryResources(long productEntryId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addProductEntryResources
public static void addProductEntryResources(long productEntryId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addProductEntryResources
public static void addProductEntryResources(SCProductEntry productEntry,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addProductEntryResources
public static void addProductEntryResources(SCProductEntry productEntry,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteProductEntries
public static void deleteProductEntries(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteProductEntry
public static void deleteProductEntry(long productEntryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteProductEntry
public static void deleteProductEntry(SCProductEntry productEntry)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCompanyProductEntries
public static java.util.List<SCProductEntry> getCompanyProductEntries(long companyId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getCompanyProductEntriesCount
public static int getCompanyProductEntriesCount(long companyId)
throws SystemException
- Throws:
SystemException
getProductEntries
public static java.util.List<SCProductEntry> getProductEntries(long groupId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getProductEntries
public static java.util.List<SCProductEntry> getProductEntries(long groupId,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
getProductEntries
public static java.util.List<SCProductEntry> getProductEntries(long groupId,
long userId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getProductEntries
public static java.util.List<SCProductEntry> getProductEntries(long groupId,
long userId,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
getProductEntriesCount
public static int getProductEntriesCount(long groupId)
throws SystemException
- Throws:
SystemException
getProductEntriesCount
public static int getProductEntriesCount(long groupId,
long userId)
throws SystemException
- Throws:
SystemException
getProductEntry
public static SCProductEntry getProductEntry(long productEntryId)
throws PortalException,
SystemException
- Throws:
PortalException
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 SystemException
- Throws:
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 SystemException
- Throws:
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 PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static SCProductEntryLocalService getService()
setService
public void setService(SCProductEntryLocalService service)