Code example for ObjectInput

Methods: readBooleanreadDoublereadIntreadLongreadUTFreadObject

0
	} 
 
	@Override 
	public void readExternal(ObjectInput objectInput)
		throws ClassNotFoundException, IOException {
		uuid = objectInput.readUTF();
		id = objectInput.readLong();
		resourcePrimKey = objectInput.readLong();
		groupId = objectInput.readLong();
		companyId = objectInput.readLong();
		userId = objectInput.readLong();
		userName = objectInput.readUTF();
		createDate = objectInput.readLong();
		modifiedDate = objectInput.readLong();
		folderId = objectInput.readLong();
		classNameId = objectInput.readLong();
		classPK = objectInput.readLong();
		treePath = objectInput.readUTF();
		articleId = objectInput.readUTF();
		version = objectInput.readDouble();
		title = objectInput.readUTF();
		urlTitle = objectInput.readUTF();
		description = objectInput.readUTF();
		content = objectInput.readUTF();
		DDMStructureKey = objectInput.readUTF();
		DDMTemplateKey = objectInput.readUTF();
		layoutUuid = objectInput.readUTF();
		displayDate = objectInput.readLong();
		expirationDate = objectInput.readLong();
		reviewDate = objectInput.readLong();
		indexable = objectInput.readBoolean();
		smallImage = objectInput.readBoolean();
		smallImageId = objectInput.readLong();
		smallImageURL = objectInput.readUTF();
		status = objectInput.readInt();
		statusByUserId = objectInput.readLong();
		statusByUserName = objectInput.readUTF();
		statusDate = objectInput.readLong();
 
		_defaultLanguageId = (java.lang.String)objectInput.readObject();
		_document = (com.liferay.portal.kernel.xml.Document)objectInput.readObject();
	} 
 
	@Override 
	public void writeExternal(ObjectOutput objectOutput)
		throws IOException {
Experience pair programming with AI  Get Codota for Java