Class DatabaseActionActor.Settings

All Implemented Interfaces:
EventListener, IGProp<GProp<?>[]>, IPropCnr, IActionActorSettings, Cloneable
Direct Known Subclasses:
EditorDatabaseActionActor.Settings
Enclosing class:
DatabaseActionActor

public static class DatabaseActionActor.Settings extends AbstractSettings
Settings property container.
  • Constructor Details

    • Settings

      public Settings()
      Creates the settings without name.
    • Settings

      public Settings(Atom propertyAtom)
      Creates the settings with specified name.
      Parameters:
      propertyAtom - the property atom.
  • Method Details

    • createActor

      protected IActionActor<DatabaseActionActor.Settings> createActor(VSAction action)
      Create the instance of the action actor.
      Specified by:
      createActor in class AbstractSettings
      Parameters:
      action - The action instance.
      Returns:
      The new action actor implementation instance.
    • doesModifyVirtualSpace

      public boolean doesModifyVirtualSpace(VSAction action)
      Checks if the VirtualSpace is modified by the Action Actor.
      Overrides:
      doesModifyVirtualSpace in class AbstractSettings
      Parameters:
      action - The action in question, perhaps null. If the action is null, it is assumed that the actor could be connected to multiple actions and should therefore return the "worst" scenario, i.e. that it does modify the VS.
      Returns:
      true if any field in the VS is modified (excludes focus). For Database Action actor this is always true.
    • getDatabaseTransactionReference

      public DatabaseTransactionReference getDatabaseTransactionReference()
      Gets the database properties that will be used to execute the transaction.
      Returns:
      The database properties, or null if not found.
    • getDatabaseProps

      public DatabaseProps getDatabaseProps()
      Gets the database properties that will be used to execute the transaction.
      Returns:
      The database properties, or null if not found.