Class AssociatedWritePermissions

java.lang.Object
com.kingsrook.qqq.backend.core.actions.permissions.AssociatedWritePermissions

public final class AssociatedWritePermissions extends Object
Preflight the association writes requested by HTTP before changing the parent. Omitted members of a named relationship require DELETE even when record locks hide them. Key-only discovery is internal; actual DML retains its locks.
  • Method Details

    • check

      public static void check(InsertInput input) throws QException
      The caller has already authorized INSERT on the parent table.
      Throws:
      QException
    • checkWithFieldSecurityLocks

      public static void checkWithFieldSecurityLocks(InsertInput input) throws QException
      As check, also rejecting child records that write fields denied to the session by a FieldSecurityLock (used by the core actions when enforcing).
      Throws:
      QException
    • check

      public static void check(UpdateInput input) throws QException
      The caller has already authorized EDIT on the parent table.
      Throws:
      QException
    • checkWithFieldSecurityLocks

      public static void checkWithFieldSecurityLocks(UpdateInput input) throws QException
      As check, also rejecting child records that write fields denied to the session by a FieldSecurityLock (used by the core actions when enforcing).
      Throws:
      QException
    • check

      public static void check(DeleteInput input) throws QException
      The caller has already authorized DELETE on the parent table.
      Throws:
      QException
    • checkWithFieldSecurityLocks

      public static void checkWithFieldSecurityLocks(DeleteInput input) throws QException
      As check, also rejecting child records that write fields denied to the session by a FieldSecurityLock (used by the core actions when enforcing).
      Throws:
      QException