Liferay 7.0-ce-m3

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 getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 LocalRepository getLocalRepositoryImpl(long repositoryId)
           
 LocalRepository getLocalRepositoryImpl(long folderId, long fileEntryId, long fileVersionId)
           
 Repository getRepository(long repositoryId)
           
 Repository getRepositoryImpl(long repositoryId)
           
 Repository getRepositoryImpl(long folderId, long fileEntryId, long fileVersionId)
           
 String[] getSupportedConfigurations(long classNameId)
           
 String[] getSupportedParameters(long classNameId, 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

getLocalRepositoryImpl

@Transactional(propagation=SUPPORTS,
               readOnly=true)
LocalRepository getLocalRepositoryImpl(long folderId,
                                                                                long fileEntryId,
                                                                                long fileVersionId)
                                       throws PortalException
Throws:
PortalException

getLocalRepositoryImpl

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

getRepository

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

getRepositoryImpl

@Transactional(propagation=SUPPORTS,
               readOnly=true)
Repository getRepositoryImpl(long folderId,
                                                                      long fileEntryId,
                                                                      long fileVersionId)
                             throws PortalException
Throws:
PortalException

getRepositoryImpl

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

getSupportedConfigurations

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

getSupportedParameters

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

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-m3