Package de.uplanet.lucy.server.binding
Interface IBindingProcessor
-
public interface IBindingProcessor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanValueBindEarly(IBindingKey p_binding)booleancanValueBindLate(IBindingKey p_binding)de.uplanet.lucy.server.binding.IAppointmentBindingTypeProcessorgetAppointmentBindingTypeProcessor()de.uplanet.lucy.server.binding.IBindingTypeProcessorgetBindingTypeProcessor(IBindingKey p_binding)de.uplanet.lucy.server.binding.IContainerBindingTypeProcessorgetContainerBindingTypeProcessor()de.uplanet.lucy.server.binding.IControlBindingTypeProcessorgetControlBindingTypeProcessor()de.uplanet.lucy.server.binding.IRequestBindingTypeProcessorgetRequestBindingTypeProcessor()de.uplanet.lucy.server.binding.IResourceBindingTypeProcessorgetResourceBindingTypeProcessor()de.uplanet.lucy.server.rtcache.IRtCachegetRtCache()de.uplanet.lucy.server.binding.ISessionBindingTypeProcessorgetSessionBindingTypeProcessor()de.uplanet.lucy.server.binding.ISharedStateBindingTypeProcessorgetSharedStateBindingTypeProcessor()de.uplanet.lucy.server.binding.IStateBindingTypeProcessorgetStateBindingTypeProcessor()de.uplanet.lucy.server.binding.ISystemPropertyBindingTypeProcessorgetSystemPropertyBindingTypeProcessor()de.uplanet.lucy.server.binding.ITargetArgumentBindingTypeProcessorgetTargetArgumentBindingTypeProcessor()de.uplanet.lucy.server.binding.IUserBindingTypeProcessorgetUserBindingTypeProcessor()IIxValuegetValue(IBindingContext p_ctx, IBindingKey p_binding)IIxValuegetValue(de.uplanet.lucy.server.binding.IBindingTypeContext p_ctx, IBindingKey p_binding)booleanhasValue(IBindingContext p_ctx, IBindingKey p_binding)Checks if an value can resolved by the given binding.booleanhasValue(de.uplanet.lucy.server.binding.IBindingTypeContext p_ctx, IBindingKey p_binding)Checks if an value can resolved by the given binding.booleanisValueAvailable(IBindingContext p_ctx, IBindingKey p_binding)Checks if an value can resolved by the given binding.booleanisValueAvailable(de.uplanet.lucy.server.binding.IBindingTypeContext p_ctx, IBindingKey p_binding)Checks if an value can resolved by the given binding.Optional<IIxValue>removeValue(IBindingContext p_ctx, IBindingKey p_binding)Removes a value for the given binding.Optional<IIxValue>setValue(IBindingContext p_ctx, IBindingKey p_binding, IIxValue p_value)Adds or changed a value for the given binding.
-
-
-
Field Detail
-
BEAN_NAME
static final String BEAN_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getValue
IIxValue getValue(IBindingContext p_ctx, IBindingKey p_binding)
- Parameters:
p_ctx- The binding context (notnull)p_binding- Tries to get the value. (notnull)- Returns:
- Returns the value or an empty value if no value found for the given binding.
-
isValueAvailable
boolean isValueAvailable(IBindingContext p_ctx, IBindingKey p_binding)
Checks if an value can resolved by the given binding. The value returned by thegetValue(IBindingContext, IBindingKey)could be empty (IIxValue.hasValue()== false).- Parameters:
p_ctx- The binding context (notnull).p_binding- The binding to check (notnull)- Returns:
- Returns
trueif a value for the given binding is available otherwisefalsewill returned.
-
hasValue
boolean hasValue(IBindingContext p_ctx, IBindingKey p_binding)
Checks if an value can resolved by the given binding. The value returned by thegetValue(IBindingContext, IBindingKey)not be empty (IIxValue.hasValue()== true).- Parameters:
p_ctx- The binding context (notnull).p_binding- The binding to check (notnull)- Returns:
- Returns
trueif a value for the given binding is available and not empty otherwisefalsewill returned.
-
getValue
IIxValue getValue(de.uplanet.lucy.server.binding.IBindingTypeContext p_ctx, IBindingKey p_binding)
- Parameters:
p_ctx- The binding context (notnull)p_binding- Tries to get the value. (notnull)- Returns:
- Returns the value or an empty value if no value found for the given binding.
-
isValueAvailable
boolean isValueAvailable(de.uplanet.lucy.server.binding.IBindingTypeContext p_ctx, IBindingKey p_binding)Checks if an value can resolved by the given binding. The value returned by thegetValue(IBindingContext, IBindingKey)could be empty (IIxValue.hasValue()== false).- Parameters:
p_ctx- The binding context (notnull).p_binding- The binding to check (notnull)- Returns:
- Returns
trueif a value for the given binding is available otherwisefalsewill returned.
-
hasValue
boolean hasValue(de.uplanet.lucy.server.binding.IBindingTypeContext p_ctx, IBindingKey p_binding)Checks if an value can resolved by the given binding. The value returned by thegetValue(IBindingContext, IBindingKey)could be empty (IIxValue.hasValue()== false).- Parameters:
p_ctx- The binding context (notnull).p_binding- The binding to check (notnull)- Returns:
- Returns
trueif a value for the given binding is available and not empty otherwisefalsewill returned.
-
setValue
Optional<IIxValue> setValue(IBindingContext p_ctx, IBindingKey p_binding, IIxValue p_value)
Adds or changed a value for the given binding. On a read only binding type a exception will be thrown on trying to change a value.- Parameters:
p_ctx- The binding context (notnull).p_binding- The binding (notnull)p_value- The physical value, that would be set/changed for the binding.- Returns:
- Returns the optional old physical value.
-
removeValue
Optional<IIxValue> removeValue(IBindingContext p_ctx, IBindingKey p_binding)
Removes a value for the given binding. On a read only binding type a exception will be thrown on trying to delete a existing value.- Parameters:
p_ctx- The binding context (notnull).p_binding- The binding (notnull)- Returns:
- Returns the optional old physical value.
-
getAppointmentBindingTypeProcessor
de.uplanet.lucy.server.binding.IAppointmentBindingTypeProcessor getAppointmentBindingTypeProcessor()
- Returns:
- Returns the appointment binding type processor (not
null).
-
getControlBindingTypeProcessor
de.uplanet.lucy.server.binding.IControlBindingTypeProcessor getControlBindingTypeProcessor()
- Returns:
- Returns the update control binding type processor (not
null).
-
getSystemPropertyBindingTypeProcessor
de.uplanet.lucy.server.binding.ISystemPropertyBindingTypeProcessor getSystemPropertyBindingTypeProcessor()
- Returns:
- Returns the system property binding type processor
-
getResourceBindingTypeProcessor
de.uplanet.lucy.server.binding.IResourceBindingTypeProcessor getResourceBindingTypeProcessor()
- Returns:
- Returns the resource binding type processor
-
getRequestBindingTypeProcessor
de.uplanet.lucy.server.binding.IRequestBindingTypeProcessor getRequestBindingTypeProcessor()
- Returns:
- Returns the request binding type processor
-
getSessionBindingTypeProcessor
de.uplanet.lucy.server.binding.ISessionBindingTypeProcessor getSessionBindingTypeProcessor()
- Returns:
- Returns the session binding type processor
-
getSharedStateBindingTypeProcessor
de.uplanet.lucy.server.binding.ISharedStateBindingTypeProcessor getSharedStateBindingTypeProcessor()
- Returns:
- Returns the shared state binding type processor
-
getUserBindingTypeProcessor
de.uplanet.lucy.server.binding.IUserBindingTypeProcessor getUserBindingTypeProcessor()
- Returns:
- Returns the user binding type processor
-
getStateBindingTypeProcessor
de.uplanet.lucy.server.binding.IStateBindingTypeProcessor getStateBindingTypeProcessor()
- Returns:
- Returns the state binding type processor
-
getTargetArgumentBindingTypeProcessor
de.uplanet.lucy.server.binding.ITargetArgumentBindingTypeProcessor getTargetArgumentBindingTypeProcessor()
- Returns:
- Returns the state binding type processor
-
getRtCache
de.uplanet.lucy.server.rtcache.IRtCache getRtCache()
- Returns:
- Returns the RTCache instance (not
null)
-
getContainerBindingTypeProcessor
de.uplanet.lucy.server.binding.IContainerBindingTypeProcessor getContainerBindingTypeProcessor()
- Returns:
- Returns the read container type processor (not
null)
-
canValueBindEarly
boolean canValueBindEarly(IBindingKey p_binding)
- Parameters:
p_binding- The binding to check (notnull)- Returns:
- Returns
trueif the given binding can be used for early binding otherwisefalse.
-
canValueBindLate
boolean canValueBindLate(IBindingKey p_binding)
- Parameters:
p_binding- The binding to check (notnull)- Returns:
- Returns
trueif the given binding can be used for a late binding otherwisefalse.
-
getBindingTypeProcessor
de.uplanet.lucy.server.binding.IBindingTypeProcessor getBindingTypeProcessor(IBindingKey p_binding)
- Parameters:
p_binding- Tries to get the value. (notnull)- Returns:
- The binding type processor.
-
-