public class RepositoryServiceWrapper extends Object implements RepositoryService, ServiceWrapper<RepositoryService>
RepositoryService.RepositoryService| Constructor and Description |
|---|
RepositoryServiceWrapper() |
RepositoryServiceWrapper(RepositoryService repositoryService) |
| Modifier and Type | Method and Description |
|---|---|
Repository |
addRepository(long groupId,
long classNameId,
long parentFolderId,
String name,
String description,
String portletId,
UnicodeProperties typeSettingsUnicodeProperties,
ServiceContext serviceContext) |
void |
checkRepository(long repositoryId) |
void |
deleteRepository(long repositoryId) |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
Repository |
getRepository(long repositoryId) |
Repository |
getRepository(long groupId,
String portletId) |
UnicodeProperties |
getTypeSettingsProperties(long repositoryId) |
RepositoryService |
getWrappedService() |
void |
setWrappedService(RepositoryService repositoryService) |
void |
updateRepository(long repositoryId,
String name,
String description) |
public RepositoryServiceWrapper()
public RepositoryServiceWrapper(RepositoryService repositoryService)
public Repository addRepository(long groupId, long classNameId, long parentFolderId, String name, String description, String portletId, UnicodeProperties typeSettingsUnicodeProperties, ServiceContext serviceContext) throws PortalException
addRepository in interface RepositoryServicePortalExceptionpublic void checkRepository(long repositoryId)
throws PortalException
checkRepository in interface RepositoryServicePortalExceptionpublic void deleteRepository(long repositoryId)
throws PortalException
deleteRepository in interface RepositoryServicePortalExceptionpublic String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface RepositoryServicepublic Repository getRepository(long repositoryId) throws PortalException
getRepository in interface RepositoryServicePortalExceptionpublic Repository getRepository(long groupId, String portletId) throws PortalException
getRepository in interface RepositoryServicePortalExceptionpublic UnicodeProperties getTypeSettingsProperties(long repositoryId) throws PortalException
getTypeSettingsProperties in interface RepositoryServicePortalExceptionpublic void updateRepository(long repositoryId,
String name,
String description)
throws PortalException
updateRepository in interface RepositoryServicePortalExceptionpublic RepositoryService getWrappedService()
getWrappedService in interface ServiceWrapper<RepositoryService>public void setWrappedService(RepositoryService repositoryService)
setWrappedService in interface ServiceWrapper<RepositoryService>