com.evernote.edam.type
Class SavedSearchScope

java.lang.Object
  extended by com.evernote.edam.type.SavedSearchScope
All Implemented Interfaces:
com.evernote.thrift.TBase<SavedSearchScope>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<SavedSearchScope>

public class SavedSearchScope
extends java.lang.Object
implements com.evernote.thrift.TBase<SavedSearchScope>, java.io.Serializable, java.lang.Cloneable

A structure defining the scope of a SavedSearch.

includeAccount
The search should include notes from the account that contains the SavedSearch.
includePersonalLinkedNotebooks
The search should include notes within those shared notebooks that the user has joined that are NOT business notebooks.
includeBusinessLinkedNotebooks
The search should include notes within those shared notebooks that the user has joined that are business notebooks in the business that the user is currently a member of.

See Also:
Serialized Form

Constructor Summary
SavedSearchScope()
           
SavedSearchScope(SavedSearchScope other)
          Performs a deep copy on other.
 
Method Summary
 void clear()
          Return to the state of having just been initialized, as though you had just called the default constructor.
 int compareTo(SavedSearchScope other)
           
 SavedSearchScope deepCopy()
          Creates a deep copy of the object.
 boolean equals(java.lang.Object that)
           
 boolean equals(SavedSearchScope that)
           
 int hashCode()
           
 boolean isIncludeAccount()
           
 boolean isIncludeBusinessLinkedNotebooks()
           
 boolean isIncludePersonalLinkedNotebooks()
           
 boolean isSetIncludeAccount()
          Returns true if field includeAccount is set (has been asigned a value) and false otherwise
 boolean isSetIncludeBusinessLinkedNotebooks()
          Returns true if field includeBusinessLinkedNotebooks is set (has been asigned a value) and false otherwise
 boolean isSetIncludePersonalLinkedNotebooks()
          Returns true if field includePersonalLinkedNotebooks is set (has been asigned a value) and false otherwise
 void read(com.evernote.thrift.protocol.TProtocol iprot)
          Reads an instance of the object from the given protocol.
 void setIncludeAccount(boolean includeAccount)
           
 void setIncludeAccountIsSet(boolean value)
           
 void setIncludeBusinessLinkedNotebooks(boolean includeBusinessLinkedNotebooks)
           
 void setIncludeBusinessLinkedNotebooksIsSet(boolean value)
           
 void setIncludePersonalLinkedNotebooks(boolean includePersonalLinkedNotebooks)
           
 void setIncludePersonalLinkedNotebooksIsSet(boolean value)
           
 java.lang.String toString()
           
 void unsetIncludeAccount()
           
 void unsetIncludeBusinessLinkedNotebooks()
           
 void unsetIncludePersonalLinkedNotebooks()
           
 void validate()
           
 void write(com.evernote.thrift.protocol.TProtocol oprot)
          Writes the object to the given protocol.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SavedSearchScope

public SavedSearchScope()

SavedSearchScope

public SavedSearchScope(SavedSearchScope other)
Performs a deep copy on other.

Method Detail

deepCopy

public SavedSearchScope deepCopy()
Description copied from interface: com.evernote.thrift.TBase
Creates a deep copy of the object.

Specified by:
deepCopy in interface com.evernote.thrift.TBase<SavedSearchScope>

clear

public void clear()
Description copied from interface: com.evernote.thrift.TBase
Return to the state of having just been initialized, as though you had just called the default constructor.

Specified by:
clear in interface com.evernote.thrift.TBase<SavedSearchScope>

isIncludeAccount

public boolean isIncludeAccount()

setIncludeAccount

public void setIncludeAccount(boolean includeAccount)

unsetIncludeAccount

public void unsetIncludeAccount()

isSetIncludeAccount

public boolean isSetIncludeAccount()
Returns true if field includeAccount is set (has been asigned a value) and false otherwise


setIncludeAccountIsSet

public void setIncludeAccountIsSet(boolean value)

isIncludePersonalLinkedNotebooks

public boolean isIncludePersonalLinkedNotebooks()

setIncludePersonalLinkedNotebooks

public void setIncludePersonalLinkedNotebooks(boolean includePersonalLinkedNotebooks)

unsetIncludePersonalLinkedNotebooks

public void unsetIncludePersonalLinkedNotebooks()

isSetIncludePersonalLinkedNotebooks

public boolean isSetIncludePersonalLinkedNotebooks()
Returns true if field includePersonalLinkedNotebooks is set (has been asigned a value) and false otherwise


setIncludePersonalLinkedNotebooksIsSet

public void setIncludePersonalLinkedNotebooksIsSet(boolean value)

isIncludeBusinessLinkedNotebooks

public boolean isIncludeBusinessLinkedNotebooks()

setIncludeBusinessLinkedNotebooks

public void setIncludeBusinessLinkedNotebooks(boolean includeBusinessLinkedNotebooks)

unsetIncludeBusinessLinkedNotebooks

public void unsetIncludeBusinessLinkedNotebooks()

isSetIncludeBusinessLinkedNotebooks

public boolean isSetIncludeBusinessLinkedNotebooks()
Returns true if field includeBusinessLinkedNotebooks is set (has been asigned a value) and false otherwise


setIncludeBusinessLinkedNotebooksIsSet

public void setIncludeBusinessLinkedNotebooksIsSet(boolean value)

equals

public boolean equals(java.lang.Object that)
Overrides:
equals in class java.lang.Object

equals

public boolean equals(SavedSearchScope that)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

compareTo

public int compareTo(SavedSearchScope other)
Specified by:
compareTo in interface java.lang.Comparable<SavedSearchScope>

read

public void read(com.evernote.thrift.protocol.TProtocol iprot)
          throws com.evernote.thrift.TException
Description copied from interface: com.evernote.thrift.TBase
Reads an instance of the object from the given protocol.

Specified by:
read in interface com.evernote.thrift.TBase<SavedSearchScope>
Parameters:
iprot - Input protocol
Throws:
com.evernote.thrift.TException

write

public void write(com.evernote.thrift.protocol.TProtocol oprot)
           throws com.evernote.thrift.TException
Description copied from interface: com.evernote.thrift.TBase
Writes the object to the given protocol.

Specified by:
write in interface com.evernote.thrift.TBase<SavedSearchScope>
Parameters:
oprot - Output protocol
Throws:
com.evernote.thrift.TException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

validate

public void validate()
              throws com.evernote.thrift.TException
Throws:
com.evernote.thrift.TException