Interface BusinessDataInfo<T>

Type Parameters:
T - the business data value type

public interface BusinessDataInfo<T>

Information about a business data value in the BusinessDataRepository.

Since:
6.3.0
API:
This is a public API.
  • Method Summary

    Modifier and Type
    Method
    Description
    Date and time when the business data was created
    long
    Application id of the application that created this business data
    Username of the logged in user who created this business data
    Get the unique identifier of the Business Data value.
    Date and time of the last time this business data was modified
    long
    Application id of the application that modified this business data the last time
    Username of the logged in user who modified this business data last
    Returns the raw value in a serialized JSON format as stored in the repository
    Type of the business data value
    Full qualified name of the business data value type
    long
    Version of this Business Data value, incremented on each change that is saved.
  • Method Details

    • getId

      String getId()

      Get the unique identifier of the Business Data value.

      The maximum length of the identifier is 100 characters.

      Returns:
      the unique identifier
      API:
      This public API is available in Java.
    • getVersion

      long getVersion()
      Version of this Business Data value, incremented on each change that is saved. Used to handle concurrent modification and prevent data loss (optimistic locking), see BusinessDataRepository.save(Object) and BusinessDataRepository.overwrite(Object) The initial version is 1
      Returns:
      the actual version at the time the data was loaded
      API:
      This public API is available in Java.
    • getTypeName

      String getTypeName()
      Full qualified name of the business data value type
      Returns:
      full qualified name
      API:
      This public API is available in Java.
    • getType

      Class<T> getType()
      Type of the business data value
      Returns:
      type
      API:
      This public API is available in Java.
    • getCreatedAt

      Date getCreatedAt()
      Date and time when the business data was created
      Returns:
      date and time
      API:
      This public API is available in Java.
    • getCreatedByUserName

      String getCreatedByUserName()
      Username of the logged in user who created this business data
      Returns:
      username
      API:
      This public API is available in Java.
    • getCreatedByAppId

      long getCreatedByAppId()
      Application id of the application that created this business data
      Returns:
      application id
      API:
      This public API is available in Java.
    • getModifiedAt

      Date getModifiedAt()
      Date and time of the last time this business data was modified
      Returns:
      date and time
      API:
      This public API is available in Java.
    • getModifiedByUserName

      String getModifiedByUserName()
      Username of the logged in user who modified this business data last
      Returns:
      username
      API:
      This public API is available in Java.
    • getModifiedByAppId

      long getModifiedByAppId()
      Application id of the application that modified this business data the last time
      Returns:
      application id
      API:
      This public API is available in Java.
    • getRawValue

      String getRawValue()

      Returns the raw value in a serialized JSON format as stored in the repository

      References and recursions are not resolved. To get the flat JSON (with resolved references) use the converter IBusinessDataManager.toSearchIndexJson(String), which returns the search optimized JSON.

      Returns:
      the raw value as stored in the repository
      API:
      This public API is available in Java.