Class Client

java.lang.Object
org.apache.cayenne.PersistentObject
org.apache.cayenne.BaseDataObject
org.apache.cayenne.CayenneDataObject
All Implemented Interfaces:
IEntity, Auditable, Serializable, org.apache.cayenne.DataObject, org.apache.cayenne.Persistent, org.apache.cayenne.Validating

@CacheGroups("CONFIG") public class Client extends _Client implements Auditable
Provides a client (or organization) entity. Other entities (such as forms) are often associated with a specific client.
See Also:
  • Field Details

    • KEYSTORE_ROLLOVER_ANNUALLY

      public static final String KEYSTORE_ROLLOVER_ANNUALLY
      The 'Annually' keystore rollover policy.
      See Also:
    • KEYSTORE_ROLLOVER_MONTHLY

      public static final String KEYSTORE_ROLLOVER_MONTHLY
      The 'Monthly' keystore rollover policy.
      See Also:
    • KEYSTORE_ROLLOVER_WEEKLY

      public static final String KEYSTORE_ROLLOVER_WEEKLY
      The 'Weekly' keystore rollover policy.
      See Also:
    • KEYSTORE_ROLLOVER_DAILY

      public static final String KEYSTORE_ROLLOVER_DAILY
      The 'Daily' keystore rollover policy.
      See Also:
    • KEYSTORE_ROLLOVER_POLICIES

      public static final String[] KEYSTORE_ROLLOVER_POLICIES
      The keystore rollover policies.
    • TM_MONITOR_CLIENT_CODE

      public static final String TM_MONITOR_CLIENT_CODE
      The TM Server Monitor client code.
      See Also:
  • Constructor Details

    • Client

      public Client()
  • Method Details

    • isActive

      public boolean isActive()
      Return whether the client is active
      Returns:
      true if the client is active
    • hasAccessToPortal

      public boolean hasAccessToPortal(Portal portal)
      Return whether the client has access to the given portal
      Parameters:
      portal - the portal (required)
      Returns:
      true if the client has been assigned the given portal
    • getDefaultDeliveryDetails

      public DeliveryDetails getDefaultDeliveryDetails()
      Return the default delivery details for the client, or null if not defined.
      Returns:
      the default delivery details for the client, or null if not defined
      Since:
      4.0.0
    • getClientPortal

      public ClientPortal getClientPortal(Portal portal)
      Return the client portal for the given portal.
      Parameters:
      portal - the portal (required)
      Returns:
      the client portal, or null if the client is not associated with the portal
      Since:
      19.5.0
    • setJobAbandonmentBasedOnClient

      public boolean setJobAbandonmentBasedOnClient(Job job)
      Return the whether the job abandonment date is set based on associated client's job abandon age.
      Parameters:
      job - the job (required)
      Returns:
      true if the job's abandonment date is set based on the client's job abandon age.
      Since:
      22.4.0