Uses of Interface
it.tidalwave.role.ui.PresentationModel
-
Packages that use PresentationModel Package Description it.tidalwave.role.ui it.tidalwave.role.ui.spi -
-
Uses of PresentationModel in it.tidalwave.role.ui
Fields in it.tidalwave.role.ui with type parameters of type PresentationModel Modifier and Type Field Description static As.Type<SimpleComposite<PresentationModel>>
PresentationModel. _SimpleCompositeOfPresentationModel_
static java.lang.Class<PresentationModel>
PresentationModel. PresentationModel
Methods in it.tidalwave.role.ui that return PresentationModel Modifier and Type Method Description default PresentationModel
Presentable. createPresentationModel()
Creates aPresentationModel
.default PresentationModel
Presentable. createPresentationModel(java.lang.Object instanceRole)
Creates aPresentationModel
with a single role.PresentationModel
Presentable. createPresentationModel(java.util.Collection<java.lang.Object> instanceRoles)
Creates aPresentationModel
with some roles.default PresentationModel
PresentationModelFactory. createPresentationModel(java.lang.Object datum)
Creates a new instance ofPresentationModel
.PresentationModel
PresentationModelFactory. createPresentationModel(java.lang.Object datum, java.util.Collection<java.lang.Object> roles)
Creates a new instance ofPresentationModel
with some roles or role factories.static PresentationModel
PresentationModel. empty()
Returns an empty instance (no roles, with the exception of a dummyDisplayable
).static PresentationModel
PresentationModel. of(java.lang.Object owner)
Creates an instance given an owner and no roles.static PresentationModel
PresentationModel. of(java.lang.Object owner, java.lang.Object role)
Creates an instance given an owner and a single role.static PresentationModel
PresentationModel. of(java.lang.Object owner, java.util.Collection<java.lang.Object> roles)
Creates an instance given an owner and multiple roles.static PresentationModel
PresentationModel. ofMaybePresentable(As owner)
Creates an instance from an owner which might have thePresentable
role.static PresentationModel
PresentationModel. ofMaybePresentable(As owner, java.util.Collection<java.lang.Object> roles)
Creates an instance from an owner which might have thePresentable
role.Methods in it.tidalwave.role.ui that return types with arguments of type PresentationModel Modifier and Type Method Description java.util.Optional<PresentationModel>
PresentationModelAggregate. getByName(java.lang.String name)
Returns an object given its name. -
Uses of PresentationModel in it.tidalwave.role.ui.spi
Methods in it.tidalwave.role.ui.spi that return PresentationModel Modifier and Type Method Description PresentationModel
DefaultPresentationModelFactory. createPresentationModel(java.lang.Object owner, java.util.Collection<java.lang.Object> localRoles)
Creates a new instance ofPresentationModel
with some roles or role factories.PresentationModel
SimpleCompositePresentable. createPresentationModel(java.util.Collection<java.lang.Object> roles)
Creates aPresentationModel
with some roles.static <T extends As>
PresentationModelPresentationModelCollectors. toCompositePresentationModel(java.lang.Iterable<? extends T> i, java.util.function.Function<? super T,java.lang.Object> roleCreator)
A facility method that creates a compositePresentationModel
out of an iterable (which means an array, a collection or a stream) of objects implementingAs
.static <T extends As>
PresentationModelPresentationModelCollectors. toCompositePresentationModel(java.lang.Iterable<T> i)
A facility simplified version ofPresentationModelCollectors.toCompositePresentationModel(java.lang.Iterable, java.util.function.Function)
.Methods in it.tidalwave.role.ui.spi that return types with arguments of type PresentationModel Modifier and Type Method Description java.util.function.Function<java.util.List<PresentationModel>,PresentationModel>
PresentationModelCollectors. finisher()
java.util.function.Function<java.util.List<PresentationModel>,PresentationModel>
PresentationModelCollectors. finisher()
-