Class Client

  • 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:
    Serialized Form
    • Field Detail

      • KEYSTORE_ROLLOVER_ANNUALLY

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

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

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

        public static final String KEYSTORE_ROLLOVER_DAILY
        The 'Daily' keystore rollover policy.
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
    • Constructor Detail

      • Client

        public Client()
    • Method Detail

      • 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