View Javadoc
1   package org.argeo.connect;
2   
3   /** Connect generic JCR names. */
4   public interface ConnectNames {
5   
6   	/**
7   	 * An implementation specific UID, might be a JCR node Identifier but it is
8   	 * not compulsory We personally use the type 4 (pseudo randomly generated)
9   	 * UUID - we retrieve them simply in java with this method
10  	 * <code>UUID.randomUUID().toString()</code> Class 3 UUID of the
11  	 * distinguished name in UTF-8
12  	 */
13  	String CONNECT_UID = "connect:uid";
14  
15  	String CONNECT_PHOTO = "photo";
16  
17  	/* EXTERNAL IDS */
18  	String CONNECT_EXTERNAL_IDS = "externalIds"; // parent node for external ids
19  	String CONNECT_SOURCE_URI = "connect:sourceUri";
20  	String CONNECT_SOURCE_ID = "connect:sourceId";
21  	String CONNECT_EXTERNAL_UID = "connect:externalUid";
22  
23  	// Defines various standard property names
24  	String CONNECT_DATE_BEGIN = "connect:dateBegin";
25  	String CONNECT_DATE_END = "connect:dateEnd";
26  
27  	String CONNECT_CLOSE_DATE = "connect:closeDate";
28  	String CONNECT_CLOSED_BY = "connect:closedBy";
29  
30  	// Widely used property names
31  	// String CONNECT_LANG = "connect:lang";
32  	// Reference an other entity using the business specific UID
33  	// String CONNECT_REF_UID = "connect:refUid";
34  	// Primary flag
35  	// String CONNECT_IS_PRIMARY = "connect:isPrimary";
36  }