@AccessControlled @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 typeSettingsProperties,
ServiceContext serviceContext)
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
void |
checkRepository(long repositoryId) |
void |
deleteRepository(long repositoryId) |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
Repository |
getRepository(long repositoryId) |
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 typeSettingsProperties, ServiceContext serviceContext) throws PortalException
RepositoryServiceUtil to access the repository remote service. Add custom service methods to com.liferay.portal.service.impl.RepositoryServiceImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.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) UnicodeProperties getTypeSettingsProperties(long repositoryId) throws PortalException
PortalExceptionvoid updateRepository(long repositoryId,
String name,
String description)
throws PortalException
PortalException