Class ClientPropertyDao


public class ClientPropertyDao extends AbstractDao
Provides a DAO for the ClientProperty entity.
See Also:
  • Constructor Details

    • ClientPropertyDao

      public ClientPropertyDao()
  • Method Details

    • getClientProperty

      public ClientProperty getClientProperty(Object entityId)
      Return the client property with the specified OID
      Parameters:
      entityId - the OID
      Returns:
      the matching client property, or null if not found
    • getPropertiesByClient

      public List<org.apache.cayenne.DataRow> getPropertiesByClient(String clientId)
      Return information about client properties for a specified client
      Parameters:
      clientId - the client OID
      Returns:
      a list of DataRow objects
    • getProperty

      public ClientProperty getProperty(Client client, String name)
      Return the named client property or null if not defined
      Parameters:
      client - the client
      name - the property name
      Returns:
      the named client property or null if not defined
      Since:
      3.6.4
    • getPropertyValue

      public String getPropertyValue(Client client, String name)
      Return the named client property value or null if not defined.
      Parameters:
      client - the client
      name - the property name
      Returns:
      the named client property value or null if not defined