Liferay 7.0-ce-b4

com.liferay.portal.service
Class RepositoryServiceUtil

java.lang.Object
  extended by com.liferay.portal.service.RepositoryServiceUtil

@ProviderType
public class RepositoryServiceUtil
extends Object

Provides the remote service utility for Repository. This utility wraps 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.

See Also:
RepositoryService, RepositoryServiceBaseImpl, RepositoryServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor Summary
RepositoryServiceUtil()
           
 
Method Summary
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 7.0.0, with no direct replacement
static String[] getSupportedParameters(long classNameId, String configuration)
          Deprecated. As of 7.0.0, with no direct replacement
static String[] getSupportedParameters(String className, String configuration)
          Deprecated. As of 7.0.0, with no direct replacement
static UnicodeProperties getTypeSettingsProperties(long repositoryId)
           
static void updateRepository(long repositoryId, String name, String description)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryServiceUtil

public RepositoryServiceUtil()
Method Detail

addRepository

public static Repository addRepository(long groupId,
                                       long classNameId,
                                       long parentFolderId,
                                       String name,
                                       String description,
                                       String portletId,
                                       UnicodeProperties typeSettingsProperties,
                                       ServiceContext serviceContext)
                                throws PortalException
Throws:
PortalException

checkRepository

public static void checkRepository(long repositoryId)
                            throws PortalException
Throws:
PortalException

deleteRepository

public static void deleteRepository(long repositoryId)
                             throws PortalException
Throws:
PortalException

getOSGiServiceIdentifier

public static String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

getRepository

public static Repository getRepository(long repositoryId)
                                throws PortalException
Throws:
PortalException

getSupportedConfigurations

@Deprecated
public static String[] getSupportedConfigurations(long classNameId)
Deprecated. As of 7.0.0, with no direct replacement


getSupportedParameters

@Deprecated
public static String[] getSupportedParameters(String className,
                                                         String configuration)
Deprecated. As of 7.0.0, with no direct replacement


getSupportedParameters

@Deprecated
public static String[] getSupportedParameters(long classNameId,
                                                         String configuration)
Deprecated. As of 7.0.0, with no direct replacement


getTypeSettingsProperties

public static UnicodeProperties getTypeSettingsProperties(long repositoryId)
                                                   throws PortalException
Throws:
PortalException

updateRepository

public static void updateRepository(long repositoryId,
                                    String name,
                                    String description)
                             throws PortalException
Throws:
PortalException

getService

public static RepositoryService getService()

Liferay 7.0-ce-b4