Interface RepositoryService
- All Superinterfaces:
BaseService
- All Known Implementing Classes:
RepositoryServiceWrapper
@AccessControlled
@CTAware
@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.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionaddRepository
(String externalReferenceCode, long groupId, long classNameId, long parentFolderId, String name, String description, String portletId, UnicodeProperties typeSettingsUnicodeProperties, ServiceContext serviceContext) void
checkRepository
(long repositoryId) void
deleteRepository
(long repositoryId) Returns the OSGi service identifier.getRepository
(long repositoryId) getRepository
(long groupId, String portletId) getTypeSettingsProperties
(long repositoryId) void
updateRepository
(long repositoryId, String name, String description)
-
Method Details
-
addRepository
Repository addRepository(String externalReferenceCode, long groupId, long classNameId, long parentFolderId, String name, String description, String portletId, UnicodeProperties typeSettingsUnicodeProperties, ServiceContext serviceContext) throws PortalException - Throws:
PortalException
-
checkRepository
- Throws:
PortalException
-
deleteRepository
- Throws:
PortalException
-
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getRepository
@Transactional(propagation=SUPPORTS, readOnly=true) Repository getRepository(long repositoryId) throws PortalException - Throws:
PortalException
-
getRepository
@Transactional(propagation=SUPPORTS, readOnly=true) Repository getRepository(long groupId, String portletId) throws PortalException - Throws:
PortalException
-
getTypeSettingsProperties
@Transactional(propagation=SUPPORTS, readOnly=true) UnicodeProperties getTypeSettingsProperties(long repositoryId) throws PortalException - Throws:
PortalException
-
updateRepository
- Throws:
PortalException
-