com.sap.portal.resource.repository.branding

Interface IBrandingService


public interface IBrandingService

Provides access to the branding capabilities of the portal. Use this service for importing your branding resources, or for loading branding resources at runtime.


Field Summary
static String KEY
          Service key
 
Method Summary
 IBrandingLoader createBrandingLoader(String applicationName, IPortalComponentRequest request, IPortalComponentResponse response)
          Deprecated. 
 IBrandingLoader createBrandingLoader(String namespace, String applicationName, IPortalComponentRequest request)
          Returns a branding loader for loading the branding resources of the specified application, according to the application namespace.
 IBrandingImporter getBrandingImporter()
          Returns a branding importer for importing application branding resources into a portal system.
 

Field Detail

KEY

static final String KEY
Service key

See Also:
Constant Field Values
Method Detail

createBrandingLoader

@Deprecated
IBrandingLoader createBrandingLoader(String applicationName,
                                                IPortalComponentRequest request,
                                                IPortalComponentResponse response)
Deprecated. 

This method is deprecated. Use: createBrandingLoader
Returns a branding loader for loading the branding resources of the specified application. The created branding loader is valid for the lifetime of the specified request and response.

Parameters:
applicationName - the name of the application whose branding resources are to be loaded
request - the portal component request
response - the portal component response
Returns:
An IBrandingLoader object for the specified application and the provided request and response

createBrandingLoader

IBrandingLoader createBrandingLoader(String namespace,
                                     String applicationName,
                                     IPortalComponentRequest request)
Returns a branding loader for loading the branding resources of the specified application, according to the application namespace. The created branding loader is valid for the lifetime of the specified request.

Parameters:
namespace - the namespace of the application branding resources. If you are not using a namespace, use null
applicationName - the name of the application whose branding resources are to be loaded
request - the portal component request
Returns:
An IBrandingLoader object for the specified application and the provided request

getBrandingImporter

IBrandingImporter getBrandingImporter()
Returns a branding importer for importing application branding resources into a portal system.
Imported resources can be loaded at runtime using IBrandingLoader.

Returns:
An IBrandingImporter object
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] EP-RUNTIME [sap.com] tc/ep/application/branding/api api EP-PIN


Copyright 2015 SAP AG Complete Copyright Notice