|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The IPortalRuntimeResources interface is used to provide access to certain resources maintained by the runtime implementation through the Portal Runtime API.
| Nested Class Summary | |
static class |
IPortalRuntimeResources.LocationType
Handles Location types |
| Field Summary | |
static IPortalRuntimeResources.LocationType |
LT_PRIVATE_DEPLOYMENT
Location type for the private home path example : |
static IPortalRuntimeResources.LocationType |
LT_PRIVATE_RESOURCES
Location type for private resources example : |
static IPortalRuntimeResources.LocationType |
LT_PRIVATE_SERVICES
Location type for private resources for services example : |
static IPortalRuntimeResources.LocationType |
LT_PRT_CLASSES
Location type for the portal classpath example : |
static IPortalRuntimeResources.LocationType |
LT_PRT_LIBS
Location type for the portal lib path example : |
static IPortalRuntimeResources.LocationType |
LT_PUBLIC_DEPLOYMENT
Location type for the public home path example : |
static IPortalRuntimeResources.LocationType |
LT_PUBLIC_RESOURCES
Location type for public resources example : |
static IPortalRuntimeResources.LocationType |
LT_PUBLIC_SERVICES
Location type for public resources for services example : |
static IPortalRuntimeResources.LocationType |
LT_SYSTEM_CONTENT
Location type for PRT content (for demo purposes only!) |
static IPortalRuntimeResources.LocationType |
LT_SYSTEM_DEPLOYMENT
Location type for system deployment example : |
static IPortalRuntimeResources.LocationType |
LT_SYSTEM_DEPLOYMENT_PCD
Location type for the PCD original content example : |
static IPortalRuntimeResources.LocationType |
LT_SYSTEM_DEPLOYMENT_TEMP
Location type for temporary files during the deployment example : |
static IPortalRuntimeResources.LocationType |
LT_SYSTEM_HOME
Home path to system resources example : |
static IPortalRuntimeResources.LocationType |
LT_SYSTEM_RESOURCES
Location type for system resources example : |
| Method Summary | |
IPortalComponent |
getDefaultPersonalizationDelegate()
Gets the runtime wide defined default personalization delegate |
File |
getLocation(IPortalRuntimeResources.LocationType locationType)
Retrieves a File object denoting the path to the location type specified. |
String |
getPath(IPortalRuntimeResources.LocationType locationType)
Retrieves the full path to the location type specified. |
ResourceBundle |
getPortalBundle(Locale locale)
Gets a ResourceBundle that was defined for the whole Runtime. |
IResource |
getResource(String resourceType,
File file)
Returns a IResource object to the file specified. |
IService |
getService(String serviceName)
Gets a service by its name. |
IService |
getService(String serviceName,
IServiceConfiguration aServiceConfiguration)
Deprecated. Note: do not use anymore |
IService |
getService(String serviceName,
IServiceId aServiceID)
Deprecated. Note: do not use anymore |
| Field Detail |
public static final IPortalRuntimeResources.LocationType LT_PUBLIC_DEPLOYMENT
example :
public static final IPortalRuntimeResources.LocationType LT_PRIVATE_DEPLOYMENT
example :
public static final IPortalRuntimeResources.LocationType LT_PUBLIC_RESOURCES
example :
public static final IPortalRuntimeResources.LocationType LT_PRIVATE_RESOURCES
example :
public static final IPortalRuntimeResources.LocationType LT_PUBLIC_SERVICES
example :
public static final IPortalRuntimeResources.LocationType LT_PRIVATE_SERVICES
example :
public static final IPortalRuntimeResources.LocationType LT_SYSTEM_HOME
example :
public static final IPortalRuntimeResources.LocationType LT_SYSTEM_RESOURCES
example :
public static final IPortalRuntimeResources.LocationType LT_SYSTEM_DEPLOYMENT
example :
public static final IPortalRuntimeResources.LocationType LT_SYSTEM_DEPLOYMENT_PCD
example :
public static final IPortalRuntimeResources.LocationType LT_SYSTEM_DEPLOYMENT_TEMP
example :
public static final IPortalRuntimeResources.LocationType LT_SYSTEM_CONTENT
example :
public static final IPortalRuntimeResources.LocationType LT_PRT_LIBS
example :
public static final IPortalRuntimeResources.LocationType LT_PRT_CLASSES
example :
| Method Detail |
public ResourceBundle getPortalBundle(Locale locale)
locale - The Locale to fetch the ResourceBundle for.
public IPortalComponent getDefaultPersonalizationDelegate()
public IService getService(String serviceName)
serviceName - the fully qualified service name or its alias
IService
public IService getService(String serviceName,
IServiceId aServiceID)
serviceName - name of the Service to accessaServiceID - the ID of the service to get
IService,
IServiceId
public IService getService(String serviceName,
IServiceConfiguration aServiceConfiguration)
serviceName - the name of the Service.aServiceConfiguration - the configuration of the Servive
IService,
IServiceConfiguration
public IResource getResource(String resourceType,
File file)
file - the File object associated to this resource
IResourcepublic String getPath(IPortalRuntimeResources.LocationType locationType)
public File getLocation(IPortalRuntimeResources.LocationType locationType)
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||