Class Properties
java.lang.Object
org.opencastproject.assetmanager.api.fn.Properties
Utility functions for dealing with single
properties and property streams.-
Method Summary
Modifier and TypeMethodDescriptionstatic PropertymkProperty(String mpId, String namespace, String name, Value value) Create a property.static <A> PropertymkProperty(PropertyField<A> f, Snapshot e, A value) Create a property.static <A> PropertymkProperty(PropertyField<A> f, org.opencastproject.mediapackage.MediaPackage mp, A value) Create a property.static longremoveProperties(AssetManager am, String owner, String orgId, String mpId, String namespace) static booleansetProperty(AssetManager am, String mpId, String namespace, String propertyName, boolean value) Deprecated.static booleansetProperty(AssetManager am, String mpId, String namespace, String propertyName, Long value) Deprecated.make use of aPropertySchemainstead of creating property IDs manuallystatic booleansetProperty(AssetManager am, String mpId, String namespace, String propertyName, String value) Deprecated.make use of aPropertySchemainstead of creating property IDs manuallystatic booleansetProperty(AssetManager am, String mpId, String namespace, String propertyName, Date value) Deprecated.make use of aPropertySchemainstead of creating property IDs manuallystatic booleansetProperty(AssetManager am, String mpId, String namespace, String propertyName, Value value) Deprecated.make use of aPropertySchemainstead of creating property IDs manually
-
Method Details
-
setProperty
public static boolean setProperty(AssetManager am, String mpId, String namespace, String propertyName, String value) Deprecated.make use of aPropertySchemainstead of creating property IDs manuallySet 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 aPropertySchemainstead of creating property IDs manuallySet 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 aPropertySchemainstead of creating property IDs manuallySet 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 aPropertySchemainstead of creating property IDs manuallySet 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 aPropertySchemainstead of creating property IDs manuallySet 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
Create a property. -
mkProperty
Create a property.
-
PropertySchemainstead of creating property IDs manually