Clone Tools
  • last updated 29 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ISIS-1318: further fix to allow publishing of wrapped actions

previously was using the action identifier obtained from the command, however the command only ever holds the details of the outermost action.

  1. … 3 more files in changeset.
ISIS-1222: inject services into Command objects once created by CommandService

ISIS-830: suppress the postEvent for Command object (special case, otherwise catch-22 situation).

  1. … 4 more files in changeset.
ISIS-830: introduced new ObjectXxxEvent into applib, also AbstractLifecycleEvent superclass, updated PersistenceSession to call these events.

also:

- fixed toString for AbstractDomainEvent

- factored out internal interfaces for the interactions between:

- PersistenceSession and IsisLifecycleListener2

- PersistenceSession and IsisTransactionManager

- PersistenceSession and PersistenceQueryProcessorAbstract implementations

  1. … 17 more files in changeset.
ISIS-1194: making the ApplicationScopedComponent, SessionScopedComponent into marker interfaces.

  1. … 32 more files in changeset.
ISIS-1194: moving application-scoped components to RuntimeContextAbstract superclass; IsisTransaction simplifications

- IsisConfigurationDefault now implements ConfigurationService (and using IsisConfigurationDefault concrete class rather than interface where necessary)

- RuntimeContext implementations now require a ServiceInjector, and default the deployment category and configuration; these are set up and immutable for the runtime context

- meaning that RuntimeContext no longer is ServiceInjectorAware.

also:

- IsisTransaction passed through the PersistenceSession (rather than obtain from IsisContext)

  1. … 20 more files in changeset.
ISIS-1194: removing getAdapterFor() from PersistenceSession (can return itself instead)

also:

- in RuntimeContextForSession, the allMatchingQuery and firstMatchingQuery call the corresponding methods within PersistenceSession

- lexically moved findInstancesInTransaction within PersistenceSession, and made rivate

- lexically moved addCreateObjectCommand within PersistenceSession

- new getAggregateRoot(ParentCollectionOid), pulling together a sequence of calls made by PojoAdapter#getAggregateRoot

- more on the removable of Resettable interface

  1. … 37 more files in changeset.
ISIS-1194: reverting the move of AdapterManager and AdapterManagerAware, as unnecessarily breaks addons (devutils)

  1. … 144 more files in changeset.
ISIS-1194: moving AdapterManager interface to same package as other "runtimecontext" interfaces

  1. … 144 more files in changeset.
ISIS-1194: reinstating deleted classes, for backward compatibility. Also removing stale javadoc references to deleted ObjectStore class.

    • -0
    • +30
    ./TransactionalClosureAbstract.java
    • -0
    • +30
    ./TransactionalClosureWithReturnAbstract.java
  1. … 1 more file in changeset.
ISIS-1194: moved isFixturesInstalled and transaction management stuff from ObjectStore to PersistenceSession

  1. … 7 more files in changeset.
ISIS-1194: removing TransactionalClosureAbstract and TransactionalClosureWithReturnAbstract adapter classes, since neither do anything (just use interface directly).

    • -25
    • +0
    ./TransactionalClosureAbstract.java
    • -30
    • +0
    ./TransactionalClosureWithReturnAbstract.java
  1. … 10 more files in changeset.
ISIS-1194: removed pre and post hooks for TransactionClosure and TransactionClosureWithReturn, since none is used.

    • -24
    • +0
    ./TransactionalClosureAbstract.java
    • -19
    • +0
    ./TransactionalClosureWithReturnAbstract.java
  1. … 1 more file in changeset.
ISIS-1194: working towards combining ObjectStore and PersistenceSession...

... moved execute(commandList) from ObjectStore to PersistenceSession

  1. … 5 more files in changeset.
ISIS-1194: combined OidGenerator and IdentifierGenerator

also:

- pass dependencies into ObjectFactory and to OidGenerator so that they don't need to use IsisContext#getXxx()

- involves passing some components through to PersistenceSession.

  1. … 8 more files in changeset.
