Class NonChannelTestFileSystemContentManager.Metadata

java.lang.Object
com.aquima.interactions.test.content.NonChannelTestFileSystemContentManager.Metadata
All Implemented Interfaces:
com.aquima.interactions.portal.IContentMetadata, Serializable
Enclosing class:
NonChannelTestFileSystemContentManager

public static final class NonChannelTestFileSystemContentManager.Metadata extends Object implements Serializable, com.aquima.interactions.portal.IContentMetadata
Metadata representation.

To prevent identifier collision, this implementation applies a namespace to metadata identifiers. This separates implicit metadata (set by the metadata implementation) from the metadata provided by customers (through CustomContentProperties).

Since:
9.3
Author:
G. der Kinderen
See Also:
  • Constructor Details

  • Method Details

    • isMetadataProperty

      public static boolean isMetadataProperty(String name)
      Determines if the property name is a standard metadata property.

      This method returns the inverse result of isCustomProperty(String)

      Parameters:
      name - A property name (cannot be null).
      Returns:
      true when the property name is recognized as a standard metadata property, otherwise false.
    • isCustomProperty

      public static boolean isCustomProperty(String name)
      Determines if the property name is a custom content property.

      This method returns the inverse result of isMetadataProperty(String)

      Parameters:
      name - A property name (cannot be null).
      Returns:
      true when the property name is not recognized as a standard metadata property, otherwise false.
    • getMetadataProperty

      public String getMetadataProperty(String key)
    • setCustomProperty

      public void setCustomProperty(String key, String dataType, String value)
    • getCustomPropertyDataType

      public String getCustomPropertyDataType(String key)
    • getCustomPropertyValue

      public String getCustomPropertyValue(String key)
    • metadataEntrySet

      public Set<Map.Entry<String,String>> metadataEntrySet()
    • customContentEntrySet

      public Set<Map.Entry<String,com.aquima.interactions.test.content.NonChannelTestFileSystemContentManager.Tuple>> customContentEntrySet()
    • getId

      public com.aquima.interactions.foundation.GUID getId()
      Specified by:
      getId in interface com.aquima.interactions.portal.IContentMetadata
    • getName

      public String getName()
      Specified by:
      getName in interface com.aquima.interactions.portal.IContentMetadata
    • getContentType

      public String getContentType()
      Specified by:
      getContentType in interface com.aquima.interactions.portal.IContentMetadata
    • getSize

      public long getSize()
      Specified by:
      getSize in interface com.aquima.interactions.portal.IContentMetadata
    • getCreatedBy

      public String getCreatedBy()
      Specified by:
      getCreatedBy in interface com.aquima.interactions.portal.IContentMetadata
    • getCreationDate

      public com.aquima.interactions.foundation.types.DateTimeValue getCreationDate()
      Specified by:
      getCreationDate in interface com.aquima.interactions.portal.IContentMetadata
    • getLastUpdatedBy

      public String getLastUpdatedBy()
      Specified by:
      getLastUpdatedBy in interface com.aquima.interactions.portal.IContentMetadata
    • getLastUpdated

      public com.aquima.interactions.foundation.types.DateTimeValue getLastUpdated()
      Specified by:
      getLastUpdated in interface com.aquima.interactions.portal.IContentMetadata
    • getProcessId

      public Long getProcessId()
      Specified by:
      getProcessId in interface com.aquima.interactions.portal.IContentMetadata
      Returns:
      The optionally provided processId.
    • getCaseId

      public String getCaseId()
      Specified by:
      getCaseId in interface com.aquima.interactions.portal.IContentMetadata
      Returns:
      The optionally provided caseId.
    • setCaseId

      public void setCaseId(String caseId)
      Sets the optionally provided case id.
    • getProperties

      public com.aquima.interactions.portal.content.CustomContentProperties getProperties()
      Specified by:
      getProperties in interface com.aquima.interactions.portal.IContentMetadata
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object