|
Web Dynpro API Documentation | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use WDModelScopeType | |
| com.sap.tc.webdynpro.modelimpl.dynamicrfc | |
| com.sap.tc.webdynpro.progmodel.model.api | |
| Uses of WDModelScopeType in com.sap.tc.webdynpro.modelimpl.dynamicrfc |
| Methods in com.sap.tc.webdynpro.modelimpl.dynamicrfc that return WDModelScopeType | |
WDModelScopeType |
IWDDynamicRFCModelClass.scope()
Returns the scope, which defines the maximal lifetime of this ModelClass instance. |
protected WDModelScopeType |
WDDynamicRFC_Fault._defaultScope()
|
protected WDModelScopeType |
WDDynamicRFC_Fault.AttributesType._defaultScope()
|
protected WDModelScopeType |
WDDynamicRFC_Fault.MessageType._defaultScope()
|
| Uses of WDModelScopeType in com.sap.tc.webdynpro.progmodel.model.api |
| Fields in com.sap.tc.webdynpro.progmodel.model.api declared as WDModelScopeType | |
static WDModelScopeType |
WDModelScopeType.COMPONENT_SCOPE
Scope Component. |
static WDModelScopeType |
WDModelScopeType.APPLICATION_SCOPE
Scope Application. |
static WDModelScopeType |
WDModelScopeType.VM_SCOPE
Deprecated. DO NOT USE! This constant may be withdrawn from the public Web Dynpro API with the first new NetWeaver release in 2006 because the behaviour can not be guaranteed. |
static WDModelScopeType |
WDModelScopeType.TASK_SCOPE
Task Scope => scope lives during a single request/response cycle |
static WDModelScopeType |
WDModelScopeType.NO_SCOPE
No Scope. |
static WDModelScopeType |
WDModelScopeType.SERVERSESSION_SCOPE
Deprecated. DO NOT USE! This constant may be withdrawn from the public Web Dynpro API with the first new NetWeaver release in 2006 because the behaviour can not be guaranteed. |
static WDModelScopeType |
WDModelScopeType.SERVERSESSION_AT_LEAST_ONE_APP_SCOPE
Deprecated. DO NOT USE! This constant may be withdrawn from the public Web Dynpro API with the first new NetWeaver release in 2006 because the behaviour can not be guaranteed. |
| Methods in com.sap.tc.webdynpro.progmodel.model.api that return WDModelScopeType | |
protected static WDModelScopeType |
WDModelScopeType.getModelScopeType(com.sap.tc.webdynpro.services.session.ScopeType scopeType)
|
static WDModelScopeType |
WDModelFactory.lookupDefaultScopeForModel(java.lang.Class modelClazz)
looksup the default scope of a model |
WDModelScopeType |
IWDModel.getModelScope()
Gets the scope in which this model is managed which defines the maximum lifespan of this model instance e.g. |
| Methods in com.sap.tc.webdynpro.progmodel.model.api with parameters of type WDModelScopeType | |
static IWDModel |
WDModelFactory.getModelInstance(java.lang.Class modelClazz,
WDModelScopeType scope)
factory method, which returns an instance within the scope of the current thread's application instance representing a specific model type (param modelClazz) If no instance of the Class modelClazz within the given scope exists, a new instance is created and added within the given scope. |
static IWDModel |
WDModelFactory.getModelInstance(java.lang.Class modelClazz,
WDModelScopeType scope,
java.lang.String modelInstanceId)
factory method, which returns an instance representing: 1) a specific model type (param modelClazz) 2) within the scope as defined by the ModelScope parameter (param scope) 3) having the specific name or id (param modelInstanceId) If no instance with the given parameters exists, a new instance is created and added within the given scope keyed by the modelInstanceId Only one instance of a model can exist within a single scope using the same modelInstanceId e.g. |
static void |
WDModelFactory.reassignModel(IWDModel model,
WDModelScopeType newScope,
java.lang.String newInstanceId)
reassigns an existing model to a new scope and/or instanceId: returns an instance with the new scope and instanceID if a model instance with the new scope and instanceID already exists, a WDModelException is thrown Only one instance of a model can exist within a single scope using the same modelInstanceId |
static IWDModel |
WDModelFactory.registerModelInstanceInScope(IWDModel modelInstance,
WDModelScopeType scope)
registers a model instance in the appropriate scope. |
static void |
WDModelFactory.registerDefaultScopeForModel(java.lang.Class modelClazz,
WDModelScopeType scope)
registers the default scope of a model in the ModelFactory |
|
Web Dynpro API Documentation | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||