com.filenet.api.core
Class Factory.ClassDescription
- java.lang.Object
-
- com.filenet.api.core.Factory.ClassDescription
-
- Enclosing class:
- Factory
public static class Factory.ClassDescription extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static ClassDescriptionfetchInstance(Scope scope, Id classId, PropertyFilter filter)Retrieves an object of theClassDescriptionclass specified by the given class ID.static ClassDescriptionfetchInstance(Scope scope, java.lang.String classIdentity, PropertyFilter filter)Retrieves an object of theClassDescriptionclass specified by the given identity.static ClassDescriptiongetInstance(Scope scope, Id classId)Retrieves the instance of theClassDescriptionclass specified by the given scope and class ID.static ClassDescriptiongetInstance(Scope scope, java.lang.String classIdentity)Retrieves the instance of theClassDescriptionclass specified by the given scope and class identity.
-
-
-
Method Detail
-
getInstance
public static ClassDescription getInstance(Scope scope, Id classId)
Retrieves the instance of theClassDescriptionclass specified by the given scope and class ID. This method does not verify the existence of the requested object on the server; it simply returns a local reference without making a round-trip to the server. The local reference is not affiliated with an object of this class until you perform a function on the object (for example, fetch a property value) that causes a round-trip to the Content Engine server.- Parameters:
scope- The object to which thisClassDescriptionis scoped. For more information, see theScopeinterface description.classId- The ID (GUID) of the requested class instance.- Returns:
- The requested
ClassDescriptionobject.
-
getInstance
public static ClassDescription getInstance(Scope scope, java.lang.String classIdentity)
Retrieves the instance of theClassDescriptionclass specified by the given scope and class identity. This method does not verify the existence of the requested object on the server; it simply returns a local reference without making a round-trip to the server. The local reference is not affiliated with an object of this class until you perform a function on the object (for example, fetch a property value) that causes a round-trip to the Content Engine server.- Parameters:
scope- The object to which thisClassDescriptionis scoped. For more information, see theScopeinterface description.classIdentity- AStringthat identifies the class. The value can be a class ID (in GUID format) or class symbolic name.- Returns:
- The requested
ClassDescriptionobject.
-
fetchInstance
public static ClassDescription fetchInstance(Scope scope, Id classId, PropertyFilter filter)
Retrieves an object of theClassDescriptionclass specified by the given class ID. This method always makes a round-trip to the server. You can optionally include a filter to control which properties to return with the object. If you pass innullfor thefilterparameter, this method returns values for all non-object properties and returns placeholders for all object-valued properties. For more information, see the description of thefilterparameter.- Parameters:
scope- The object to which thisClassDescriptionis scoped. For more information, see theScopeinterface description.classId- The ID (GUID) of the requested class instance.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:
- The requested
ClassDescriptionobject.
-
fetchInstance
public static ClassDescription fetchInstance(Scope scope, java.lang.String classIdentity, PropertyFilter filter)
Retrieves an object of theClassDescriptionclass specified by the given identity. This method always makes a round-trip to the server. You can optionally include a filter to control which properties to return with the object. If you pass innullfor thefilterparameter, this method returns values for all non-object properties and returns placeholders for all object-valued properties. For more information, see the description of thefilterparameter.- Parameters:
scope- The object to which thisClassDescriptionis scoped. For more information, see theScopeinterface description.classIdentity- AStringthat identifies the class. The value can be a class ID (in GUID format) or class symbolic name.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:
- The requested
ClassDescriptionobject.
-
-