Esempio n. 1
0
 @Override
 public FileReadLockKey readObject(ObjectInput input)
     throws IOException, ClassNotFoundException {
   String indexName = input.readUTF();
   String fileName = input.readUTF();
   return new FileReadLockKey(indexName, fileName);
 }
Esempio n. 2
0
  /**
   * Reads object from data input. Note we do not use externalizable interface to eliminate
   * marshaller.
   *
   * @param in Data input.
   * @throws IOException If read failed.
   */
  @Override
  public void readExternal(ObjectInput in) throws IOException {
    start = in.readLong();
    len = in.readLong();

    int size;

    if (in.readBoolean()) {
      size = in.readInt();

      nodeIds = new ArrayList<>(size);

      for (int i = 0; i < size; i++) nodeIds.add(U.readUuid(in));
    }

    size = in.readInt();

    names = new ArrayList<>(size);

    for (int i = 0; i < size; i++) names.add(in.readUTF());

    size = in.readInt();

    hosts = new ArrayList<>(size);

    for (int i = 0; i < size; i++) hosts.add(in.readUTF());
  }
 @Override
 public ChunkCacheKey readObject(ObjectInput input) throws IOException {
   String indexName = input.readUTF();
   String fileName = input.readUTF();
   int chunkId = UnsignedNumeric.readUnsignedInt(input);
   return new ChunkCacheKey(indexName, fileName, chunkId);
 }
Esempio n. 4
0
 @SuppressWarnings("unchecked")
 @Override
 public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
   super.readExternal(in);
   libelle = in.readUTF();
   emplacement = in.readUTF();
   allees = (ArrayList<String>) in.readObject();
 }
Esempio n. 5
0
 public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
   this.expr = in.readUTF();
   String type = in.readUTF();
   if (!"".equals(type)) {
     this.expectedType = ReflectionUtil.forName(type);
   }
   this.paramTypes = ReflectionUtil.toTypeArray(((String[]) in.readObject()));
 }
Esempio n. 6
0
 /**
  * It reads serialized data coming from flex client
  *
  * @param in
  * @throws IOException
  * @throws ClassNotFoundException
  */
 public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
   // TODO Auto-generated method stub
   toolTip = in.readUTF();
   pathId = in.readUTF();
   isSelected = in.readBoolean();
   sourceNodeId = in.readInt();
   destinationNodeId = in.readInt();
 }
Esempio n. 7
0
 @Override
 public void readExternal(ObjectInput objectInput) throws IOException {
   kvid = objectInput.readLong();
   userId = objectInput.readLong();
   ngayAdd = objectInput.readLong();
   tenKv = objectInput.readUTF();
   diaChi = objectInput.readUTF();
 }
 public void readExternal(ObjectInput objectInput) throws IOException {
   jiraChangeItemId = objectInput.readLong();
   jiraChangeGroupId = objectInput.readLong();
   field = objectInput.readUTF();
   oldValue = objectInput.readUTF();
   oldString = objectInput.readUTF();
   newValue = objectInput.readUTF();
   newString = objectInput.readUTF();
 }
Esempio n. 9
0
 @Override
 public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
   firstName = in.readUTF();
   lastName = in.readUTF();
   age = in.readInt();
   mother = (Person) in.readObject();
   father = (Person) in.readObject();
   children = (ArrayList) in.readObject();
 }
 @Override
 public void readExternal(final ObjectInput in) throws IOException, ClassNotFoundException {
   nodeSource = in.readUTF();
   databaseName = in.readUTF();
   runId = in.readLong();
   operationSerial = in.readLong();
   mode = EXECUTION_MODE.values()[in.readByte()];
   status = STATUS.values()[in.readByte()];
 }
 @Override
 public void readExternal(ObjectInput objectInput) throws IOException {
   uuid = objectInput.readUTF();
   moduleId = objectInput.readLong();
   appId = objectInput.readLong();
   bundleSymbolicName = objectInput.readUTF();
   bundleVersion = objectInput.readUTF();
   contextName = objectInput.readUTF();
 }
