com.filenet.rm.api.util

Class MC

  1. java.lang.Object
  2. extended bycom.filenet.rm.api.util.MC

  1. public final class MC
  2. extends java.lang.Object
"(M)etadata (C)ache" This class is a helper for Daphne metadata questions. It transparently caches when it needs to, and it is savvy about Locale. Everything in it is static. There's no security on ClassDescription/PropertyDescription, although there is security on access to the ObjectStore overall. It's not perfect, but it's just a cache so it doesn't need to be. This is all written in terms of Daphne objects so that it could someday move outside of Buzz.

Method Summary

Modifier and Type Method and Description
  1. protected static
  2. com.filenet.api.meta.ClassDescription
getCachedCD(com.filenet.api.meta.ClassDescription dapCD)
  1. protected static
  2. com.filenet.api.meta.ClassDescription
getCachedCD(com.filenet.api.core.Scope cdScope,java.lang.String identity)
  1. protected static
  2. int
getCdInstanceType(com.filenet.api.core.Scope eo,java.lang.String cdSymNameOrId)
This method is interesting to Buzz for mapping to object types, but it's not generally interesting since ObjectType/InstanceType are deprecated in Daphne.
  1. protected static
  2. com.filenet.api.admin.ChoiceList
getPropertyChoiceList(com.filenet.api.core.Scope eo,java.lang.String className,java.lang.String propName,boolean throwIfNotFound)
  1. protected static
  2. java.lang.String
getPropertyDisplayName(com.filenet.api.core.Scope eo,java.lang.String className,java.lang.String propName,boolean throwIfNotFound)
  1. protected static
  2. com.filenet.api.meta.PropertyDescription
locatePdInThisCd(java.lang.String cdName,java.lang.String pdSymname,com.filenet.api.core.Scope scope,boolean lookInSubclasses)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Detail

getPropertyDisplayName

  1. protected static final java.lang.String getPropertyDisplayName( com.filenet.api.core.Scope eo,
  2. java.lang.String className,
  3. java.lang.String propName,
  4. boolean throwIfNotFound)

getPropertyChoiceList

  1. protected static final com.filenet.api.admin.ChoiceList getPropertyChoiceList( com.filenet.api.core.Scope eo,
  2. java.lang.String className,
  3. java.lang.String propName,
  4. boolean throwIfNotFound)

getCdInstanceType

  1. protected static final int getCdInstanceType( com.filenet.api.core.Scope eo,
  2. java.lang.String cdSymNameOrId)
This method is interesting to Buzz for mapping to object types, but it's not generally interesting since ObjectType/InstanceType are deprecated in Daphne.

locatePdInThisCd

  1. protected static final com.filenet.api.meta.PropertyDescription locatePdInThisCd( java.lang.String cdName,
  2. java.lang.String pdSymname,
  3. com.filenet.api.core.Scope scope,
  4. boolean lookInSubclasses)

getCachedCD

  1. protected static final com.filenet.api.meta.ClassDescription getCachedCD( com.filenet.api.meta.ClassDescription dapCD)

getCachedCD

  1. protected static final com.filenet.api.meta.ClassDescription getCachedCD( com.filenet.api.core.Scope cdScope,
  2. java.lang.String identity)