Package com.google.enterprise.connector.otex.client

Examples of com.google.enterprise.connector.otex.client.ClientValue.toValue()


    try {
      ClientValue results = getLastAuditEvent();
      if (results.size() > 0) {
        checkpoint.setDeleteCheckpoint(
            dateFormat.parse(results.toString(0, "AuditDate")),
            results.toValue(0, "EventID"));
      } else {
        LOGGER.fine("Unable to establish initial Deleted Items " +
            "Checkpoint: No query results.");
        checkpoint.setDeleteCheckpoint(new Date(), null);
      }
View Full Code Here


    ClientValue userName = userNameCache.get(new Integer(id));
    if (userName == null) {
      // User is not in the cache, get the name from the server.
      ClientValue userInfo = client.GetUserOrGroupByIDNoThrow(id);
      if (userInfo != null)
        userName = userInfo.toValue("Name");
      if (userName == null || !userName.isDefined()) {
        if (LOGGER.isLoggable(Level.WARNING)) {
          LOGGER.warning("No user or group name found for ID " + id);
        }
        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.