Liferay 7.0-ce-a3

com.liferay.portlet.softwarecatalog.service
Interface SCFrameworkVersionService

All Superinterfaces:
BaseService
All Known Implementing Classes:
SCFrameworkVersionServiceWrapper

@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface SCFrameworkVersionService
extends BaseService

Provides the remote service interface for SCFrameworkVersion. 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:
SCFrameworkVersionServiceUtil, com.liferay.portlet.softwarecatalog.service.base.SCFrameworkVersionServiceBaseImpl, com.liferay.portlet.softwarecatalog.service.impl.SCFrameworkVersionServiceImpl

Method Summary
 SCFrameworkVersion addFrameworkVersion(String name, String url, boolean active, int priority, ServiceContext serviceContext)
           
 void deleteFrameworkVersion(long frameworkVersionId)
           
 SCFrameworkVersion getFrameworkVersion(long frameworkVersionId)
           
 List<SCFrameworkVersion> getFrameworkVersions(long groupId, boolean active)
           
 List<SCFrameworkVersion> getFrameworkVersions(long groupId, boolean active, int start, int end)
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 SCFrameworkVersion updateFrameworkVersion(long frameworkVersionId, String name, String url, boolean active, int priority)
           
 

Method Detail

addFrameworkVersion

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

deleteFrameworkVersion

void deleteFrameworkVersion(long frameworkVersionId)
                            throws PortalException
Throws:
PortalException

getFrameworkVersion

@Transactional(propagation=SUPPORTS,
               readOnly=true)
SCFrameworkVersion getFrameworkVersion(long frameworkVersionId)
                                       throws PortalException
Throws:
PortalException

getFrameworkVersions

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<SCFrameworkVersion> getFrameworkVersions(long groupId,
                                                                                       boolean active)

getFrameworkVersions

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<SCFrameworkVersion> getFrameworkVersions(long groupId,
                                                                                       boolean active,
                                                                                       int start,
                                                                                       int end)

getOSGiServiceIdentifier

String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

updateFrameworkVersion

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

Liferay 7.0-ce-a3