Liferay 6.1.2-ce-ga3

com.liferay.portal.service
Interface RepositoryService

All Superinterfaces:
BaseService
All Known Implementing Classes:
RepositoryServiceWrapper

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

The interface for the repository remote service.

This is a remote service. 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
 long 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

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

long 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.1.2-ce-ga3