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 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.
com.liferay.portlet.softwarecatalog.service.SCProductEntryLocalServiceFactory
is responsible for the lookup of the bean.
- Author:
- Brian Wing Shun Chan
- See Also:
SCProductEntryLocalService
,
SCProductEntryLocalServiceFactory
Method Summary |
static 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)
|
static 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)
|
static 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)
|
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 model)
|
static void |
deleteProductEntry(long productEntryId)
|
static void |
deleteProductEntry(SCProductEntry productEntry)
|
static java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
static java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
static java.util.List |
getProductEntries(long groupId,
int begin,
int end)
|
static java.util.List |
getProductEntries(long groupId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
getProductEntries(long groupId,
long userId,
int begin,
int end)
|
static java.util.List |
getProductEntries(long groupId,
long userId,
int begin,
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 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)
|
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 thumbnails,
java.util.List fullImages)
|
static SCProductEntry |
updateSCProductEntry(SCProductEntry model)
|
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 model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static 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 static SCProductEntry updateSCProductEntry(SCProductEntry model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addProductEntry
public static 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.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addProductEntry
public static 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.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addProductEntry
public static 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.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
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 getProductEntries(long groupId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getProductEntries
public static 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 static java.util.List getProductEntries(long groupId,
long userId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getProductEntries
public static 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 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.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
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.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
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)
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 thumbnails,
java.util.List fullImages)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException