Class ClientConfiguration

java.lang.Object
com.bhn.risk.common.SmartObject<com.bhn.risk.common.Entity>
com.bhn.risk.common.Entity
com.bhn.risk.clientconfiguration.ClientConfiguration

public class ClientConfiguration extends com.bhn.risk.common.Entity
Client Configuration for Order Risk Service
Version:
$Id: $Id
Author:
jjung07
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
     
     
     
     
    com.bhn.risk.common.Guid
     
    com.bhn.risk.common.Guid
     

    Fields inherited from class com.bhn.risk.common.Entity

    additionalAttributes, createdTimestamp, creatorId, id, metaId, notes, updatedTimestamp, updaterId, version
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    convertAppNameToUpperCase.

    Methods inherited from class com.bhn.risk.common.Entity

    equals, hashCode, toUglyString

    Methods inherited from class com.bhn.risk.common.SmartObject

    addSerializableClass, addSerializableClass, addSerializableClass, compareTo, copy, createMapper, fromString, fromString, toExposedString, toString, toString, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • clientConfigId

      @NotNull(when="js:_this.tenantId == null", errorCode="clientConfiguration.clientConfigId.null", message="clientConfiguration.clientConfigId is mandatory if tenantId is not provided") @NotBlank(errorCode="clientConfiguration.clientConfigId.empty", message="clientConfiguration.clientConfigId is empty") public String clientConfigId
    • tenantId

      @NotNull(when="js:_this.clientConfigId == null", errorCode="clientConfiguration.tenantId.null", message="clientConfiguration.tenantId is mandatory if clientConfigId is not provided") public com.bhn.risk.common.Guid tenantId
    • appName

      @NotNull(errorCode="clientConfiguration.appName.is.null", message="clientConfiguration.appName is mandatory") @NotBlank(errorCode="clientConfiguration.appName.empty", message="clientConfiguration.appName is empty") public String appName
    • appShortName

      @NotNull(errorCode="clientConfiguration.appShortName.is.null", message="clientConfiguration.appShortName is mandatory") @NotBlank(errorCode="clientConfiguration.appShortName.empty", message="clientConfiguration.appShortName can not be blank") @Length(max=5, errorCode="clientConfiguration.appShortName.invalid.length", message="Max length of appShortName is 5 characters") public String appShortName
    • providers

      @AssertValid @NotNull(errorCode="clientConfiguration.providers.null", message="clientConfiguration.providers is mandatory") @MinSize(value=1, errorCode="clientConfiguration.providers.empty", message="At least one provider info should be supplied in request") public List<ProviderInfo> providers
    • widgetConfigId

      public com.bhn.risk.common.Guid widgetConfigId
    • siteURL

      @NotBlank(errorCode="clientConfiguration.siteURL.empty", message="clientConfiguration.siteURL can not be empty") public String siteURL
  • Constructor Details

    • ClientConfiguration

      public ClientConfiguration()
  • Method Details

    • convertAppNameToUpperCase

      public void convertAppNameToUpperCase(String appName)

      convertAppNameToUpperCase.

      Parameters:
      appName - a String object