public static RcObjectMetadata getRcObjMd(String extObjId) throws RcMetadataException { RcWebApp rcWebApp = RcWebApp.getInstance(); String extObjIdParts[] = extObjId.split("/", 2); String collId = extObjIdParts[0]; String objId = extObjIdParts[1]; RcCollectionMetadata rcCollMd = rcWebApp.getCollectionMetadata(collId); if (rcCollMd == null) { throw new RcMetadataException("Unable to find collection metadata for " + collId + "."); } RcObjectMetadata rcObjMd = rcCollMd.getObject(objId); if (rcObjMd == null) { throw new RcMetadataException("Unable to find object metadata for " + objId + " in collection " + collId + "."); } return rcObjMd; }
RcObjectMetadata rcObjMd = rcCollMd.getObject(objId); if (rcObjMd == null) { throw new ServletException(exceptionPrefix + "object metadata for " + objId + " in collection " + collId + " was not found.");
RcObjectMetadata rcObjMd = rcCollMd.getObject(objId); if (rcObjMd == null) { throw new ServletException(exPrefix + "Object metadata for " + objId + " in collection " + collId + " was not found.");
RcObjectMetadata rcObjMd = rcCollMd.getObject(objId); if (rcObjMd == null) { throw new ServletException(exceptionPrefix + "object metadata for " + objId + " in collection " + collId + " was not found.");
RcObjectMetadata rcObjMd = rcCollMd.getObject(objId); if (rcObjMd == null) { throw new ServletException(exPrefix + "Object metadata for " + objId + " in collection " + collId + " was not found.");
RcObjectMetadata rcObjMd = rcCollMd.getObject(objId); if (rcObjMd == null) { throw new ServletException(exceptionPrefix + "object metadata for " + objId + " in collection " + collId + " was not found.");
rcObjMd = rcCollMd.getObject(objId); if (rcObjMd == null) { throw new RcIndexerException(exceptionPrefix + "object id \"" + objId + "\" not found in collection \"" + collId + "\""); rcObjMd = rcCollMd.getObject(objId); if (rcObjMd == null) { throw new RcIndexerException(exceptionPrefix + "object id \"" + objId + "\" not found in collection \"" + collId + "\"");
RcObjectMetadata rcObjMd = rcCollMd.getObject(objId); if (rcObjMd == null) { throw new ServletException(exceptionPrefix + "object metadata for " + objId + " in collection " + collId + " was not found.");
RcObjectMetadata rcObjMd = rcCollMd.getObject(objId); if (rcObjMd == null) { throw new RcMetadataException(EXCEPTION_PREFIX + "object metadata for " + objId + " in collection " + collId + " was not found.");