com.liferay.portal.service
Interface RepositoryService
- All Known Implementing Classes:
- RepositoryServiceBaseImpl, RepositoryServiceImpl, RepositoryServiceWrapper
@JSONWebService
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface RepositoryService
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
,
RepositoryServiceImpl
- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.
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)
|
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 |
updateRepository(long repositoryId,
String name,
String description)
|
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