Clone Tools
  • last updated 20 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ISIS-2340: cleaning up ManagedObject class (move utilities) (2)

    • -1
    • +2
    ./PropertySetterFacetViaModifyMethod.java
    • -1
    • +2
    ./PropertySetterFacetViaSetterMethod.java
  1. … 51 more files in changeset.
ISIS-2263: bump schema XSDs to v2/2.0

  1. … 271 more files in changeset.
ISIS-2259: fixes up package name of isis-core-metamodel

    • -0
    • +51
    ./PropertySetterFacet.java
    • -0
    • +35
    ./PropertySetterFacetAbstract.java
    • -0
    • +81
    ./PropertySetterFacetViaModifyMethod.java
    • -0
    • +76
    ./PropertySetterFacetViaSetterMethod.java
  1. … 3162 more files in changeset.
ISIS-2126 aligning most pkg names for module 'metamodel'

- o.a.i.core.metamodel.* -> o.a.i.metamodel.*

    • -81
    • +0
    ./PropertySetterFacetViaModifyMethod.java
    • -75
    • +0
    ./PropertySetterFacetViaSetterMethod.java
  1. … 3138 more files in changeset.
adds FacetWithAttributes interface

makes existing facets implement

    • -0
    • +5
    ./PropertySetterFacetViaModifyMethod.java
    • -0
    • +6
    ./PropertySetterFacetViaSetterMethod.java
  1. … 160 more files in changeset.
ISIS-1841 automated source cleanup

Add missing '@Override' annotations

Remove trailing white spaces on all lines

Correct indentation

  1. … 1410 more files in changeset.
ISIS-1398: moving the command stuff to PropertySetter/ClearFacetForDomainEventAbstract, and out of the wrapped original PropertySetterFacet or PropertyClearFacet.

Also:

- remove DomainEventHelper#hasEventBusService() since will always return true

    • -70
    • +6
    ./PropertySetterFacetViaModifyMethod.java
    • -1
    • +2
    ./PropertySetterFacetViaSetterMethod.java
  1. … 19 more files in changeset.
ISIS-1370: construct the aimDto before calling PublisherService. Also refactoring property setter facet and OneToOneAssociation to follow the same general structure as for action invocations, in particular for the set up of Command objects.

    • -17
    • +21
    ./PropertySetterFacetViaModifyMethod.java
    • -1
    • +2
    ./PropertySetterFacetViaSetterMethod.java
  1. … 17 more files in changeset.
ISIS-1389: extending the new Interaction (in applib) to capture args and provide a callable to be executed.

    • -7
    • +14
    ./PropertySetterFacetViaModifyMethod.java
  1. … 2 more files in changeset.
ISIS-1389: InteractionContext service now also being populated to capture invocation memento

    • -3
    • +16
    ./PropertySetterFacetViaModifyMethod.java
  1. … 10 more files in changeset.
ISIS-1390: default CommandServiceDefault. Also simplifying the relationship between IsisTransaction and Command, and how the Command object is initialized.

Also:

... deprecating CommandService#startTransaction(...), make it the responsibility of IsisTransactionManager to populate the transactionId of the Command in all cases.

... simplifying logic in IsisTransaction; the Command is only just created, so will never have a transactionId to reuse. The design is now simply for the IsisTransactionManager to create a new UUID and set on both the Command and also pass into IsisTransaction.

... extend IsisTranscationManager's executeWithTransaction to allow an existing Command to be passed in; leverage this from BackgroundCommandExecution.

Also:

... use ClockService to obtain the time, rather than Clock singleton (for Command#setTimestamp, also Command#setStartedAt,

... make lookup of mandatory services fail-fast if not present (PropertySetterFacet, ActionInvocationFacet, IsisTransactionManager, IsisTransaction)

... minor alterations to visibility of DomainObjectJdoAbstract properties in tables.

    • -10
    • +19
    ./PropertySetterFacetViaModifyMethod.java
  1. … 10 more files in changeset.
ISIS-1374: moved setupXxx functionality out of ActionInvocationFacet, and into ObjectActionDefault. Removed duplication with ObjectActionMixedIn and ObjectActionContributee.

Also:

- removed unnecessary guards for CommandContext or Command being null (they never will)

- removed (after all) the idea of CommandMento

    • -14
    • +22
    ./PropertySetterFacetViaModifyMethod.java
  1. … 7 more files in changeset.
ISIS-1291: memento xsd schemas + utils; new command memento DTO for Command#memento, updated background service, background execution; new PublisherService

specifically:

- deleted aim-1.0.xsd, added in aim-2.0.xsd, also cmd-1.0.xsd and updated common-1.0.xsd.

- Updated ActionMementoDtoUtils new CommandMementoDtoUtils and CommandDtoUtils

- moved CommandMementoService to internal SPI, added asCommandMemento, depends on ObjectAction (in order to handle mixin types) and also works on lists of objects (for bulk command/actions)

- ActionInvocationFacet populates the Command#setMemento using CommandMementoDto (legacy behaviour preserved)

    • -2
    • +2
    ./PropertySetterFacetViaModifyMethod.java
  1. … 26 more files in changeset.
ISIS-1372: extending EventMetadata with a sequenceName, in preparation to CommandMementoService creating different sequences of events (published event, wrapped event, background commands).

Also updated javadoc for Command, and created a constant "(edit)" which is the value of Command#getTargetAction() for property edits.

    • -2
    • +2
    ./PropertySetterFacetViaModifyMethod.java
  1. … 3 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
    • +5
    ./PropertySetterFacetViaModifyMethod.java
    • -1
    • +5
    ./PropertySetterFacetViaSetterMethod.java
  1. … 158 more files in changeset.
ISIS-1194: removing ImperativeFacet#impliesObjectChanged and #impliesResolve

    • -10
    • +0
    ./PropertySetterFacetViaModifyMethod.java
    • -10
    • +0
    ./PropertySetterFacetViaSetterMethod.java
  1. … 50 more files in changeset.
ISIS-940: move setting up of the Command object from Wicket code and into core (so should work for Restful viewer also).

    • -4
    • +36
    ./PropertySetterFacetViaModifyMethod.java
  1. … 5 more files in changeset.
ISIS-831: property and collection interactions stuff more or less there...

    • -2
    • +1
    ./PropertySetterFacetViaModifyMethod.java
    • -2
    • +1
    ./PropertySetterFacetViaSetterMethod.java
  1. … 147 more files in changeset.
ISIS-831: digression: moving progmodel/facets into metamodel/facets

... and getting names consistent.

    • -0
    • +43
    ./PropertySetterFacet.java
    • -0
    • +35
    ./PropertySetterFacetAbstract.java
    • -0
    • +74
    ./PropertySetterFacetViaModifyMethod.java
    • -0
    • +74
    ./PropertySetterFacetViaSetterMethod.java
  1. … 1821 more files in changeset.