ISIS-1194: removing ResolveState, derived persistence state from underlying pojo.

  1. … 32 more files in changeset.
ISIS-1194: removing DirtyFacet and supporting code.

  1. … 38 more files in changeset.
ISIS-1194: rationalizing RuntimeContext - introducing TransactionStateProvider

... cf DeploymentCategoryProvider and AuthenticationSessionProvider etc.

  1. … 14 more files in changeset.
ISIS-1044: adding interactionInitiatedBy as param to all interactions with metamodel members.

- renamed/repurposed InvocationInteractionMethod

also:

- added new RendererContext4 to provide access to this info

- removed AuthenticationSession/DeploymentCategory as parameters to ObjectMember calls (since are injected)

- call with InteractionInitiatedBy.USER for Wicket UI, Restful Objects server, WrapperFactory proxy when executionMode == enforce_rules

- call with InteractionInitiatedBy.FRAMEWORK for Memento, Auditing, XmlSnapshot, Dump, DomainObjectContainer#validate(), Title context, RecreatableObjectFacet (ie view models) and WrapperFactory proxy when executionMode != enforce_rules

Still to do:

- remove the ThreadLocal accessed by ObjectAdapter.Util#isVisible()

- should inject AuthenticationSessionProvider and DeploymentCategoryProvider into all facet factories, so can then propogate into Facet impls and not have to pass in as parameters

- should write MetaModelValidator to disallow previous use of the old InteractionInvocationMethod (ProgramPersistable interface etc, ie NotPersistableFacet implementations).

- remove DeploymentCategory, AuthenticationSession from the InteractionContext class hierarchy and also ParseValueContext

  1. … 160 more files in changeset.
ISIS-1194: removing SaveObjectCommand since only one impl which is a no-op.

  1. … 8 more files in changeset.
ISIS-1157: simplified design for SAFE_AND_REQUEST_CACHEABLE.

Instead add the caching to ActionInvocationFacetForDomainEventAbstract. No need for a new facet, just use the value of ActionSemanticsFacet.

Also:

- introduce new #isSafeInNature() to the SemanticsOf enum (also the deprecated equivalent ActionSemantics enum), which incorporates both #SAFE and #SAFE_AND_REQUEST_CACHEABLE

- go through codebase and change any hardcoded comparisons with SemanticsOf.SAFE (also the deprecated equivalent ActionSemantics enum) to use SemanticsOf#isSafeInNature() instead

- whether an action is bookmarkable

- whether concurrency checking should be performed

- a couple of uses in Restful Objects

- deprecate old #isSafe() method, since is potentially confusing

  1. … 15 more files in changeset.
ISIS-1154: also include return type for publishing service event metadata; fix for parameter types/names (were null)

  1. … 2 more files in changeset.
ISIS-1154: adding parameter names/types to PublishingService's EventMetadata and also ActionDomainEvent.

  1. … 8 more files in changeset.
ISIS-1100: improving algorithm for preCommit capture of audit pre/post values; making the refactored algorithm for flushing persistence commands more efficient.

in addition:

- updating comments only in DataNucleusObjectStore

  1. … 1 more file in changeset.
ISIS-1100: improvement to algorithm for flushing transaction.

  1. … 1 more file in changeset.
ISIS-1065: ensure all properties are audited when object updated using edit properties form.

ISIS-1041: fix for auditing, was causing duplicate (xactn/oid/property to be logged in a single transaction.

ISIS-970: IsisTransaction should use new Command3 interface

... consistently throughout

ISIS-970: consolidating processing into DomainObjectAnnotationFacetFactory, ActionAnnotationFF, PropertyAnnotationFF, CollectionAnnotationFF

Also:

- renamed XxxInteractionFacet to XxxDomainEventFacet throughout.

  1. … 220 more files in changeset.
ISIS-970: changing 'interaction' to 'domainEvent', with...

... corresponding new XxxDomainEvent classes deprecating XxxInteractionEvent

  1. … 67 more files in changeset.