com.filenet.wcm.apps.server.util

Class ObjectStoreAccessUtil

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

  1. public class ObjectStoreAccessUtil
  2. 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

Constructor and Description
ObjectStoreAccessUtil(com.filenet.wcm.toolkit.server.base.WcmController control,com.filenet.wcm.toolkit.server.dp.WcmNavigationDataProvider dataProvider)

Method Summary

Modifier and Type Method and Description
  1. boolean
canAccessObjectStore(java.lang.String objectStoreName)
  1. static
  2. boolean
canAccessObjectStore(java.lang.String objectStoreName,WcmSitePrefs sitePrefs,com.filenet.wcm.toolkit.server.util.WcmDataStore ds)
  1. java.util.List
filterObjectStoreIDList(java.util.List objectStoreList)
  1. java.util.List
filterObjectStoreList(java.util.List objectStoreList)
  1. static
  2. java.util.List
filterObjectStoreList(java.lang.String[] objectStoreList,WcmSitePrefs sitePrefs,com.filenet.wcm.toolkit.server.util.WcmDataStore dataStore)
  1. java.util.List
getFilteredObjectStoreIDList()
  1. java.util.List
getFilteredObjectStoreList()
  1. org.w3c.dom.Document
getFilteredObjectStoreListDoc()
  1. 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

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

Method Detail

canAccessObjectStore

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

getID

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

filterObjectStoreList

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

filterObjectStoreIDList

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

canAccessObjectStore

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

filterObjectStoreList

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

getFilteredObjectStoreList

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

getFilteredObjectStoreIDList

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

getFilteredObjectStoreListDoc

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