public interface Sampleable extends EntityProvider
Map, etc.EntityProvider interface| Modifier and Type | Method and Description |
|---|---|
Object |
getSampleEntity()
Provides a sample entity object which can be populated with data and then passed to
methods like
Createable.createEntity(EntityReference, Object, java.util.Map),
this is necessary so that the type of the entity object is known and the right fields can
be pre-filled, it also allows us to support the case of different read and write objects
Note: The entity class type needs to be able to be resolved from the ClassLoader of the
EntityBroker (currently this means deployed into shared) |
getEntityPrefixObject getSampleEntity()
Createable.createEntity(EntityReference, Object, java.util.Map),
this is necessary so that the type of the entity object is known and the right fields can
be pre-filled, it also allows us to support the case of different read and write objects
Note: The entity class type needs to be able to be resolved from the ClassLoader of the
EntityBroker (currently this means deployed into shared) IllegalStateException - if the sample object cannot be obtained for some reasonCopyright © 2003–2021 Sakai Project. All rights reserved.