Examples of findUuid()


Examples of com.esri.gpt.catalog.arcims.ImsMetadataAdminDao.findUuid()

    }
   
    // determine the document uuid (the supplied id could be a gpt uuid or file identifier)
    if (id.length() > 0) {
      ImsMetadataAdminDao dao = new ImsMetadataAdminDao(context);
      uuid = dao.findUuid(id);
      if (!force && ((uuid == null) || (uuid.length() == 0))) {
        String tmpId = UuidUtil.addCurlies(id);
        if (tmpId.length() == 38) {
          uuid = tmpId;
        }
View Full Code Here

Examples of com.esri.gpt.catalog.arcims.ImsMetadataAdminDao.findUuid()

    TransactionSummary tSummary = tOptions.getSummary();
    ImsMetadataAdminDao dao = new ImsMetadataAdminDao(context.getRequestContext());
    MmdActionCriteria actionCriteria = new MmdActionCriteria();
    actionCriteria.setActionKey("delete");
    for (String id: ids) {
      String uuid = Val.chkStr(dao.findUuid(id));
      if (uuid.length() == 0) {
        // TODO: throw an exception here?
      } else {
        actionCriteria.getSelectedRecordIdSet().add(uuid);
      }
View Full Code Here

Examples of com.esri.gpt.catalog.arcims.ImsMetadataAdminDao.findUuid()

  public String provideOriginalXml(OperationContext context, String id) throws Exception {
    RequestContext reqContext = context.getRequestContext();
   
    // if a file-identifier was passed, determine it's associated uuid
    ImsMetadataAdminDao dao = new ImsMetadataAdminDao(reqContext);
    String docUuid = dao.findUuid(id);
    if (docUuid.length() > 0) {
      id = docUuid;
    } else {
      return "";
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.