Interface EngineCollection
-
- All Superinterfaces:
- java.io.Serializable
- All Known Subinterfaces:
- AccessPermissionDescriptionList, AccessPermissionList, ActionConsumerSet, ActionSet, ActiveMarkingList, AddOnInstallationRecordList, AddOnSet, AnnotationSet, AuditDefinitionList, BinaryList, BooleanList, ChoiceList, ChoiceListSet, ClassDefinitionSet, ClassDescriptionSet, ClassSubscriptionSet, ClassWorkflowSubscriptionSet, CmAbstractDependentList, CmAbstractPermissionList, CmAbstractSearchResultSet, CmAdvancedStorageAreaSet, CmAuditDispositionPolicySet, CmAuditProcessingBookmarkSet, CmBackgroundSearchSet, CmChangePreprocessorActionSet, CmChangePreprocessorDefinitionList, CmConversionSettingsClassDefinitionSet, CmDatabaseConnectionSet, CmElasticSearchClusterSet, CmElasticSearchIndexList, CmEventExportStoreSet, CmHoldableSet, CmHoldRelationshipSet, CmIdentityRuleList, CmIndexDefinitionList, CmIndexedColumnList, CmIndexPartitionConstraintList, CmIndexRequestSet, CmJobSweepResultSet, CmLocalGroupMemberList, CMODApplicationGroupSet, CmPolicyControlledSweepSet, CmPolicySweepResultSet, CmQueueSweepSet, CmRecoveryItemSet, CmReplicaSynchronizationSiteSettingsList, CmRoleAccessDefinitionList, CmRoleClassDefinitionSet, CmRoleMemberList, CmStorageDeviceConnectionList, CmSweepJobSet, CmSweepPolicyRelationshipSet, CmSweepPolicySet, CmSweepRelationshipSet, CmSweepResultSet, CmSweepSet, CmTaskRelationshipSet, CmTaskSet, CmTextIndexingPreprocessorDefinitionList, CmTextSearchAffinityGroupSet, CmTextSearchIndexList, CmTextSearchPartitionPropertyList, CmTextSearchServerSet, CmThumbnailSet, CmTimeslotList, CmTivoliManagementClassSet, ColumnDefinitionList, ComponentRelationshipSet, ContainableSet, ContainmentRelationshipSet, ContentCacheAreaSet, ContentElementList, ContentTransferList, DateTimeList, DependentObjectList, DirectoryConfigurationList, DiscretionaryPermissionList, DocumentClassificationActionSet, DocumentLifecycleActionSet, DocumentLifecyclePolicySet, DocumentSet, DocumentStateList, EngineSet, EventActionSet, EventSet, ExternalAliasList, ExternalClassAliasList, ExternalClassDescriptionSet, ExternalIdentityList, ExternalPropertyAliasList, ExternalPropertyDescriptionList, ExternalRepositorySet, FixedContentDeviceSet, Float64List, FolderSet, GroupSet, IdList, ImageServicesClassDescriptionList, ImageServicesPropertyDescriptionList, IndependentObjectSet, IndexAreaSet, IndexJobItemList, InstanceSubscriptionSet, InstanceWorkflowSubscriptionSet, Integer32List, IsolatedRegionSet, LinkSet, LocalizedStringList, MarkingList, MarkingSetSet, ObjectStoreSet, PEConnectionPointSet, PermissionDescriptionList, PermissionList, PropertyDefinitionList, PropertyDescriptionList, PropertyTemplateSet, RealmSet, ReferentialContainmentRelationshipSet, RelationshipSet, ReplicableClassDefinitionSet, ReplicableSet, ReplicationGroupSet, ReplicationParticipantList, RepositoryRowSet, RepositorySet, SecurityPolicySet, SecurityPrincipalSet, SecurityTemplateList, ServerInstanceSet, SiteSet, SiteSettingsList, StorageAreaSet, StoragePolicySet, StoredSearchSet, StringList, SubscribableClassDefinitionSet, SubscribableSet, SubscribedEventList, SubscriptionSet, SubsystemConfigurationList, TableDefinitionSet, UserSet, VersionableSet, VirtualServerSet, WorkflowDefinitionSet, XMLPropertyMappingScriptSet
public interface EngineCollection extends java.io.SerializableProvides functionality common to all collection objects. This interface is the base interface for the collection class hierarchy.A collection can be one of three types: a set, a list, or a row set. A set is a collection of independent objects, the elements of which are unordered and unique. Functionality common only to sets is defined in the
EngineSetinterface. Sets can be iterated a page at a time (instead of one object or one row at a time), and may not be directly updated. A list is a collection of dependent objects, the elements of which are ordered and need not be unique. A row set is a collection of rows (such as the result set returned from a query) and has the characteristics of a set-type collection.The name of a collection identifies its type. For example, a
DocumentSetis a collection ofDocumentobjects, which are independent objects. ADependentObjectListis a collection of dependent objects. ARepositoryRowSetis a row set.This interface provides standard collection methods.
- See Also:
PageIterator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description booleanisEmpty()Indicates whether the collection is empty.java.util.Iteratoriterator()Returns a JavaIteratorobject for iterating the items in the collection.
-
-
-
Method Detail
-
isEmpty
boolean isEmpty()
Indicates whether the collection is empty. This method may require a round trip to the server for unevaluated sets (such asIndependentObjectSetandRepositoryRowSet).- Returns:
trueif the collection has no elements; otherwise, returnsfalse.
-
iterator
java.util.Iterator iterator()
Returns a JavaIteratorobject for iterating the items in the collection. In the case of sets, paging is performed transparently.The returned
Iteratorobject'sremove()method throws anUnsupportedOperationException.- Returns:
- An
Iteratorobject.
-
-