@AccessControlled @CTAware @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface RepositoryService extends BaseService
RepositoryServiceUtil| 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) |
void |
updateRepository(long repositoryId,
String name,
String description) |
Repository addRepository(long groupId, long classNameId, long parentFolderId, String name, String description, String portletId, UnicodeProperties typeSettingsUnicodeProperties, ServiceContext serviceContext) throws PortalException
PortalExceptionvoid checkRepository(long repositoryId)
throws PortalException
PortalExceptionvoid deleteRepository(long repositoryId)
throws PortalException
PortalExceptionString getOSGiServiceIdentifier()
@Transactional(propagation=SUPPORTS, readOnly=true) Repository getRepository(long repositoryId) throws PortalException
PortalException@Transactional(propagation=SUPPORTS, readOnly=true) Repository getRepository(long groupId, String portletId) throws PortalException
PortalException@Transactional(propagation=SUPPORTS, readOnly=true) UnicodeProperties getTypeSettingsProperties(long repositoryId) throws PortalException
PortalExceptionvoid updateRepository(long repositoryId,
String name,
String description)
throws PortalException
PortalException