No i am not reffering to *isHidden* which is inside every Property
Defination.
In Document class I have 15 Immediate *Subclass*.
1. *Emails*
2. *Form Data*
3. *Code Module*
4. *etc.*
When I right click on Email i see many Tabs : *General ,Property, Property
Defination, security,etc.*
**
In *Property* there may *properties* like *Symbolic name,IsHidden,etc*
**
Now for *Email* the *IsHidden* value is *False*
*Form Data* *IsHidden* value is *True*.
similary for for all immediate subClass.
*I just want to dislay those subclass whose value is False.*
I didnt find any method which will help me to do so.
**
*to display all subclass i use session.getTypeChildren("cmis:document",
true);*
**
*Plz help.*
**
On Fri, Mar 30, 2012 at 7:02 PM, jay brown <[email protected]> wrote:
> Are you referring to the isHidden p8 cmis schema extension that we have on
> every property definition?
>
> <p8ext:isHidden>false</p8ext:isHidden>
>
> If so there are a couple of way to deal with this.
>
> First: There is an undocumented setting on the p8 cmis server which will
> all you to (by default) filter out all properties that are marked as
> hidden. (we can give you instructions for how to set this if this is the
> way you want to go)
> Second: You can discard all of the properties that have this value set
> since you are dealing with metadata and it is unlikely you are dealing with
> more than a few dozen classes at each level.
>
>
>
> On Fri, Mar 30, 2012 at 1:15 AM, learning coding <
> [email protected]> wrote:
>
> > Hi,
> > I need help in filenet
> >
> > - As i need to* Immediate Subclass* ; I used the method
> >
> > *session**.getTypeChildren("cmis:document", true);*
> >
> > output of this is all the immediate subclass *included* the one
> > whoes *"IsHidden"
> > property is "True";*
> > i *want* only the *subclasses* whoes "*isHidden*" value is "*false*"
> >
> > Similary this was the case in rootFolder , there are some folder in root
> > folder whose propertyValue for "IsHiddenContainer" is "true".
> > so using
> >
> > getPropertyValue(
> > "IsHiddenContainer") method i got the folder which hidden value is false.
> >
> > but i couldnt find the such kind of method for immediate subclass
> >
> >
> > - i also need the *propertyDefination* of the Immediate Subclass:
> >
> > I used "*getPropertyDefinitions*();"
> >
> > *output* is all the *customized property,Inherited Property,System
> > Property.
> > *
> > But i dont want to show the inherited and system property in output.
> >
> > How to do it.
> >
> >
> > My Code :
> >
> >
> > *ItemIterable<ObjectType> v = *
> > *session.getTypeChildren("cmis:document", true**);*
> >
> > *Iterator<ObjectType> i = v.iterator();*
> >
> > **
> >
> > *while**(i.hasNext()){*
> >
> > *ObjectType a = i.next();*
> >
> > **
> >
> > **
> >
> > *System.*
> > *out.println(" Display name> " + a.getDisplayName() + " "** );*
> >
> > **
> >
> > * *
> >
> > *Map<String, PropertyDefinition<?>> d = a.getPropertyDefinitions();*
> >
> > *Iterator itr = d.keySet().iterator();*
> >
> > *while**(itr.hasNext()){*
> >
> > *String key = itr.next().toString();*
> >
> > *PropertyDefinition<?> value = d.get(key);*
> >
> > *System.*
> > *out.println(""**);*
> >
> > *System.*
> > *out.println("key > "** + key );*
> >
> > *System.*
> > *out.println(" value "** +value);*
> >
> > *}*
> >
> > *}*
> >
> > **
> >
> > *Thanks*
> >
>