Liferay 6.2.0

com.liferay.portal.service
Interface RepositoryService

All Superinterfaces:
BaseService
All Known Implementing Classes:
RepositoryServiceBaseImpl, RepositoryServiceImpl, RepositoryServiceWrapper

@ProviderType
@AccessControlled
@JSONWebService
@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
abstract  Repository addRepository(long groupId, long classNameId, long parentFolderId, String name, String description, String portletId, UnicodeProperties typeSettingsProperties, ServiceContext serviceContext)
           
abstract  void checkRepository(long repositoryId)
           
abstract  void deleteRepository(long repositoryId)
           
abstract  String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
abstract  LocalRepository getLocalRepositoryImpl(long repositoryId)
           
abstract  LocalRepository getLocalRepositoryImpl(long folderId, long fileEntryId, long fileVersionId)
           
abstract  Repository getRepository(long repositoryId)
           
abstract  Repository getRepositoryImpl(long repositoryId)
           
abstract  Repository getRepositoryImpl(long folderId, long fileEntryId, long fileVersionId)
           
abstract  String[] getSupportedConfigurations(long classNameId)
           
abstract  String[] getSupportedParameters(long classNameId, String configuration)
           
abstract  UnicodeProperties getTypeSettingsProperties(long repositoryId)
           
abstract  void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
abstract  void updateRepository(long repositoryId, String name, String description)
           
 

Method Detail

getBeanIdentifier

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

Returns:
the Spring bean ID for this bean

setBeanIdentifier

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

Parameters:
beanIdentifier - the Spring bean ID for this bean

addRepository

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

checkRepository

void checkRepository(long repositoryId)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

deleteRepository

void deleteRepository(long repositoryId)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

getLocalRepositoryImpl

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

getLocalRepositoryImpl

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

getRepository

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

getRepositoryImpl

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

getRepositoryImpl

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

getSupportedConfigurations

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

getSupportedParameters

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

getTypeSettingsProperties

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

updateRepository

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

Liferay 6.2.0