Liferay 7.0-ce-m6

com.liferay.portal.service
Interface RepositoryService

All Superinterfaces:
BaseService
All Known Implementing Classes:
RepositoryServiceBaseImpl, RepositoryServiceImpl, 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, RepositoryServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

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 getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 Repository getRepository(long repositoryId)
           
 String[] getSupportedConfigurations(long classNameId)
           
 String[] getSupportedParameters(long classNameId, String configuration)
          Deprecated. As of 7.0.0, replaced by getSupportedParameters(String, String)
 String[] getSupportedParameters(String className, String configuration)
           
 UnicodeProperties getTypeSettingsProperties(long repositoryId)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 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

getBeanIdentifier

String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

getRepository

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

getSupportedConfigurations

@Transactional(propagation=SUPPORTS,
               readOnly=true)
String[] getSupportedConfigurations(long classNameId)

getSupportedParameters

@Transactional(propagation=SUPPORTS,
               readOnly=true)
String[] getSupportedParameters(String className,
                                                                         String configuration)

getSupportedParameters

@Deprecated
@Transactional(propagation=SUPPORTS,
               readOnly=true)
String[] getSupportedParameters(long classNameId,
                                                                                    String configuration)
Deprecated. As of 7.0.0, replaced by getSupportedParameters(String, String)


getTypeSettingsProperties

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

setBeanIdentifier

void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

updateRepository

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

Liferay 7.0-ce-m6