Liferay 7.0-ce-a3

com.liferay.portlet.softwarecatalog.service
Class SCFrameworkVersionServiceUtil

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

@ProviderType
public class SCFrameworkVersionServiceUtil
extends Object

Provides the remote service utility for SCFrameworkVersion. This utility wraps com.liferay.portlet.softwarecatalog.service.impl.SCFrameworkVersionServiceImpl and is the primary access point for service operations in application layer code running on a remote server. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

See Also:
SCFrameworkVersionService, com.liferay.portlet.softwarecatalog.service.base.SCFrameworkVersionServiceBaseImpl, com.liferay.portlet.softwarecatalog.service.impl.SCFrameworkVersionServiceImpl

Constructor Summary
SCFrameworkVersionServiceUtil()
           
 
Method Summary
static SCFrameworkVersion addFrameworkVersion(String name, String url, boolean active, int priority, ServiceContext serviceContext)
           
static void deleteFrameworkVersion(long frameworkVersionId)
           
static SCFrameworkVersion getFrameworkVersion(long frameworkVersionId)
           
static List<SCFrameworkVersion> getFrameworkVersions(long groupId, boolean active)
           
static List<SCFrameworkVersion> getFrameworkVersions(long groupId, boolean active, int start, int end)
           
static String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
static SCFrameworkVersionService getService()
           
 void setService(SCFrameworkVersionService service)
          Deprecated. As of 6.2.0
static SCFrameworkVersion updateFrameworkVersion(long frameworkVersionId, String name, String url, boolean active, int priority)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SCFrameworkVersionServiceUtil

public SCFrameworkVersionServiceUtil()
Method Detail

addFrameworkVersion

public static SCFrameworkVersion addFrameworkVersion(String name,
                                                     String url,
                                                     boolean active,
                                                     int priority,
                                                     ServiceContext serviceContext)
                                              throws PortalException
Throws:
PortalException

deleteFrameworkVersion

public static void deleteFrameworkVersion(long frameworkVersionId)
                                   throws PortalException
Throws:
PortalException

getFrameworkVersion

public static SCFrameworkVersion getFrameworkVersion(long frameworkVersionId)
                                              throws PortalException
Throws:
PortalException

getFrameworkVersions

public static List<SCFrameworkVersion> getFrameworkVersions(long groupId,
                                                            boolean active)

getFrameworkVersions

public static List<SCFrameworkVersion> getFrameworkVersions(long groupId,
                                                            boolean active,
                                                            int start,
                                                            int end)

getOSGiServiceIdentifier

public static String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

updateFrameworkVersion

public static SCFrameworkVersion updateFrameworkVersion(long frameworkVersionId,
                                                        String name,
                                                        String url,
                                                        boolean active,
                                                        int priority)
                                                 throws PortalException
Throws:
PortalException

getService

public static SCFrameworkVersionService getService()

setService

@Deprecated
public void setService(SCFrameworkVersionService service)
Deprecated. As of 6.2.0


Liferay 7.0-ce-a3