03-14-2006 06:35 AM
<type name="custom:advancedFile">
<title>Advanced File</title>
<parent>cm:content</parent>
<properties>
<property name="custom:client">
<type>d:text</type>
</property>
<property name="custom:techno">
<type>d:text</type>
</property>
<property name="custom:typeProjet">
<type>d:text</type>
</property>
</properties>
</type>
Map<QName, Serializable> properties = this.nodeService.getProperties(createdNode);
retrieve all properties of the data.03-15-2006 04:40 AM
Serializable prop = this.nodeService(nodeRef, QName.createQName("your-uri", "prop-name");
03-15-2006 05:06 AM
03-15-2006 05:11 AM
<type name="custom:advancedFolder">
<title>Advanced Folder</title>
<parent>cm:folder</parent>
<properties>
<property name="custom:customClient">
<type>d:text</type>
</property>
<property name="custom:customTechno">
<type>d:text</type>
</property>
<property name="custom:customTypeProjet">
<type>d:text</type>
</property>
</properties>
</type>
if(qname.getLocalName().indexOf("custom") == 0)
03-15-2006 08:18 AM
toPrefixString(NamespacePrefixResolver prefixResolver)
03-15-2006 08:29 AM
03-15-2006 10:02 AM
FacesContext context = FacesContext.getCurrentInstance();
NamespaceService nameSpace = Repository.getServiceRegistry(context).getNamespaceService();
if(qname.toPrefixString(nameSpace).indexOf("custom:") == 0){}
03-16-2006 07:28 AM
03-16-2006 10:20 AM
03-16-2006 11:50 AM
TypeDefinition typeDef = dictionaryService.getType(typeQName);
Map<QName, PropertyDef> propertyDefs = typeDef.getProperties();
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.