Class MappingUtils.MediaObjectInfo

java.lang.Object
com.priint.pubserver.comet.bridge.util.MappingUtils.MediaObjectInfo
Enclosing class:
MappingUtils

public static class MappingUtils.MediaObjectInfo extends Object
The Class MediaObjectInfo.
  • Constructor Details

  • Method Details

    • createDataInfo

      public static MappingUtils.MediaObjectInfo createDataInfo(MediaAsset asset, MediaObject object)
      Creates the data info.
      Parameters:
      asset - the asset
      object - the object
      Returns:
      the media object info
    • createFromString

      public static MappingUtils.MediaObjectInfo createFromString(String uri) throws CometException
      Creates the from string.
      Parameters:
      uri - the uri
      Returns:
      the media object info
      Throws:
      CometException - the comet exception
    • createPreviewInfo

      public static MappingUtils.MediaObjectInfo createPreviewInfo(MediaAsset asset, MediaObject object)
      Creates the preview info.
      Parameters:
      asset - the asset
      object - the object
      Returns:
      the media object info
    • pathIdentifier

      public static String pathIdentifier(String in)
      Path identifier.
      Parameters:
      in - the in
      Returns:
      the string
    • getAssetEntityId

      public String getAssetEntityId()
      Gets the asset entity id.
      Returns:
      the asset entity id
    • getAssetId

      public String getAssetId()
      Gets the asset id.
      Returns:
      the asset id
    • getClientURI

      public String getClientURI() throws CometException
      Gets the client URI.
      Returns:
      the client URI
      Throws:
      CometException - the comet exception
    • getDataType

      Gets the data type.
      Returns:
      the data type
    • getFilepath

      public String getFilepath()
      Gets the filepath.
      Returns:
      the filepath
    • setAssetEntityId

      public void setAssetEntityId(String assetEntityId)
      Sets the asset entity id.
      Parameters:
      assetEntityId - the new asset entity id
    • setAssetId

      public void setAssetId(String assetId)
      Sets the asset id.
      Parameters:
      assetId - the new asset id
    • setDataType

      public void setDataType(MappingUtils.MediaObjectInfo.DataType dataType)
      Sets the data type.
      Parameters:
      dataType - the new data type
    • setFilepath

      public void setFilepath(String filepath)
      Sets the filepath.
      Parameters:
      filepath - the new filepath
    • toString

      public String toString()
      Overrides:
      toString in class Object