public interface DomainObjectServices extends Injectable
| Modifier and Type | Method and Description |
|---|---|
org.apache.isis.applib.services.bookmark.Bookmark |
bookmarkFor(Class<?> cls,
String identifier) |
org.apache.isis.applib.services.bookmark.Bookmark |
bookmarkFor(Object domainObject) |
void |
commit()
Provided by TransactionManager when used by framework.
|
ObjectAdapter |
createAggregatedInstance(ObjectSpecification spec,
ObjectAdapter parent)
Create an instance of an aggregated object that will be persisted within the
parent adapter.
|
ObjectAdapter |
createTransientInstance(ObjectSpecification spec)
Provided by the PersistenceSession when used by framework.
|
ObjectAdapter |
createViewModelInstance(ObjectSpecification spec,
String memento) |
boolean |
flush()
Provided by TransactionManager when used by framework.
|
String |
getProperty(String name)
Provided by
RuntimeContextAbstract itself, cloned properties from
IsisConfiguration. |
List<String> |
getPropertyNames()
Provided by
RuntimeContextAbstract itself, cloned properties from
IsisConfiguration. |
void |
informUser(String message)
Provided by MessageBroker when used by framework.
|
void |
injectServicesInto(Object domainObject) |
Object |
lookup(org.apache.isis.applib.services.bookmark.Bookmark bookmark)
Provided by PersistenceSession when used by framework.
|
void |
raiseError(String message)
Provided by MessageBroker when used by framework.
|
void |
resolve(Object parent)
Provided by PersistenceSession when used by framework.
|
void |
resolve(Object parent,
Object field)
Provided by PersistenceSession when used by framework.
|
void |
warnUser(String message)
Provided by MessageBroker when used by framework.
|
injectIntoObjectAdapter createTransientInstance(ObjectSpecification spec)
Called by DomainObjectContainerDefault.
ObjectAdapter createViewModelInstance(ObjectSpecification spec, String memento)
ObjectAdapter createAggregatedInstance(ObjectSpecification spec, ObjectAdapter parent)
The Oid of the returned adapter will be of type
AggregatedOid. The oid's localId
is generated as per the configured objectstore (OidGenerator).
Called by DomainObjectContainerDefault.
void injectServicesInto(Object domainObject)
void resolve(Object parent)
Called by DomainObjectContainerDefault.
void resolve(Object parent, Object field)
Called by DomainObjectContainerDefault.
Object lookup(org.apache.isis.applib.services.bookmark.Bookmark bookmark)
Called by BookmarkServicesDefault.
org.apache.isis.applib.services.bookmark.Bookmark bookmarkFor(Object domainObject)
org.apache.isis.applib.services.bookmark.Bookmark bookmarkFor(Class<?> cls, String identifier)
boolean flush()
Called by DomainObjectContainerDefault.
void commit()
Called by DomainObjectContainerDefault.
void informUser(String message)
Called by DomainObjectContainerDefault.
void warnUser(String message)
Called by DomainObjectContainerDefault.
void raiseError(String message)
Called by DomainObjectContainerDefault.
String getProperty(String name)
RuntimeContextAbstract itself, cloned properties from
IsisConfiguration.
Called by DomainObjectContainerDefault.
List<String> getPropertyNames()
RuntimeContextAbstract itself, cloned properties from
IsisConfiguration.
Called by DomainObjectContainerDefault.
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.