public interface SvdiCreator
ERR err = EventReportTool.getInstance().createERR(EventTriggerType.MATCH); SvdiCreator svdiTool = VdiTool.newSvdiCreator(); svdiTool.setFractal("fractal"); svdiTool.setExpiryDate(finalDate.getTime()); svdiTool.addKeywordCondition(tags); svdiTool.addERR(err); svdiTool.generateSVDI(); String svdi_id = svdiTool.subscribe(); subDTO.setsVdiId(svdi_id);
Modifier and Type | Method and Description |
---|---|
void |
addERR(org.iso.mpeg.mxm.tEngine.eventreportTE.schemahandler.er.ERR err)
Adds an event report request associated with the VDI.
|
void |
addFieldValueCondition(java.lang.String field,
java.lang.String operator,
java.lang.Object value)
This method adds a field value condition to the users subscription query.
|
void |
addKeywordCondition(java.util.List<java.lang.String> keywords)
Adds a list of keyword conditions to the users subscription query.
|
void |
addLicense(org.iso.mpeg.mxm.tEngine.relTE.schemahandler.relr.License license)
Adds a license to the VDI.
|
void |
addSignature(org.iso.mpeg.mxm.tEngine.securityTE.schemahandler.dsig.Signature signature)
Adds a signature to the VDI.
|
void |
addSparqlFilterCondition(java.lang.String object,
java.lang.String operator,
java.lang.Object value)
This method enables the definition of a filter condition based on the value of a property.
|
void |
addSparqlReturnVariable(java.lang.String varName)
This method sets the variable that will be returned from the query.
|
void |
addSparqlTripleCondition(java.lang.String subject,
java.lang.String predicate,
java.lang.String object)
Adds a triple condition to the sparql query.
|
void |
addSparqlTripleLiteralCondition(java.lang.String subject,
java.lang.String predicate,
java.lang.Object object)
Adds a triple literal condition to the sparql query.
|
void |
addTagCondition(java.util.List<java.lang.String> tags)
Adds a list of tag conditions to the users subscription query.
|
org.iso.mpeg.mxm.tEngine.digitalitemTE.schemahandler.didl.DIDL |
generateSVDI()
With this method the user may create the S-VDI.
|
void |
setExpiryDate(java.util.Date expiryDate)
Sets the expiration date of the VDI.
|
void |
setFractal(java.lang.String fractal)
Sets the VDI destination fractal, which is identified by a string (e.g. photo fractal).
|
void |
setResultLimit(long limit)
This method sets a limit for the returned results.
|
void |
setStartDate(java.util.Date startDate)
Sets the start date of validity of the VDI.
|
java.lang.String |
subscribe()
Sends the S-VDI to the CONVERGENCE cloud
|
void setFractal(java.lang.String fractal)
fractal
- The fractal.void addERR(org.iso.mpeg.mxm.tEngine.eventreportTE.schemahandler.er.ERR err)
err
- A event report request.void addFieldValueCondition(java.lang.String field, java.lang.String operator, java.lang.Object value)
field
- A field.operator
- The comparison operator. "=", ">" or "<".value
- A value.void addKeywordCondition(java.util.List<java.lang.String> keywords)
keywords
- A keyword list.void addTagCondition(java.util.List<java.lang.String> tags)
tags
- A tag list.org.iso.mpeg.mxm.tEngine.digitalitemTE.schemahandler.didl.DIDL generateSVDI()
java.lang.String subscribe()
void addLicense(org.iso.mpeg.mxm.tEngine.relTE.schemahandler.relr.License license)
license
- A REL license.void setStartDate(java.util.Date startDate)
startDate
- A date.void setExpiryDate(java.util.Date expiryDate)
expiryDate
- A date.void addSignature(org.iso.mpeg.mxm.tEngine.securityTE.schemahandler.dsig.Signature signature)
signature
- A XML Signature.void addSparqlTripleCondition(java.lang.String subject, java.lang.String predicate, java.lang.String object)
subject
- The subject of the condition.predicate
- The predicate of the condition.object
- The object of the condition.void addSparqlTripleLiteralCondition(java.lang.String subject, java.lang.String predicate, java.lang.Object object)
subject
- The subject of the literal condition.predicate
- The predicate of the literal condition.object
- The object of the literal condition.void addSparqlFilterCondition(java.lang.String object, java.lang.String operator, java.lang.Object value)
object
- The variable object of a triple codition that will be used to filter the resultset.operator
- The operator of the filtering e.g. equality "=".value
- The value of the filtering.void addSparqlReturnVariable(java.lang.String varName)
varName
- The name of the variable e.g. ?x.void setResultLimit(long limit)
limit
- A limit.