@StableMinor(version="12.1", sinceVersion="4.0") public interface IPreferencesManager
Modifier and Type | Method and Description |
---|---|
void |
delete(SessionConfig sessionConfig,
String resourceId,
int resourceType,
ITransaction transaction)
Deprecated.
Since 10.2.0, replaced by
deletePreferencesByServiceInterfaceInstanceId(String) . |
void |
deletePreferencesByServiceInterfaceInstanceId(String serviceInterfaceInstanceId)
Deletes all non-structure level preferences associated with the specified service interface instance.
|
IPreferences |
getPreferences(SessionConfig sessionConfig,
String resourceId,
int resourceType)
Deprecated.
Since 10.2.0, replaced by
getServiceInterfaceInstancePreferences(String, PreferencesLevel) . |
IPreferences |
getServiceInterfaceInstancePreferences(String serviceInterfaceInstanceId,
PreferencesLevel level)
Returns the preferences for a specified resource at the specified level.
|
@Deprecated IPreferences getPreferences(SessionConfig sessionConfig, String resourceId, int resourceType) throws PortalException
getServiceInterfaceInstancePreferences(String, PreferencesLevel)
.sessionConfig
- the user session information.resourceId
- the resource id.resourceType
- the resource type.PortalException
IPreferences getServiceInterfaceInstancePreferences(String serviceInterfaceInstanceId, PreferencesLevel level) throws PortalException
serviceInterfaceInstanceId
- the service interface instance identifier.level
- the storage level of the preferences to be returned. For user level, the user of the
current session
is used.PortalException
@Deprecated void delete(SessionConfig sessionConfig, String resourceId, int resourceType, ITransaction transaction) throws PortalException
deletePreferencesByServiceInterfaceInstanceId(String)
.sessionConfig
- the user session information.resourceId
- the resource id.resourceType
- the resource type. One of the IPreferences
constants.transaction
- transaction for persistence access.PortalException
void deletePreferencesByServiceInterfaceInstanceId(String serviceInterfaceInstanceId) throws PortalException
serviceInterfaceInstanceId
- the service interface instance identifier.PortalException
LumisXP 12.1.0.191010 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.