@ProviderType
public class RepositoryServiceUtil
extends java.lang.Object
com.liferay.portal.service.impl.RepositoryServiceImpl and is the
primary access point for service operations in application layer code running
on a remote server. Methods of this service are expected to have security
checks based on the propagated JAAS credentials because this service can be
accessed remotely.RepositoryService,
RepositoryServiceBaseImpl,
com.liferay.portal.service.impl.RepositoryServiceImpl| Constructor and Description |
|---|
RepositoryServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Repository |
addRepository(long groupId,
long classNameId,
long parentFolderId,
java.lang.String name,
java.lang.String description,
java.lang.String portletId,
UnicodeProperties typeSettingsProperties,
ServiceContext serviceContext) |
static void |
checkRepository(long repositoryId) |
static void |
deleteRepository(long repositoryId) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static Repository |
getRepository(long repositoryId) |
static RepositoryService |
getService() |
static java.lang.String[] |
getSupportedConfigurations(long classNameId)
Deprecated.
As of 7.0.0, with no direct replacement
|
static java.lang.String[] |
getSupportedParameters(long classNameId,
java.lang.String configuration)
Deprecated.
As of 7.0.0, with no direct replacement
|
static java.lang.String[] |
getSupportedParameters(java.lang.String className,
java.lang.String configuration)
Deprecated.
As of 7.0.0, with no direct replacement
|
static UnicodeProperties |
getTypeSettingsProperties(long repositoryId) |
static void |
updateRepository(long repositoryId,
java.lang.String name,
java.lang.String description) |
public static Repository addRepository(long groupId, long classNameId, long parentFolderId, java.lang.String name, java.lang.String description, java.lang.String portletId, UnicodeProperties typeSettingsProperties, ServiceContext serviceContext) throws PortalException
PortalExceptionpublic static void checkRepository(long repositoryId)
throws PortalException
PortalExceptionpublic static void deleteRepository(long repositoryId)
throws PortalException
PortalExceptionpublic static java.lang.String getOSGiServiceIdentifier()
public static Repository getRepository(long repositoryId) throws PortalException
PortalException@Deprecated public static java.lang.String[] getSupportedConfigurations(long classNameId)
@Deprecated
public static java.lang.String[] getSupportedParameters(java.lang.String className,
java.lang.String configuration)
@Deprecated
public static java.lang.String[] getSupportedParameters(long classNameId,
java.lang.String configuration)
public static UnicodeProperties getTypeSettingsProperties(long repositoryId) throws PortalException
PortalExceptionpublic static void updateRepository(long repositoryId,
java.lang.String name,
java.lang.String description)
throws PortalException
PortalExceptionpublic static RepositoryService getService()