Esempio n. 12
0
 public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
   this.expr = in.readUTF();
   String type = in.readUTF();
   if (!"".equals(type)) {
     this.expectedType = ReflectionUtil.forName(type);
   }
   this.fnMapper = (FunctionMapper) in.readObject();
   this.varMapper = (VariableMapper) in.readObject();
 }
 @Override
 public void readExternal(ObjectInput objectInput) throws IOException {
   eventID = objectInput.readLong();
   event_type = objectInput.readUTF();
   event = objectInput.readUTF();
   who = objectInput.readUTF();
   period_start = objectInput.readLong();
   period_end = objectInput.readLong();
   etimestamp = objectInput.readLong();
 }
  @Override
  public void readExternal(ObjectInput objectInput) throws IOException {
    kaleoActionId = objectInput.readLong();

    groupId = objectInput.readLong();

    companyId = objectInput.readLong();

    userId = objectInput.readLong();
    userName = objectInput.readUTF();
    createDate = objectInput.readLong();
    modifiedDate = objectInput.readLong();
    kaleoClassName = objectInput.readUTF();

    kaleoClassPK = objectInput.readLong();

    kaleoDefinitionId = objectInput.readLong();
    kaleoNodeName = objectInput.readUTF();
    name = objectInput.readUTF();
    description = objectInput.readUTF();
    executionType = objectInput.readUTF();
    script = objectInput.readUTF();
    scriptLanguage = objectInput.readUTF();
    scriptRequiredContexts = objectInput.readUTF();

    priority = objectInput.readInt();
  }
 @Override
 public void readExternal(ObjectInput objectInput) throws IOException {
   articleImageId = objectInput.readLong();
   groupId = objectInput.readLong();
   articleId = objectInput.readUTF();
   version = objectInput.readDouble();
   elInstanceId = objectInput.readUTF();
   elName = objectInput.readUTF();
   languageId = objectInput.readUTF();
   tempImage = objectInput.readBoolean();
 }
 @Override
 public void readExternal(ObjectInput objectInput) throws IOException {
   feedId = objectInput.readLong();
   companyId = objectInput.readLong();
   userId = objectInput.readLong();
   userName = objectInput.readUTF();
   createDate = objectInput.readLong();
   modifiedDate = objectInput.readLong();
   twitterUserId = objectInput.readLong();
   twitterScreenName = objectInput.readUTF();
   lastStatusId = objectInput.readLong();
 }
Esempio n. 17
0
 @Override
 public void readExternal(ObjectInput objectInput) throws IOException {
   unitId = objectInput.readLong();
   name = objectInput.readUTF();
   departmentId = objectInput.readLong();
   groupId = objectInput.readLong();
   companyId = objectInput.readLong();
   userId = objectInput.readLong();
   userName = objectInput.readUTF();
   createDate = objectInput.readLong();
   modifiedDate = objectInput.readLong();
 }
 public void readExternal(ObjectInput objectInput) throws IOException {
   uuid = objectInput.readUTF();
   fileEntryTypeId = objectInput.readLong();
   groupId = objectInput.readLong();
   companyId = objectInput.readLong();
   userId = objectInput.readLong();
   userName = objectInput.readUTF();
   createDate = objectInput.readLong();
   modifiedDate = objectInput.readLong();
   name = objectInput.readUTF();
   description = objectInput.readUTF();
 }
Esempio n. 19
0
    public void readExternal(ObjectInput objectInput) throws IOException {
      if (objectInput.readBoolean()) {
        setNationalNumberPattern(objectInput.readUTF());
      }

      if (objectInput.readBoolean()) {
        setPossibleNumberPattern(objectInput.readUTF());
      }

      if (objectInput.readBoolean()) {
        setExampleNumber(objectInput.readUTF());
      }
    }
 @Override
 public void readExternal(ObjectInput objectInput) throws IOException {
   entryId = objectInput.readLong();
   groupId = objectInput.readLong();
   companyId = objectInput.readLong();
   userId = objectInput.readLong();
   userName = objectInput.readUTF();
   createDate = objectInput.readLong();
   modifiedDate = objectInput.readLong();
   fullName = objectInput.readUTF();
   emailAddress = objectInput.readUTF();
   comments = objectInput.readUTF();
 }
Esempio n. 21
0
 @Override
 public void readExternal(ObjectInput objectInput) throws IOException {
   folderId = objectInput.readLong();
   companyId = objectInput.readLong();
   userId = objectInput.readLong();
   userName = objectInput.readUTF();
   createDate = objectInput.readLong();
   modifiedDate = objectInput.readLong();
   accountId = objectInput.readLong();
   fullName = objectInput.readUTF();
   displayName = objectInput.readUTF();
   remoteMessageCount = objectInput.readInt();
 }
Esempio n. 22
0
 @Override
 public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
   role = in.readUTF();
   instanceId = (InstanceId) in.readObject();
   clusterUri = URI.create(in.readUTF());
   roleUri = URI.create(in.readUTF());
   // if MemberIsAvailable message comes from old instance than we can't read storeId
   try {
     storeId = StoreId.from(in);
   } catch (IOException e) {
     storeId = StoreId.DEFAULT;
   }
 }
Esempio n. 23
0
 @Override
 public void readExternal(ObjectInput objectInput) throws IOException {
   interviewId = objectInput.readLong();
   name = objectInput.readUTF();
   titlesId = objectInput.readLong();
   deleted = objectInput.readBoolean();
   groupId = objectInput.readLong();
   companyId = objectInput.readLong();
   userId = objectInput.readLong();
   userName = objectInput.readUTF();
   createDate = objectInput.readLong();
   modifiedDate = objectInput.readLong();
 }
