Clone Tools
  • last updated 17 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ISIS-1344: reinstating the TransactionClosureXxxAbstract adapter classes ... otherwise these break isis addons security module, for example.

    • -0
    • +25
    ./TransactionalClosureAbstract.java
    • -0
    • +25
    ./TransactionalClosureWithReturnAbstract.java
ISIS-1344: deleting some unused exception classes and deprecated adapter classes, part of runtime/system/transaction

    • -43
    • +0
    ./IsisTransactionManagerCommitException.java
    • -43
    • +0
    ./IsisTransactionManagerDomCallbackException.java
    • -43
    • +0
    ./IsisTransactionManagerResourceCommitException.java
    • -30
    • +0
    ./TransactionalClosureAbstract.java
    • -30
    • +0
    ./TransactionalClosureWithReturnAbstract.java
ISIS-1344: removing the WrapTransaction facets, and from that also the entire FacetDecorator infrastructure since is no longer required.

  1. … 35 more files in changeset.
ISIS-1291: partially reverting the introduction of a SequenceName... no need after all to add to EventMetadata, because there is only one reason for subactions to occur. Also moved the SequenceName enum out from EventMetadata and into Command interface.

  1. … 4 more files in changeset.
ISIS-1291: introduce enum for sequenceName (for newEventMetadata); minor moving around of methods/extract methods refactoring of newEventMetadata within IsisTransaction.

  1. … 2 more files in changeset.
ISIS-1372: factor out newEventMetadata helper in IsisTransaction.

ISIS-1368: added new PublishingService2 API. Also updated documentation.

  1. … 4 more files in changeset.
ISIS-1318: deleting commented out code in IsisTransaction

ISIS-1318: flush any pending actions to be published as the result of doing a wrapped action via the WrapperFactory.

  1. … 2 more files in changeset.
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.