Examples of deleteItem()


Examples of com.amazonaws.services.dynamodbv2.AmazonDynamoDB.deleteItem()

    @Override
    @Cacheable.FlushBefore
    public boolean remove(@NotNull final Domain domain) {
        final AmazonDynamoDB amazon = this.client.get();
        amazon.deleteItem(
            new DeleteItemRequest(
                this.table,
                new ImmutableMap.Builder<String, AttributeValue>()
                    .put(DefaultDynamo.NAME, new AttributeValue(domain.name()))
                    .build()
View Full Code Here

Examples of com.centraview.account.accountfacade.AccountFacade.deleteItem()

        if(rowId[i] != null && !rowId[i].equals(""))
        {
          int elementID = Integer.parseInt(rowId[i]);
          try
          {
      remote.deleteItem(individualId,elementID);
          } catch(AuthorizationFailedException ae) {
            String errorMessage = ae.getExceptionDescription();
            deleteLog.add(errorMessage);
          } catch(RemoteException re) {
            logger.error("[execute] Exception thrown.", re);
View Full Code Here

Examples of com.centraview.account.item.ItemLocal.deleteItem()

  {
    InitialContext ic = CVUtility.getInitialContext();
    ItemLocalHome home = (ItemLocalHome) ic.lookup("local/Item");
    ItemLocal invoice = home.create();
    invoice.setDataSource(this.dataSource);
    invoice.deleteItem(individualID, itemId);
  }

  public void deleteVendor(int entityID, int userID) throws NamingException, CreateException
  {
    InitialContext ic = CVUtility.getInitialContext();
View Full Code Here

Examples of com.cloud.bridge.model.SObject.deleteItem()

               return response;
            }
            else {
               // -> just delete the one item that matches the versionId from the database
               storedPath = item.getStoredPath();
               sobject.deleteItem( item.getId());
               objectDao.update( sobject );          
            }
       }
      }
    else
View Full Code Here

Examples of com.cloud.bridge.model.SObjectVO.deleteItem()

                    return response;
                }
                else {
                    // Providing versionId is non-null, then just delete the one item that matches the versionId from the database
                    storedPath = item.getStoredPath();
                    sobject.deleteItem( item.getId());
                    objectDao.update(sobject.getId(), sobject );
                    response.setResultDescription("<VersionId>" + wantVersion +"</VersionId>");
                }
            }
        }
View Full Code Here

Examples of com.cloud.bridge.model.SObjectVO.deleteItem()

                    response.setResultCode(404);
                    return response;
                } else {
                    // Providing versionId is non-null, then just delete the one item that matches the versionId from the database
                    storedPath = item.getStoredPath();
                    sobject.deleteItem(item.getId());
                    objectDao.update(sobject.getId(), sobject);
                    response.setResultDescription("<VersionId>" + wantVersion + "</VersionId>");
                }
            }
        } else {     // If versioning is off then we do delete the null object
View Full Code Here

Examples of com.cloud.bridge.model.SObjectVO.deleteItem()

               return response;
            }
            else {
               // Providing versionId is non-null, then just delete the one item that matches the versionId from the database
               storedPath = item.getStoredPath();
               sobject.deleteItem( item.getId());
               objectDao.update(sobject.getId(), sobject );
               response.setResultDescription("<VersionId>" + wantVersion +"</VersionId>");
            }
       }
      }
View Full Code Here

Examples of com.cloud.bridge.model.SObjectVO.deleteItem()

                    return response;
                }
                else {
                    // Providing versionId is non-null, then just delete the one item that matches the versionId from the database
                    storedPath = item.getStoredPath();
                    sobject.deleteItem( item.getId());
                    objectDao.update(sobject.getId(), sobject );
                    response.setResultDescription("<VersionId>" + wantVersion +"</VersionId>");
                }
            }
        }
View Full Code Here

Examples of com.cloud.bridge.model.SObjectVO.deleteItem()

                    return response;
                }
                else {
                    // Providing versionId is non-null, then just delete the one item that matches the versionId from the database
                    storedPath = item.getStoredPath();
                    sobject.deleteItem( item.getId());
                    objectDao.update(sobject.getId(), sobject );
                    response.setResultDescription("<VersionId>" + wantVersion +"</VersionId>");
                }
            }
        }
View Full Code Here

Examples of edu.uga.galileo.voci.model.ItemManager.deleteItem()

              + "the requested item.");
        } else {
          try {
            item = itemManager.getItemForUpdate(command, itemId,
                false, request.getSession());
            itemManager.deleteItem(item, ((User) request
                .getSession().getAttribute("user")));
            updated = true;
            request.setAttribute("successMessage", "Item " + itemId
                + " successfully deleted.");
          } catch (NoSuchItemException e) {
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.