Esempio n. 24
0
 @Override
 public void readExternal(ObjectInput objectInput) throws IOException {
   districtId = objectInput.readLong();
   regionCode = objectInput.readUTF();
   districtType = objectInput.readUTF();
   name = objectInput.readUTF();
   groupId = objectInput.readLong();
   companyId = objectInput.readLong();
   userId = objectInput.readLong();
   userName = objectInput.readUTF();
   createDate = objectInput.readLong();
   modifiedDate = objectInput.readLong();
 }
 public void readExternal(ObjectInput objectInput) throws IOException {
   uuid = objectInput.readUTF();
   pageId = objectInput.readLong();
   resourcePrimKey = objectInput.readLong();
   groupId = objectInput.readLong();
   companyId = objectInput.readLong();
   userId = objectInput.readLong();
   userName = objectInput.readUTF();
   createDate = objectInput.readLong();
   modifiedDate = objectInput.readLong();
   nodeId = objectInput.readLong();
   title = objectInput.readUTF();
   version = objectInput.readDouble();
   minorEdit = objectInput.readBoolean();
   content = objectInput.readUTF();
   summary = objectInput.readUTF();
   format = objectInput.readUTF();
   head = objectInput.readBoolean();
   parentTitle = objectInput.readUTF();
   redirectTitle = objectInput.readUTF();
   status = objectInput.readInt();
   statusByUserId = objectInput.readLong();
   statusByUserName = objectInput.readUTF();
   statusDate = objectInput.readLong();
 }
 @Override
 public void readExternal(ObjectInput objectInput) throws IOException {
   mvccVersion = objectInput.readLong();
   layoutBranchId = objectInput.readLong();
   groupId = objectInput.readLong();
   companyId = objectInput.readLong();
   userId = objectInput.readLong();
   userName = objectInput.readUTF();
   layoutSetBranchId = objectInput.readLong();
   plid = objectInput.readLong();
   name = objectInput.readUTF();
   description = objectInput.readUTF();
   master = objectInput.readBoolean();
 }
Esempio n. 27
0
 @Override
 public void readExternal(ObjectInput objectInput) throws IOException {
   entryId = objectInput.readLong();
   groupId = objectInput.readLong();
   companyId = objectInput.readLong();
   userId = objectInput.readLong();
   userName = objectInput.readUTF();
   createDate = objectInput.readLong();
   modifiedDate = objectInput.readLong();
   name = objectInput.readUTF();
   email = objectInput.readUTF();
   message = objectInput.readUTF();
   guestbookId = objectInput.readLong();
 }
Esempio n. 28
0
 public void readExternal(ObjectInput objectInput) throws IOException {
   setPattern(objectInput.readUTF());
   setFormat(objectInput.readUTF());
   int leadingDigitsPatternSize = objectInput.readInt();
   for (int i = 0; i < leadingDigitsPatternSize; i++) {
     leadingDigitsPattern_.add(objectInput.readUTF());
   }
   if (objectInput.readBoolean()) {
     setNationalPrefixFormattingRule(objectInput.readUTF());
   }
   if (objectInput.readBoolean()) {
     setDomesticCarrierCodeFormattingRule(objectInput.readUTF());
   }
   setNationalPrefixOptionalWhenFormatting(objectInput.readBoolean());
 }
 @Override
 public void readExternal(ObjectInput objectInput) throws IOException {
   uuid = objectInput.readUTF();
   sapEntryId = objectInput.readLong();
   companyId = objectInput.readLong();
   userId = objectInput.readLong();
   userName = objectInput.readUTF();
   createDate = objectInput.readLong();
   modifiedDate = objectInput.readLong();
   allowedServiceSignatures = objectInput.readUTF();
   defaultSAPEntry = objectInput.readBoolean();
   enabled = objectInput.readBoolean();
   name = objectInput.readUTF();
   title = objectInput.readUTF();
 }
 public void readExternal(ObjectInput objectInput) throws IOException {
   meetupsEntryId = objectInput.readLong();
   companyId = objectInput.readLong();
   userId = objectInput.readLong();
   userName = objectInput.readUTF();
   createDate = objectInput.readLong();
   modifiedDate = objectInput.readLong();
   title = objectInput.readUTF();
   description = objectInput.readUTF();
   startDate = objectInput.readLong();
   endDate = objectInput.readLong();
   totalAttendees = objectInput.readInt();
   maxAttendees = objectInput.readInt();
   price = objectInput.readDouble();
   thumbnailId = objectInput.readLong();
 }