com.filenet.api.property
Interface PropertyEngineObject
-
- All Superinterfaces:
- Property, java.io.Serializable
public interface PropertyEngineObject extends Property
Represents a Content Engine property that holds anEngineObjectobject.- See Also:
EngineObject,ObjectReference
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description IndependentObjectfetchIndependentObject(PropertyFilter filter)Retrieves the value of aPropertyEngineObjectproperty that holds anIndependentObjectobject by making a roundtrip to the server using an optional property filter.ObjectReferencegetObjectReference()Returns an object reference to theEngineObjectvalue held by thisPropertyEngineObjectproperty.voidsetValue(EngineObject val)Sets the value of this Content Engine property.-
Methods inherited from interface com.filenet.api.property.Property
getBinaryListValue, getBinaryValue, getBooleanListValue, getBooleanValue, getDateTimeListValue, getDateTimeValue, getDependentObjectListValue, getEngineObjectValue, getFloat64ListValue, getFloat64Value, getIdListValue, getIdValue, getIndependentObjectSetValue, getInputStreamValue, getInteger32ListValue, getInteger32Value, getObjectValue, getPropertyName, getRetrievalErrorValue, getState, getStringListValue, getStringValue, isDirty, isSettable, setObjectValue
-
-
-
-
Method Detail
-
setValue
void setValue(EngineObject val)
Sets the value of this Content Engine property.- Parameters:
val- AnEngineObjectthat specifies the new property value.- Throws:
E_READ_ONLY- if an attempt is made to update a property that is not settable (itsProperty.isSettablemethod returnsfalse).
-
fetchIndependentObject
IndependentObject fetchIndependentObject(PropertyFilter filter)
Retrieves the value of aPropertyEngineObjectproperty that holds anIndependentObjectobject by making a roundtrip to the server using an optional property filter. If this method is called by a property that holds aDependentObject, an error will be thrown.- Parameters:
filter- APropertyFilterobject that represents information for controlling which property values (and with what level of detail and recursion) to return. Ifnull, this method returns values for all non-object properties and returns placeholders for all object-valued properties (PropertyEngineObjectproperties with a state ofPropertyState.UNEVALUATEDorPropertyState.REFERENCE); any subsequent attempts to access an object-valued property will cause an automatic round-trip to the server to fetch its value.- Returns:
- An
IndependentObjectobject. - Throws:
API_METHOD_NO_DEPENDENT_SUPPORT- if an attempt is made to retrieve aDependentObjectobject.
-
getObjectReference
ObjectReference getObjectReference()
Returns an object reference to theEngineObjectvalue held by thisPropertyEngineObjectproperty.- Returns:
- An
ObjectReferenceobject.
-
-