com.sap.portal.resource.repository

Interface IWebResourceImportSrv

All Superinterfaces:
IService

public interface IWebResourceImportSrv
extends IService

This service enables importing application resources into the Web Resource Repository


Field Summary
static String KEY
           
 
Method Summary
 void importApplicationResources(String appName, String resourcesRootPath, String targetPath, boolean overwrite, Locale originalLocale)
          Imports application resources into the Web Resource Repository.
 void importApplicationResources(String appName, String resourcesRootPath, String targetPath, Locale originalLocale)
          Imports application resources into the Web Resource Repository.
 
Methods inherited from interface com.sapportals.portal.prt.service.IService
afterInit, configure, destroy, getContext, getKey, init, release
 

Field Detail

KEY

static final String KEY
See Also:
Constant Field Values
Method Detail

importApplicationResources

void importApplicationResources(String appName,
                                String resourcesRootPath,
                                String targetPath,
                                Locale originalLocale)
                                throws LockingException
Imports application resources into the Web Resource Repository. Resources that already exist in the target path are overwritten.

Parameters:
appName - - the name of the application containing the resources.
resourcesRootPath - - the path, relative to the application root, in which the resources are located. If null, the application root is used,
targetPath - - the path in the Web Resource Repository, into which the resources will be imported. If null, resources will be imported to the repository root.
originalLocale - - the original locale of the imported resources.
Throws:
LockingException - - thrown if a lock for the import operation cannot be obtained.

importApplicationResources

void importApplicationResources(String appName,
                                String resourcesRootPath,
                                String targetPath,
                                boolean overwrite,
                                Locale originalLocale)
                                throws LockingException
Imports application resources into the Web Resource Repository.

Parameters:
appName - - the name of the application containing the resources.
resourcesRootPath - - the path, relative to the application root, in which the resources are located. If null, the application root is used.
targetPath - - the path in the Web Resource Repository, into which the resources will be imported. If null, resources will be imported to the repository root.
overwrite - - indicates whether to overwrite existing resources.
originalLocale - - the original locale of the imported resources.
Throws:
LockingException - - thrown if a lock for the import operation cannot be obtained.
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