Interface CmBackgroundSearch
-
- All Superinterfaces:
- CmSweep, EngineObject, IndependentlyPersistableObject, IndependentObject, RepositoryObject, java.io.Serializable, Subscribable
public interface CmBackgroundSearch extends RepositoryObject, CmSweep
The base class from which you can create a subclass to define the search expression and parameters for a background search. TheCmBackgroundSearch
class is derived from theCmSweep
class and its instances are stored in the Sweep table. The baseCmBackgroundSearch
class cannot be instantiated.After you define a background search in a
CmBackgroundSearch
subclass, you start the background search by instantiating the subclass, providing values to those object properties that define parameters, and saving the object.To define the search expression of the background search, set the default value of the SearchExpression property definition of a
CmBackgroundSearch
subclass definition to a valid Content Platform Engine SQL expression. This SQL expression has a syntax extension for specifying parameter substitution. Parameters are defined by custom properties that you add to aCmBackgroundSearch
subclass to define a particular search. The name of each parameter must match the symbolic name of a custom property.Metadata
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description void
changeClass(java.lang.String className)
Changes the class of a Content Engine object.java.lang.Boolean
get_AllowStringTruncation()
Returns the value of the AllowStringTruncation property.java.lang.String
get_DisplayName()
Returns the value of the DisplayName property.java.util.Date
get_EffectiveEndDate()
Returns the value of the EffectiveEndDate property.java.lang.String
get_EffectiveSQL()
Returns the value of the EffectiveSQL property.java.util.Date
get_EffectiveStartDate()
Returns the value of the EffectiveStartDate property.java.lang.Integer
get_FailureCount()
Returns the value of the FailureCount property.java.lang.Boolean
get_IsEnabled()
Returns the value of the IsEnabled property.java.lang.String
get_LastFailureReason()
Returns the value of the LastFailureReason property.java.lang.Integer
get_MaximumExaminedRowCount()
Returns the value of the MaximumExaminedRowCount property.java.lang.Integer
get_MaximumFailures()
Returns the value of the MaximumFailures property.java.lang.Boolean
get_OrderByGroupedProperties()
Returns the value of the OrderByGroupedProperties property.java.lang.String
get_SearchExpression()
Returns the value of the SearchExpression property.ObjectStore
get_SearchObjectStore()
Returns the value of the SearchObjectStore property.CmAbstractSearchResultSet
get_SearchResults()
Returns the value of the SearchResults property.java.lang.Integer
get_SweepBatchSize()
Returns the value of the SweepBatchSize property.java.lang.Integer
get_SweepRetryWaitInterval()
Returns the value of the SweepRetryWaitInterval property.void
set_DisplayName(java.lang.String value)
Sets the value of the DisplayName property.void
set_EffectiveEndDate(java.util.Date value)
Sets the value of the EffectiveEndDate property.void
set_EffectiveStartDate(java.util.Date value)
Sets the value of the EffectiveStartDate property.void
set_FailureCount(java.lang.Integer value)
Sets the value of the FailureCount property.void
set_IsEnabled(java.lang.Boolean value)
Sets the value of the IsEnabled property.void
set_MaximumExaminedRowCount(java.lang.Integer value)
Sets the value of the MaximumExaminedRowCount property.void
set_MaximumFailures(java.lang.Integer value)
Sets the value of the MaximumFailures property.void
set_SearchObjectStore(ObjectStore value)
Sets the value of the SearchObjectStore property.void
set_SweepBatchSize(java.lang.Integer value)
Sets the value of the SweepBatchSize property.void
set_SweepRetryWaitInterval(java.lang.Integer value)
Sets the value of the SweepRetryWaitInterval property.-
Methods inherited from interface com.filenet.api.sweep.CmSweep
get_AuditedEvents, get_Creator, get_DateCreated, get_DateLastModified, get_ExaminedObjectCount, get_FailedObjectCount, get_Id, get_InterBatchDelay, get_LastModifier, get_MaxSweepWorkers, get_Owner, get_Permissions, get_ProcessedObjectCount, get_SweepEndDate, get_SweepStartDate, get_SweepTarget, get_SweepTimeslots, set_Creator, set_DateCreated, set_DateLastModified, set_InterBatchDelay, set_LastModifier, set_MaxSweepWorkers, set_Owner, set_Permissions, set_SweepTarget, set_SweepTimeslots
-
Methods inherited from interface com.filenet.api.core.RepositoryObject
getObjectStore
-
Methods inherited from interface com.filenet.api.core.Subscribable
raiseEvent
-
Methods inherited from interface com.filenet.api.core.IndependentlyPersistableObject
addPendingAction, clearPendingActions, delete, getAccessAllowed, getPendingActions, getUpdateSequenceNumber, isCurrent, save, save, setUpdateSequenceNumber
-
Methods inherited from interface com.filenet.api.core.IndependentObject
fetchProperties, fetchProperties, fetchProperty, fetchProperty, getObjectReference, refresh, refresh, refresh
-
Methods inherited from interface com.filenet.api.core.EngineObject
get_ClassDescription, getClassName, getConnection, getProperties, getSuperClasses
-
-
-
-
Method Detail
-
get_DisplayName
java.lang.String get_DisplayName()
Returns the value of the DisplayName property. For more information, see DisplayName Property.
-
set_DisplayName
void set_DisplayName(java.lang.String value)
Sets the value of the DisplayName property. For more information, see DisplayName Property.
-
get_EffectiveStartDate
java.util.Date get_EffectiveStartDate()
Returns the value of the EffectiveStartDate property. For more information, see EffectiveStartDate Property.
-
set_EffectiveStartDate
void set_EffectiveStartDate(java.util.Date value)
Sets the value of the EffectiveStartDate property. For more information, see EffectiveStartDate Property.
-
get_EffectiveEndDate
java.util.Date get_EffectiveEndDate()
Returns the value of the EffectiveEndDate property. For more information, see EffectiveEndDate Property.
-
set_EffectiveEndDate
void set_EffectiveEndDate(java.util.Date value)
Sets the value of the EffectiveEndDate property. For more information, see EffectiveEndDate Property.
-
get_IsEnabled
java.lang.Boolean get_IsEnabled()
Returns the value of the IsEnabled property. For more information, see IsEnabled Property.
-
set_IsEnabled
void set_IsEnabled(java.lang.Boolean value)
Sets the value of the IsEnabled property. For more information, see IsEnabled Property.
-
get_SweepRetryWaitInterval
java.lang.Integer get_SweepRetryWaitInterval()
Returns the value of the SweepRetryWaitInterval property. For more information, see SweepRetryWaitInterval Property.
-
set_SweepRetryWaitInterval
void set_SweepRetryWaitInterval(java.lang.Integer value)
Sets the value of the SweepRetryWaitInterval property. For more information, see SweepRetryWaitInterval Property.
-
get_SweepBatchSize
java.lang.Integer get_SweepBatchSize()
Returns the value of the SweepBatchSize property. For more information, see SweepBatchSize Property.
-
set_SweepBatchSize
void set_SweepBatchSize(java.lang.Integer value)
Sets the value of the SweepBatchSize property. For more information, see SweepBatchSize Property.
-
get_MaximumFailures
java.lang.Integer get_MaximumFailures()
Returns the value of the MaximumFailures property. For more information, see MaximumFailures Property.
-
set_MaximumFailures
void set_MaximumFailures(java.lang.Integer value)
Sets the value of the MaximumFailures property. For more information, see MaximumFailures Property.
-
get_SearchExpression
java.lang.String get_SearchExpression()
Returns the value of the SearchExpression property. For more information, see SearchExpression Property.
-
get_SearchResults
CmAbstractSearchResultSet get_SearchResults()
Returns the value of the SearchResults property. For more information, see SearchResults Property.
-
get_EffectiveSQL
java.lang.String get_EffectiveSQL()
Returns the value of the EffectiveSQL property. For more information, see EffectiveSQL Property.
-
get_FailureCount
java.lang.Integer get_FailureCount()
Returns the value of the FailureCount property. For more information, see FailureCount Property.
-
set_FailureCount
void set_FailureCount(java.lang.Integer value)
Sets the value of the FailureCount property. For more information, see FailureCount Property.
-
get_LastFailureReason
java.lang.String get_LastFailureReason()
Returns the value of the LastFailureReason property. For more information, see LastFailureReason Property.
-
get_SearchObjectStore
ObjectStore get_SearchObjectStore()
Returns the value of the SearchObjectStore property. For more information, see SearchObjectStore Property.
-
set_SearchObjectStore
void set_SearchObjectStore(ObjectStore value)
Sets the value of the SearchObjectStore property. For more information, see SearchObjectStore Property.
-
get_AllowStringTruncation
java.lang.Boolean get_AllowStringTruncation()
Returns the value of the AllowStringTruncation property. For more information, see AllowStringTruncation Property.
-
get_OrderByGroupedProperties
java.lang.Boolean get_OrderByGroupedProperties()
Returns the value of the OrderByGroupedProperties property. For more information, see OrderByGroupedProperties Property.
-
get_MaximumExaminedRowCount
java.lang.Integer get_MaximumExaminedRowCount()
Returns the value of the MaximumExaminedRowCount property. For more information, see MaximumExaminedRowCount Property.
-
set_MaximumExaminedRowCount
void set_MaximumExaminedRowCount(java.lang.Integer value)
Sets the value of the MaximumExaminedRowCount property. For more information, see MaximumExaminedRowCount Property.
-
changeClass
void changeClass(java.lang.String className)
Changes the class of a Content Engine object. The new class must already exist and both it and the original class must be subclasses of the same base class. ThechangeClass
method does not modify the security for an object, even if the object's current security is derived from the default security for its source class. For the object's user-defined properties, the following rules apply:- Any user-defined properties that exist in the new class but not in the original class are set to the
default value defined by the new class (or to
null
if there is no default defined). - Any user-defined properties that exist in both the original and the new class that are writable and
have the same value (including
null
) as the default value defined in the original class will be set to the default value defined by the new class. However, any user-defined property that has had its value modified from the default value will retain that modified value in the new class. - Any user-defined properties whose definitions exist in the original class but not in the new class will no longer exist on the object when its class is changed.
- Property constraints for the new class (for example, required values, choice lists, ranges) are not enforced.
When the class of a document object is changed, the default document lifecycle policy of the new class will only be applied to the document object's DocumentLifecyclePolicy property if both of the following scenarios occur:
- The document has no current lifecycle policy.
- The document is either a reservation object, or is the current version object and is not reserved.
Changing the document class of a document object has no effect on the storage location of the document's content. For more information, see the Document Storage topic in the "Document Concepts" section of the Content Engine Java and .NET API Developer's Guide.
- Parameters:
className
- AString
specifying the symbolic name,ClassNames
constant, ID, orGUIDConstants
constant of the class to which this object is to be changed.- Throws:
E_NULL_OR_INVALID_PARAM_VALUE
- ifclassName
isnull
or has a length of zero.
- Any user-defined properties that exist in the new class but not in the original class are set to the
default value defined by the new class (or to
-
-