@ProviderType
public class RepositoryServiceUtil
extends Object
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
,
RepositoryServiceImpl
Constructor and Description |
---|
RepositoryServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static Repository |
addRepository(long groupId,
long classNameId,
long parentFolderId,
String name,
String description,
String portletId,
UnicodeProperties typeSettingsProperties,
ServiceContext serviceContext) |
static void |
checkRepository(long repositoryId) |
static void |
deleteRepository(long repositoryId) |
static String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static Repository |
getRepository(long repositoryId) |
static RepositoryService |
getService() |
static String[] |
getSupportedConfigurations(long classNameId)
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
static String[] |
getSupportedParameters(long classNameId,
String configuration)
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
static String[] |
getSupportedParameters(String className,
String configuration)
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
static UnicodeProperties |
getTypeSettingsProperties(long repositoryId) |
static void |
updateRepository(long repositoryId,
String name,
String description) |
public static Repository addRepository(long groupId, long classNameId, long parentFolderId, String name, String description, String portletId, UnicodeProperties typeSettingsProperties, ServiceContext serviceContext) throws PortalException
PortalException
public static void checkRepository(long repositoryId) throws PortalException
PortalException
public static void deleteRepository(long repositoryId) throws PortalException
PortalException
public static String getOSGiServiceIdentifier()
public static Repository getRepository(long repositoryId) throws PortalException
PortalException
@Deprecated public static String[] getSupportedConfigurations(long classNameId)
@Deprecated public static String[] getSupportedParameters(long classNameId, String configuration)
@Deprecated public static String[] getSupportedParameters(String className, String configuration)
public static UnicodeProperties getTypeSettingsProperties(long repositoryId) throws PortalException
PortalException
public static void updateRepository(long repositoryId, String name, String description) throws PortalException
PortalException
public static RepositoryService getService()