queryParams.putSingle(IRelationsManager.SUBJECT_QP, subjectCSID);
queryParams.putSingle(IRelationsManager.OBJECT_QP, objectCSID);
- RelationResource relationResource = new RelationResource();
+ RelationResource relationResource = new RelationResource(); //is this still acting like a singleton as it should be?
RelationsCommonList relationsCommonList = relationResource.getList(ctx.getUriInfo());
return relationsCommonList;
}
return this.getRelationList(queryParams, subjectCsid, subjectType, predicate, objectCsid, objectType);
}
- //this is called by collectionobjectresource...so it is still public.
- public RelationsCommonList getRelationList(MultivaluedMap<String, String> queryParams, String subjectCsid, String subjectType,
+ private RelationsCommonList getRelationList(MultivaluedMap<String, String> queryParams, String subjectCsid, String subjectType,
String predicate, String objectCsid, String objectType) throws WebApplicationException {
try {
ServiceContext<PoxPayloadIn, PoxPayloadOut> ctx = createServiceContext(queryParams);
*/
@Override
protected String getPrimaryDisplayName(DocumentModel docModel,
- String schema, String complexPropertyName, String fieldName) {
+ String schema, String complexPropertyName, String fieldName) { // ignore 'complexPropertyName', and 'fieldName' -use VocabularyItem specific alternatives instead.
String result = null;
try {