FileNet Content Services
Java Connector v3.0

com.filenet.wcm.api
Interface ObjectStores

All Superinterfaces:
BaseObjects, java.util.Collection, java.util.List, ReadableMetadataObjects, java.io.Serializable

public interface ObjectStores
extends ReadableMetadataObjects

An ObjectStores collection contains ObjectStore objects. The primary use of this collection is for retrieving a set of ObjectStore objects to act upon.

You can instantiate an ObjectStores collection object in one of the following ways:

The following code fragment creates an EntireNetwork object and retrieves from it an ObjectStores collection. The code iterates through the collection, retrieving the value of the DisplayName property for each ObjectStore object in the collection.

 Session session = com.filenet.Panagon.ObjectFactory.getSession("myApp", null, "user1", "password", null);
 EntireNetwork network = ObjectFactory.getEntireNetwork(session);
 ObjectStores objStores = network.getObjectStores();
 ObjectStore objStore = null;
 Properties props;
 Property prop;
 String objStoreName = null;

 // Get each object store
 Iterator iterator = objStores.iterator();
 while(iterator.hasNext())
 {
     objStore = (ObjectStore) iterator.next();
     System.out.println(objStore.getName());
 }

See Also:
CS Java Connector Developer's Guide

Field Summary
 
Fields inherited from interface com.filenet.wcm.api.ReadableMetadataObjects
IS_EQUAL, IS_GREATER, IS_GREATER_OR_EQUAL, IS_LESS, IS_LESS_OR_EQUAL, IS_NOT_EQUAL
 
Methods inherited from interface com.filenet.wcm.api.ReadableMetadataObjects
filterByProperty, filterByProperty, filterByProperty, filterByProperty, filterByProperty, filterByProperty, filterByProperty, findByProperty, findByProperty, findByProperty, findByProperty, findByProperty, findByProperty, findByProperty, orderByProperty, orderByProperty
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 


FileNet Content Services
Java Connector v3.0