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) voidcheckRepository(long repositoryId) voiddeleteRepository(long repositoryId) Returns the OSGi service identifier.getRepository(long repositoryId) getRepository(long groupId, String portletId) getTypeSettingsProperties(long repositoryId) voidsetWrappedService(RepositoryService repositoryService) voidupdateRepository(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:
addRepositoryin interfaceRepositoryService- Throws:
PortalException
-
checkRepository
- Specified by:
checkRepositoryin interfaceRepositoryService- Throws:
PortalException
-
deleteRepository
- Specified by:
deleteRepositoryin interfaceRepositoryService- Throws:
PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceRepositoryService- Returns:
- the OSGi service identifier
-
getRepository
- Specified by:
getRepositoryin interfaceRepositoryService- Throws:
PortalException
-
getRepository
- Specified by:
getRepositoryin interfaceRepositoryService- Throws:
PortalException
-
getTypeSettingsProperties
- Specified by:
getTypeSettingsPropertiesin interfaceRepositoryService- Throws:
PortalException
-
updateRepository
public void updateRepository(long repositoryId, String name, String description) throws PortalException - Specified by:
updateRepositoryin interfaceRepositoryService- Throws:
PortalException
-
getWrappedService
- Specified by:
getWrappedServicein interfaceServiceWrapper<RepositoryService>
-
setWrappedService
- Specified by:
setWrappedServicein interfaceServiceWrapper<RepositoryService>
-