com.filenet.wcm.apps.server.util
Class ObjectStoreAccessUtil

java.lang.Object
  extended bycom.filenet.wcm.apps.server.util.ObjectStoreAccessUtil

public class ObjectStoreAccessUtil
extends java.lang.Object

This class is a utility to determine if a user has access to object stores based on his access roles.


Constructor Summary
ObjectStoreAccessUtil(com.filenet.wcm.toolkit.server.base.WcmController control, com.filenet.wcm.toolkit.server.dp.WcmNavigationDataProvider dataProvider)
           
 
Method Summary
 boolean canAccessObjectStore(java.lang.String objectStoreName)
           
static boolean canAccessObjectStore(java.lang.String objectStoreName, WcmSitePrefs sitePrefs, com.filenet.wcm.toolkit.server.util.WcmDataStore ds)
           
 java.util.List filterObjectStoreIDList(java.util.List objectStoreList)
           
 java.util.List filterObjectStoreList(java.util.List objectStoreList)
           
static java.util.List filterObjectStoreList(java.lang.String[] objectStoreList, WcmSitePrefs sitePrefs, com.filenet.wcm.toolkit.server.util.WcmDataStore dataStore)
           
 java.util.List getFilteredObjectStoreIDList()
           
 java.util.List getFilteredObjectStoreList()
           
 org.w3c.dom.Document getFilteredObjectStoreListDoc()
           
 java.lang.String getID(java.lang.String objectStoreName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectStoreAccessUtil

public ObjectStoreAccessUtil(com.filenet.wcm.toolkit.server.base.WcmController control,
                             com.filenet.wcm.toolkit.server.dp.WcmNavigationDataProvider dataProvider)
Method Detail

canAccessObjectStore

public boolean canAccessObjectStore(java.lang.String objectStoreName)
                             throws java.lang.Exception
Throws:
java.lang.Exception

getID

public java.lang.String getID(java.lang.String objectStoreName)

filterObjectStoreList

public java.util.List filterObjectStoreList(java.util.List objectStoreList)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

filterObjectStoreIDList

public java.util.List filterObjectStoreIDList(java.util.List objectStoreList)
                                       throws java.lang.Exception
Throws:
java.lang.Exception

canAccessObjectStore

public static boolean canAccessObjectStore(java.lang.String objectStoreName,
                                           WcmSitePrefs sitePrefs,
                                           com.filenet.wcm.toolkit.server.util.WcmDataStore ds)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

filterObjectStoreList

public static java.util.List filterObjectStoreList(java.lang.String[] objectStoreList,
                                                   WcmSitePrefs sitePrefs,
                                                   com.filenet.wcm.toolkit.server.util.WcmDataStore dataStore)
                                            throws java.lang.Exception
Throws:
java.lang.Exception

getFilteredObjectStoreList

public java.util.List getFilteredObjectStoreList()
                                          throws java.lang.Exception
Throws:
java.lang.Exception

getFilteredObjectStoreIDList

public java.util.List getFilteredObjectStoreIDList()
                                            throws java.lang.Exception
Throws:
java.lang.Exception

getFilteredObjectStoreListDoc

public org.w3c.dom.Document getFilteredObjectStoreListDoc()
                                                   throws java.lang.Exception
Throws:
java.lang.Exception


© Copyright IBM Corp. 2002, 2007. All Rights Reserved.