Interface ILcdWFSLockFactory


public interface ILcdWFSLockFactory
A factory class which can be used to create locks for a WFS-T server.
Since:
10.0
See Also:
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    default boolean
    If a valid ALcdWFSLock can be created for the request associated with aContext.
    createLock(long aExpiry)
    Creates a lock which expires after aExpiry seconds.
  • Method Details Link icon

    • createLock Link icon

      ALcdWFSLock createLock(long aExpiry)
      Creates a lock which expires after aExpiry seconds. The id and expiry of the lock will be set after the creation of the lock by this factory.
      Parameters:
      aExpiry - a valid expiry in seconds.
      Returns:
      a valid lock.
    • canCreateLock Link icon

      default boolean canCreateLock(TLcdWFSRequestContext aContext)
      If a valid ALcdWFSLock can be created for the request associated with aContext. This can depend on if locking is enabled or not for a service. The default implementation always returns true.
      Parameters:
      aContext - A context object containing information about the request for which the handler should be created.
      Returns:
      If a valid ALcdWFSLock that can be created for the request associated with aContext.
      Since:
      2024.1