Liferay 7.0-ce-b4

com.liferay.portal.service
Interface RepositoryService

All Superinterfaces:
BaseService
All Known Implementing Classes:
RepositoryServiceWrapper

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

Provides the remote service interface for Repository. 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:
RepositoryServiceUtil, RepositoryServiceBaseImpl, com.liferay.portal.service.impl.RepositoryServiceImpl

Method Summary
 Repository addRepository(long groupId, long classNameId, long parentFolderId, String name, String description, String portletId, UnicodeProperties typeSettingsProperties, ServiceContext serviceContext)
           
 void checkRepository(long repositoryId)
           
 void deleteRepository(long repositoryId)
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 Repository getRepository(long repositoryId)
           
 String[] getSupportedConfigurations(long classNameId)
          Deprecated. As of 7.0.0, with no direct replacement
 String[] getSupportedParameters(long classNameId, String configuration)
          Deprecated. As of 7.0.0, with no direct replacement
 String[] getSupportedParameters(String className, String configuration)
          Deprecated. As of 7.0.0, with no direct replacement
 UnicodeProperties getTypeSettingsProperties(long repositoryId)
           
 void updateRepository(long repositoryId, String name, String description)
           
 

Method Detail

addRepository

Repository addRepository(long groupId,
                         long classNameId,
                         long parentFolderId,
                         String name,
                         String description,
                         String portletId,
                         UnicodeProperties typeSettingsProperties,
                         ServiceContext serviceContext)
                         throws PortalException
Throws:
PortalException

checkRepository

void checkRepository(long repositoryId)
                     throws PortalException
Throws:
PortalException

deleteRepository

void deleteRepository(long repositoryId)
                      throws PortalException
Throws:
PortalException

getOSGiServiceIdentifier

String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

getRepository

@Transactional(propagation=SUPPORTS,
               readOnly=true)
Repository getRepository(long repositoryId)
                         throws PortalException
Throws:
PortalException

getSupportedConfigurations

@Deprecated
@Transactional(propagation=SUPPORTS,
               readOnly=true)
String[] getSupportedConfigurations(long classNameId)
Deprecated. As of 7.0.0, with no direct replacement


getSupportedParameters

@Deprecated
@Transactional(propagation=SUPPORTS,
               readOnly=true)
String[] getSupportedParameters(String className,
                                                                                    String configuration)
Deprecated. As of 7.0.0, with no direct replacement


getSupportedParameters

@Deprecated
@Transactional(propagation=SUPPORTS,
               readOnly=true)
String[] getSupportedParameters(long classNameId,
                                                                                    String configuration)
Deprecated. As of 7.0.0, with no direct replacement


getTypeSettingsProperties

@Transactional(propagation=SUPPORTS,
               readOnly=true)
UnicodeProperties getTypeSettingsProperties(long repositoryId)
                                            throws PortalException
Throws:
PortalException

updateRepository

void updateRepository(long repositoryId,
                      String name,
                      String description)
                      throws PortalException
Throws:
PortalException

Liferay 7.0-ce-b4