Class Properties

java.lang.Object
org.opencastproject.assetmanager.api.fn.Properties

public final class Properties extends Object
Utility functions for dealing with single properties and property streams.
  • Method Details

    • setProperty

      public static boolean setProperty(AssetManager am, String mpId, String namespace, String propertyName, String value)
      Deprecated.
      make use of a PropertySchema instead of creating property IDs manually
      Set a string property on a media package.
    • setProperty

      public static boolean setProperty(AssetManager am, String mpId, String namespace, String propertyName, Date value)
      Deprecated.
      make use of a PropertySchema instead of creating property IDs manually
      Set a date property on a media package.
    • setProperty

      public static boolean setProperty(AssetManager am, String mpId, String namespace, String propertyName, Long value)
      Deprecated.
      make use of a PropertySchema instead of creating property IDs manually
      Set a long property on a media package.
    • setProperty

      public static boolean setProperty(AssetManager am, String mpId, String namespace, String propertyName, boolean value)
      Deprecated.
      make use of a PropertySchema instead of creating property IDs manually
      Set a boolean property on a media package.
    • setProperty

      public static boolean setProperty(AssetManager am, String mpId, String namespace, String propertyName, Value value)
      Deprecated.
      make use of a PropertySchema instead of creating property IDs manually
      Set a property on a media package.
    • removeProperties

      public static long removeProperties(AssetManager am, String owner, String orgId, String mpId, String namespace)
    • mkProperty

      public static <A> Property mkProperty(PropertyField<A> f, org.opencastproject.mediapackage.MediaPackage mp, A value)
      Create a property.
    • mkProperty

      public static <A> Property mkProperty(PropertyField<A> f, Snapshot e, A value)
      Create a property.
    • mkProperty

      public static Property mkProperty(String mpId, String namespace, String name, Value value)
      Create a property.