@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,
java.lang.String name,
java.lang.String description,
java.lang.String portletId,
UnicodeProperties typeSettingsUnicodeProperties,
ServiceContext serviceContext) |
void |
checkRepository(long repositoryId) |
void |
deleteRepository(long repositoryId) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
Repository |
getRepository(long repositoryId) |
Repository |
getRepository(long groupId,
java.lang.String portletId) |
UnicodeProperties |
getTypeSettingsProperties(long repositoryId) |
void |
updateRepository(long repositoryId,
java.lang.String name,
java.lang.String description) |
Repository addRepository(long groupId, long classNameId, long parentFolderId, java.lang.String name, java.lang.String description, java.lang.String portletId, UnicodeProperties typeSettingsUnicodeProperties, ServiceContext serviceContext) throws PortalException
PortalException
void checkRepository(long repositoryId) throws PortalException
PortalException
void deleteRepository(long repositoryId) throws PortalException
PortalException
java.lang.String getOSGiServiceIdentifier()
@Transactional(propagation=SUPPORTS, readOnly=true) Repository getRepository(long repositoryId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) Repository getRepository(long groupId, java.lang.String portletId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) UnicodeProperties getTypeSettingsProperties(long repositoryId) throws PortalException
PortalException
void updateRepository(long repositoryId, java.lang.String name, java.lang.String description) throws PortalException
PortalException