ISIS-14: removing unused ResolveStates

git-svn-id: https://svn.apache.org/repos/asf/incubator/isis/trunk@1359393 13f79535-47bb-0310-9956-ffa450edef68
Further simplifying refactorings to ResolveState

git-svn-id: https://svn.apache.org/repos/asf/incubator/isis/trunk@1359401 13f79535-47bb-0310-9956-ffa450edef68
deleting redundant test (omitted accidentally from previous commit)

git-svn-id: https://svn.apache.org/repos/asf/incubator/isis/trunk@1359402 13f79535-47bb-0310-9956-ffa450edef68
ISIS-14: ResolveState simplifications; combining SERIALIZING_TRANSIENT with TRANSIENT.

git-svn-id: https://svn.apache.org/repos/asf/incubator/isis/trunk@1359404 13f79535-47bb-0310-9956-ffa450edef68
ISIS-14: ResolveState simplifications - combined representsTransient with isTransient (since now only a single state can ever 'represent transient')

git-svn-id: https://svn.apache.org/repos/asf/incubator/isis/trunk@1359407 13f79535-47bb-0310-9956-ffa450edef68
ISIS-14: ResolveState simplifications

PojoAdapter.canTransitionTo(ResolveState) only ever called for Resolving, so renamed and removed parameter; changed Memento to set state to Resolving rather than Updating, no adverse effects, on the way to (hopefully) merging these two states.

git-svn-id: https://svn.apache.org/repos/asf/incubator/isis/trunk@1359408 13f79535-47bb-0310-9956-ffa450edef68
ISIS-14: ResolveState refactorings

Renamed PojoAdapter#isPersistent -> #representsPersistent (to reflect intent)
Renamed ResolveState#representsTransient -> #isTransient (since there is now only one such state)
Working towards removing ResolveState from the ObjectAdapter API: Introduced aggregateResolveState as non-API method for PojoAdapter,
Removed ResolveState from Data hierarchy (memento), since apparently not required.

git-svn-id: https://svn.apache.org/repos/asf/incubator/isis/trunk@1359414 13f79535-47bb-0310-9956-ffa450edef68
ISIS-14: ResolveState refactoring (working on Memento)

Changing the Memento rehydration logic, to see if can resolve aggregated adapters to RESOLVING (like everywhere else) instead of GHOST.  Seems to work (no tests fail...)

git-svn-id: https://svn.apache.org/repos/asf/incubator/isis/trunk@1359415 13f79535-47bb-0310-9956-ffa450edef68
ISIS-14: ResolveState refactorings (more on Memento)

Moving the place where the determination of the target ResolveState is further down the stack;
also, assumed that the adapter being rehydrated is not in a NEW state (think this is safe to assume).

git-svn-id: https://svn.apache.org/repos/asf/incubator/isis/trunk@1359416 13f79535-47bb-0310-9956-ffa450edef68
ISIS-14: ResolveState refactorings (PersistorUtil.startStateTransition)

Renamed PersistorUtil#startStateTransition -> #startResolving (since only ever called with Resolving state)
Renamed PersistorUtil#endStateTransition -> #endResolving (similarly)
Simplified SQL OS internals, removing the "markAsResolved" boolean in various methods since is always set to true
Put calls to PersistorUtil#start/end in try...finally block since should be 'transactional'.

git-svn-id: https://svn.apache.org/repos/asf/incubator/isis/trunk@1359418 13f79535-47bb-0310-9956-ffa450edef68
Merge remote-tracking branch 'bitbucket/master'