Class RepositoryServiceWrapper
Object
com.liferay.portal.kernel.service.RepositoryServiceWrapper
- All Implemented Interfaces:
BaseService
,RepositoryService
,ServiceWrapper<RepositoryService>
public class RepositoryServiceWrapper
extends Object
implements RepositoryService, ServiceWrapper<RepositoryService>
Provides a wrapper for
RepositoryService
.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
Constructors -
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
setWrappedService
(RepositoryService repositoryService) void
updateRepository
(long repositoryId, String name, String description)
-
Constructor Details
-
RepositoryServiceWrapper
public RepositoryServiceWrapper() -
RepositoryServiceWrapper
-
-
Method Details
-
addRepository
public Repository addRepository(String externalReferenceCode, long groupId, long classNameId, long parentFolderId, String name, String description, String portletId, UnicodeProperties typeSettingsUnicodeProperties, ServiceContext serviceContext) throws PortalException - Specified by:
addRepository
in interfaceRepositoryService
- Throws:
PortalException
-
checkRepository
- Specified by:
checkRepository
in interfaceRepositoryService
- Throws:
PortalException
-
deleteRepository
- Specified by:
deleteRepository
in interfaceRepositoryService
- Throws:
PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceRepositoryService
- Returns:
- the OSGi service identifier
-
getRepository
- Specified by:
getRepository
in interfaceRepositoryService
- Throws:
PortalException
-
getRepository
- Specified by:
getRepository
in interfaceRepositoryService
- Throws:
PortalException
-
getTypeSettingsProperties
- Specified by:
getTypeSettingsProperties
in interfaceRepositoryService
- Throws:
PortalException
-
updateRepository
public void updateRepository(long repositoryId, String name, String description) throws PortalException - Specified by:
updateRepository
in interfaceRepositoryService
- Throws:
PortalException
-
getWrappedService
- Specified by:
getWrappedService
in interfaceServiceWrapper<RepositoryService>
-
setWrappedService
- Specified by:
setWrappedService
in interfaceServiceWrapper<RepositoryService>
-