Remove deprecated APIs
[lgpl/argeo-commons.git] / org.argeo.node.api / src / org / argeo / node / node.cnd
index fbfea9dd9d0a9a7811d070b544aec08d3604c5b3..8ac7c91f474585bed6b6d19fbe5b01dd942807a0 100644 (file)
@@ -1,42 +1,64 @@
+<ldap = 'http://www.argeo.org/ns/ldap'>
+<node = 'http://www.argeo.org/ns/node'>
 <argeo = 'http://www.argeo.org/ns/argeo'>
 
-// GENERIC TYPES NOT AVAILABLE IN JCR
-[argeo:link] > mix:created, mix:lastModified
+// DN (see https://tools.ietf.org/html/rfc4514)
+<cn = 'http://www.argeo.org/ns/rfc4514/cn'>
+<l = 'http://www.argeo.org/ns/rfc4514/l'>
+<st = 'http://www.argeo.org/ns/rfc4514/st'>
+<o = 'http://www.argeo.org/ns/rfc4514/o'>
+<ou = 'http://www.argeo.org/ns/rfc4514/ou'>
+<c = 'http://www.argeo.org/ns/rfc4514/c'>
+<street = 'http://www.argeo.org/ns/rfc4514/street'>
+<dc = 'http://www.argeo.org/ns/rfc4514/dc'>
+<uid = 'http://www.argeo.org/ns/rfc4514/uid'>
+
+
+[node:userHome]
 mixin
+- ldap:uid (STRING) m
+
+[node:groupHome]
+mixin
+- ldap:cn (STRING) m
+
+// GENERIC TYPES NOT AVAILABLE IN JCR
+//[argeo:link] > mix:created, mix:lastModified
+//mixin
 // URI(s)
-- argeo:uri (STRING) m
+//- argeo:uri (STRING) m
 
-[argeo:references] > nt:unstructured
-- * (REFERENCE) *
+//[argeo:references] > nt:unstructured
+//- * (REFERENCE) *
 
 // DATA MODEL
-[argeo:dataModel] > mix:created, mix:lastModified, mix:versionable
-mixin
-- argeo:uri (STRING) m
-- argeo:dataModelVersion (STRING) m
+//[argeo:dataModel] > mix:created, mix:lastModified, mix:versionable
+//mixin
+//- argeo:uri (STRING) m
+//- argeo:dataModelVersion (STRING) m
 
 // USER NODES
 // user should be lower case, between 3 and 15 characters long
-[argeo:userHome] > mix:created, mix:lastModified
-mixin
-- argeo:userID (STRING) m
-- argeo:remoteRoles (STRING) *
+//[argeo:userHome] > mix:created, mix:lastModified
+//mixin
+//- argeo:userID (STRING) m
+//- argeo:remoteRoles (STRING) *
 // deprecated. for backward compatibility:
-+ argeo:profile (argeo:userProfile)
-+ argeo:keyring (argeo:pbeSpec)
-+ argeo:preferences (argeo:preferenceNode)
+//+ argeo:profile (argeo:userProfile)
+//+ argeo:keyring (argeo:pbeSpec)
+//+ argeo:preferences (argeo:preferenceNode)
 
-[argeo:userProfile] > mix:created, mix:lastModified, mix:title, mix:versionable
-mixin
-- argeo:userID (STRING) m
-- argeo:enabled (BOOLEAN)
-- argeo:accountNonExpired (BOOLEAN)
-- argeo:accountNonLocked (BOOLEAN)
-- argeo:credentialsNonExpired (BOOLEAN)
+//[argeo:userProfile] > mix:created, mix:lastModified, mix:title, mix:versionable
+//mixin
+//- argeo:userID (STRING) m
+//- argeo:enabled (BOOLEAN)
+//- argeo:accountNonExpired (BOOLEAN)
+//- argeo:accountNonLocked (BOOLEAN)
+//- argeo:credentialsNonExpired (BOOLEAN)
 
-[argeo:preferenceNode] > mix:lastModified, mix:versionable
-mixin
-+ * (argeo:preferenceNode) * version
+//[argeo:preferenceNode] > mix:lastModified, mix:versionable
+//mixin
+//+ * (argeo:preferenceNode) * version
 
 [argeo:remoteRepository] > nt:unstructured
 - argeo:uri (STRING)