Interface VirAttrHandler
-
- All Known Implementing Classes:
DefaultVirAttrHandler
public interface VirAttrHandler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<VirSchema,List<String>>
getValues(Any<?> any)
Query external resources (or cache, if configured) associated to the given any for values associated to allVirSchema
instances in theAnyTypeClass
associated to the given any, with no membership.Map<VirSchema,List<String>>
getValues(Any<?> any, Membership<?> membership)
Query external resources (or cache, if configured) associated to the given any for values associated to allVirSchema
instances in theAnyTypeClass
associated to the given any, for the given membership.List<String>
getValues(Any<?> any, Membership<?> membership, VirSchema schema)
Query external resource (or cache, if configured) associated to the given any for values associated to the given virtual schema, for the given membership.List<String>
getValues(Any<?> any, VirSchema schema)
Query external resource (or cache, if configured) associated to the given any for values associated to the given virtual schema, not related to any membership.void
setValues(Any<?> any, ConnectorObject connObj)
Updates cache with values from external resource.
-
-
-
Method Detail
-
setValues
void setValues(Any<?> any, ConnectorObject connObj)
Updates cache with values from external resource.- Parameters:
any
- any objectconnObj
- connector object from external resource
-
getValues
List<String> getValues(Any<?> any, VirSchema schema)
Query external resource (or cache, if configured) associated to the given any for values associated to the given virtual schema, not related to any membership.- Parameters:
any
- any objectschema
- virtual schema- Returns:
- virtual attribute values, either for local cache or external resource, if resource is owned by the given any and associated to the given virtual schema; empty list otherwise.
-
getValues
List<String> getValues(Any<?> any, Membership<?> membership, VirSchema schema)
Query external resource (or cache, if configured) associated to the given any for values associated to the given virtual schema, for the given membership.- Parameters:
any
- any objectmembership
- membershipschema
- virtual schema- Returns:
- virtual attribute values, either for local cache or external resource, if resource is owned by the given any and associated to the given virtual schema; empty list otherwise.
-
getValues
Map<VirSchema,List<String>> getValues(Any<?> any)
Query external resources (or cache, if configured) associated to the given any for values associated to allVirSchema
instances in theAnyTypeClass
associated to the given any, with no membership.- Parameters:
any
- any object- Returns:
- virtual attribute values, either for local cache or external resources
-
getValues
Map<VirSchema,List<String>> getValues(Any<?> any, Membership<?> membership)
Query external resources (or cache, if configured) associated to the given any for values associated to allVirSchema
instances in theAnyTypeClass
associated to the given any, for the given membership.- Parameters:
any
- any objectmembership
- membership- Returns:
- virtual attribute values, either for local cache or external resources
-
-