public class RepositoryServiceUtil
extends Object
com.liferay.portal.service.impl.RepositoryServiceImpl and is an
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| 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)
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
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 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
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.PortalExceptionpublic static void checkRepository(long repositoryId)
throws PortalException
PortalExceptionpublic static void deleteRepository(long repositoryId)
throws PortalException
PortalExceptionpublic static String getOSGiServiceIdentifier()
public static Repository getRepository(long repositoryId) throws PortalException
PortalExceptionpublic static UnicodeProperties getTypeSettingsProperties(long repositoryId) throws PortalException
PortalExceptionpublic static void updateRepository(long repositoryId,
String name,
String description)
throws PortalException
PortalExceptionpublic static RepositoryService getService()