|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.evernote.edam.type.NotebookRestrictions
public class NotebookRestrictions
This structure captures information about the types of operations that cannot be performed on a given notebook with a type of authenticated access and credentials. The values filled into this structure are based on then-current values in the server database for shared notebooks and notebook publishing records, as well as information related to the authentication token. Information from the authentication token includes the application that is accessing the server, as defined by the permissions granted by consumer (api) key, and the method used to obtain the token, for example via authenticateToSharedNotebook, authenticateToBusiness, etc. Note that changes to values in this structure that are the result of shared notebook or publishing record changes are communicated to the client via a change in the notebook USN during sync. It is important to use the same access method, parameters, and consumer key in order obtain correct results from the sync engine. The server has the final say on what is allowed as values may change between calls to obtain NotebookRestrictions instances and to operate on data on the service. If the following are set and true, then the given restriction is in effect, as accessed by the same authentication token from which the values were obtained.
Constructor Summary | |
---|---|
NotebookRestrictions()
|
|
NotebookRestrictions(NotebookRestrictions 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(NotebookRestrictions other)
|
NotebookRestrictions |
deepCopy()
Creates a deep copy of the object. |
boolean |
equals(NotebookRestrictions that)
|
boolean |
equals(java.lang.Object that)
|
SharedNotebookInstanceRestrictions |
getExpungeWhichSharedNotebookRestrictions()
|
SharedNotebookInstanceRestrictions |
getUpdateWhichSharedNotebookRestrictions()
|
int |
hashCode()
|
boolean |
isNoCreateNotes()
|
boolean |
isNoCreateSharedNotebooks()
|
boolean |
isNoCreateTags()
|
boolean |
isNoEmailNotes()
|
boolean |
isNoExpungeNotebook()
|
boolean |
isNoExpungeNotes()
|
boolean |
isNoExpungeTags()
|
boolean |
isNoPublishToBusinessLibrary()
|
boolean |
isNoPublishToPublic()
|
boolean |
isNoReadNotes()
|
boolean |
isNoSendMessageToRecipients()
|
boolean |
isNoSetDefaultNotebook()
|
boolean |
isNoSetNotebookStack()
|
boolean |
isNoSetParentTag()
|
boolean |
isNoShareNotes()
|
boolean |
isNoUpdateNotebook()
|
boolean |
isNoUpdateNotes()
|
boolean |
isNoUpdateTags()
|
boolean |
isSetExpungeWhichSharedNotebookRestrictions()
Returns true if field expungeWhichSharedNotebookRestrictions is set (has been asigned a value) and false otherwise |
boolean |
isSetNoCreateNotes()
Returns true if field noCreateNotes is set (has been asigned a value) and false otherwise |
boolean |
isSetNoCreateSharedNotebooks()
Returns true if field noCreateSharedNotebooks is set (has been asigned a value) and false otherwise |
boolean |
isSetNoCreateTags()
Returns true if field noCreateTags is set (has been asigned a value) and false otherwise |
boolean |
isSetNoEmailNotes()
Returns true if field noEmailNotes is set (has been asigned a value) and false otherwise |
boolean |
isSetNoExpungeNotebook()
Returns true if field noExpungeNotebook is set (has been asigned a value) and false otherwise |
boolean |
isSetNoExpungeNotes()
Returns true if field noExpungeNotes is set (has been asigned a value) and false otherwise |
boolean |
isSetNoExpungeTags()
Returns true if field noExpungeTags is set (has been asigned a value) and false otherwise |
boolean |
isSetNoPublishToBusinessLibrary()
Returns true if field noPublishToBusinessLibrary is set (has been asigned a value) and false otherwise |
boolean |
isSetNoPublishToPublic()
Returns true if field noPublishToPublic is set (has been asigned a value) and false otherwise |
boolean |
isSetNoReadNotes()
Returns true if field noReadNotes is set (has been asigned a value) and false otherwise |
boolean |
isSetNoSendMessageToRecipients()
Returns true if field noSendMessageToRecipients is set (has been asigned a value) and false otherwise |
boolean |
isSetNoSetDefaultNotebook()
Returns true if field noSetDefaultNotebook is set (has been asigned a value) and false otherwise |
boolean |
isSetNoSetNotebookStack()
Returns true if field noSetNotebookStack is set (has been asigned a value) and false otherwise |
boolean |
isSetNoSetParentTag()
Returns true if field noSetParentTag is set (has been asigned a value) and false otherwise |
boolean |
isSetNoShareNotes()
Returns true if field noShareNotes is set (has been asigned a value) and false otherwise |
boolean |
isSetNoUpdateNotebook()
Returns true if field noUpdateNotebook is set (has been asigned a value) and false otherwise |
boolean |
isSetNoUpdateNotes()
Returns true if field noUpdateNotes is set (has been asigned a value) and false otherwise |
boolean |
isSetNoUpdateTags()
Returns true if field noUpdateTags is set (has been asigned a value) and false otherwise |
boolean |
isSetUpdateWhichSharedNotebookRestrictions()
Returns true if field updateWhichSharedNotebookRestrictions 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 |
setExpungeWhichSharedNotebookRestrictions(SharedNotebookInstanceRestrictions expungeWhichSharedNotebookRestrictions)
|
void |
setExpungeWhichSharedNotebookRestrictionsIsSet(boolean value)
|
void |
setNoCreateNotes(boolean noCreateNotes)
|
void |
setNoCreateNotesIsSet(boolean value)
|
void |
setNoCreateSharedNotebooks(boolean noCreateSharedNotebooks)
|
void |
setNoCreateSharedNotebooksIsSet(boolean value)
|
void |
setNoCreateTags(boolean noCreateTags)
|
void |
setNoCreateTagsIsSet(boolean value)
|
void |
setNoEmailNotes(boolean noEmailNotes)
|
void |
setNoEmailNotesIsSet(boolean value)
|
void |
setNoExpungeNotebook(boolean noExpungeNotebook)
|
void |
setNoExpungeNotebookIsSet(boolean value)
|
void |
setNoExpungeNotes(boolean noExpungeNotes)
|
void |
setNoExpungeNotesIsSet(boolean value)
|
void |
setNoExpungeTags(boolean noExpungeTags)
|
void |
setNoExpungeTagsIsSet(boolean value)
|
void |
setNoPublishToBusinessLibrary(boolean noPublishToBusinessLibrary)
|
void |
setNoPublishToBusinessLibraryIsSet(boolean value)
|
void |
setNoPublishToPublic(boolean noPublishToPublic)
|
void |
setNoPublishToPublicIsSet(boolean value)
|
void |
setNoReadNotes(boolean noReadNotes)
|
void |
setNoReadNotesIsSet(boolean value)
|
void |
setNoSendMessageToRecipients(boolean noSendMessageToRecipients)
|
void |
setNoSendMessageToRecipientsIsSet(boolean value)
|
void |
setNoSetDefaultNotebook(boolean noSetDefaultNotebook)
|
void |
setNoSetDefaultNotebookIsSet(boolean value)
|
void |
setNoSetNotebookStack(boolean noSetNotebookStack)
|
void |
setNoSetNotebookStackIsSet(boolean value)
|
void |
setNoSetParentTag(boolean noSetParentTag)
|
void |
setNoSetParentTagIsSet(boolean value)
|
void |
setNoShareNotes(boolean noShareNotes)
|
void |
setNoShareNotesIsSet(boolean value)
|
void |
setNoUpdateNotebook(boolean noUpdateNotebook)
|
void |
setNoUpdateNotebookIsSet(boolean value)
|
void |
setNoUpdateNotes(boolean noUpdateNotes)
|
void |
setNoUpdateNotesIsSet(boolean value)
|
void |
setNoUpdateTags(boolean noUpdateTags)
|
void |
setNoUpdateTagsIsSet(boolean value)
|
void |
setUpdateWhichSharedNotebookRestrictions(SharedNotebookInstanceRestrictions updateWhichSharedNotebookRestrictions)
|
void |
setUpdateWhichSharedNotebookRestrictionsIsSet(boolean value)
|
java.lang.String |
toString()
|
void |
unsetExpungeWhichSharedNotebookRestrictions()
|
void |
unsetNoCreateNotes()
|
void |
unsetNoCreateSharedNotebooks()
|
void |
unsetNoCreateTags()
|
void |
unsetNoEmailNotes()
|
void |
unsetNoExpungeNotebook()
|
void |
unsetNoExpungeNotes()
|
void |
unsetNoExpungeTags()
|
void |
unsetNoPublishToBusinessLibrary()
|
void |
unsetNoPublishToPublic()
|
void |
unsetNoReadNotes()
|
void |
unsetNoSendMessageToRecipients()
|
void |
unsetNoSetDefaultNotebook()
|
void |
unsetNoSetNotebookStack()
|
void |
unsetNoSetParentTag()
|
void |
unsetNoShareNotes()
|
void |
unsetNoUpdateNotebook()
|
void |
unsetNoUpdateNotes()
|
void |
unsetNoUpdateTags()
|
void |
unsetUpdateWhichSharedNotebookRestrictions()
|
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 |
---|
public NotebookRestrictions()
public NotebookRestrictions(NotebookRestrictions other)
Method Detail |
---|
public NotebookRestrictions deepCopy()
com.evernote.thrift.TBase
deepCopy
in interface com.evernote.thrift.TBase<NotebookRestrictions>
public void clear()
com.evernote.thrift.TBase
clear
in interface com.evernote.thrift.TBase<NotebookRestrictions>
public boolean isNoReadNotes()
public void setNoReadNotes(boolean noReadNotes)
public void unsetNoReadNotes()
public boolean isSetNoReadNotes()
public void setNoReadNotesIsSet(boolean value)
public boolean isNoCreateNotes()
public void setNoCreateNotes(boolean noCreateNotes)
public void unsetNoCreateNotes()
public boolean isSetNoCreateNotes()
public void setNoCreateNotesIsSet(boolean value)
public boolean isNoUpdateNotes()
public void setNoUpdateNotes(boolean noUpdateNotes)
public void unsetNoUpdateNotes()
public boolean isSetNoUpdateNotes()
public void setNoUpdateNotesIsSet(boolean value)
public boolean isNoExpungeNotes()
public void setNoExpungeNotes(boolean noExpungeNotes)
public void unsetNoExpungeNotes()
public boolean isSetNoExpungeNotes()
public void setNoExpungeNotesIsSet(boolean value)
public boolean isNoShareNotes()
public void setNoShareNotes(boolean noShareNotes)
public void unsetNoShareNotes()
public boolean isSetNoShareNotes()
public void setNoShareNotesIsSet(boolean value)
public boolean isNoEmailNotes()
public void setNoEmailNotes(boolean noEmailNotes)
public void unsetNoEmailNotes()
public boolean isSetNoEmailNotes()
public void setNoEmailNotesIsSet(boolean value)
public boolean isNoSendMessageToRecipients()
public void setNoSendMessageToRecipients(boolean noSendMessageToRecipients)
public void unsetNoSendMessageToRecipients()
public boolean isSetNoSendMessageToRecipients()
public void setNoSendMessageToRecipientsIsSet(boolean value)
public boolean isNoUpdateNotebook()
public void setNoUpdateNotebook(boolean noUpdateNotebook)
public void unsetNoUpdateNotebook()
public boolean isSetNoUpdateNotebook()
public void setNoUpdateNotebookIsSet(boolean value)
public boolean isNoExpungeNotebook()
public void setNoExpungeNotebook(boolean noExpungeNotebook)
public void unsetNoExpungeNotebook()
public boolean isSetNoExpungeNotebook()
public void setNoExpungeNotebookIsSet(boolean value)
public boolean isNoSetDefaultNotebook()
public void setNoSetDefaultNotebook(boolean noSetDefaultNotebook)
public void unsetNoSetDefaultNotebook()
public boolean isSetNoSetDefaultNotebook()
public void setNoSetDefaultNotebookIsSet(boolean value)
public boolean isNoSetNotebookStack()
public void setNoSetNotebookStack(boolean noSetNotebookStack)
public void unsetNoSetNotebookStack()
public boolean isSetNoSetNotebookStack()
public void setNoSetNotebookStackIsSet(boolean value)
public boolean isNoPublishToPublic()
public void setNoPublishToPublic(boolean noPublishToPublic)
public void unsetNoPublishToPublic()
public boolean isSetNoPublishToPublic()
public void setNoPublishToPublicIsSet(boolean value)
public boolean isNoPublishToBusinessLibrary()
public void setNoPublishToBusinessLibrary(boolean noPublishToBusinessLibrary)
public void unsetNoPublishToBusinessLibrary()
public boolean isSetNoPublishToBusinessLibrary()
public void setNoPublishToBusinessLibraryIsSet(boolean value)
public boolean isNoCreateTags()
public void setNoCreateTags(boolean noCreateTags)
public void unsetNoCreateTags()
public boolean isSetNoCreateTags()
public void setNoCreateTagsIsSet(boolean value)
public boolean isNoUpdateTags()
public void setNoUpdateTags(boolean noUpdateTags)
public void unsetNoUpdateTags()
public boolean isSetNoUpdateTags()
public void setNoUpdateTagsIsSet(boolean value)
public boolean isNoExpungeTags()
public void setNoExpungeTags(boolean noExpungeTags)
public void unsetNoExpungeTags()
public boolean isSetNoExpungeTags()
public void setNoExpungeTagsIsSet(boolean value)
public boolean isNoSetParentTag()
public void setNoSetParentTag(boolean noSetParentTag)
public void unsetNoSetParentTag()
public boolean isSetNoSetParentTag()
public void setNoSetParentTagIsSet(boolean value)
public boolean isNoCreateSharedNotebooks()
public void setNoCreateSharedNotebooks(boolean noCreateSharedNotebooks)
public void unsetNoCreateSharedNotebooks()
public boolean isSetNoCreateSharedNotebooks()
public void setNoCreateSharedNotebooksIsSet(boolean value)
public SharedNotebookInstanceRestrictions getUpdateWhichSharedNotebookRestrictions()
SharedNotebookInstanceRestrictions
public void setUpdateWhichSharedNotebookRestrictions(SharedNotebookInstanceRestrictions updateWhichSharedNotebookRestrictions)
SharedNotebookInstanceRestrictions
public void unsetUpdateWhichSharedNotebookRestrictions()
public boolean isSetUpdateWhichSharedNotebookRestrictions()
public void setUpdateWhichSharedNotebookRestrictionsIsSet(boolean value)
public SharedNotebookInstanceRestrictions getExpungeWhichSharedNotebookRestrictions()
SharedNotebookInstanceRestrictions
public void setExpungeWhichSharedNotebookRestrictions(SharedNotebookInstanceRestrictions expungeWhichSharedNotebookRestrictions)
SharedNotebookInstanceRestrictions
public void unsetExpungeWhichSharedNotebookRestrictions()
public boolean isSetExpungeWhichSharedNotebookRestrictions()
public void setExpungeWhichSharedNotebookRestrictionsIsSet(boolean value)
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(NotebookRestrictions that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(NotebookRestrictions other)
compareTo
in interface java.lang.Comparable<NotebookRestrictions>
public void read(com.evernote.thrift.protocol.TProtocol iprot) throws com.evernote.thrift.TException
com.evernote.thrift.TBase
read
in interface com.evernote.thrift.TBase<NotebookRestrictions>
iprot
- Input protocol
com.evernote.thrift.TException
public void write(com.evernote.thrift.protocol.TProtocol oprot) throws com.evernote.thrift.TException
com.evernote.thrift.TBase
write
in interface com.evernote.thrift.TBase<NotebookRestrictions>
oprot
- Output protocol
com.evernote.thrift.TException
public java.lang.String toString()
toString
in class java.lang.Object
public void validate() throws com.evernote.thrift.TException
com.evernote.thrift.TException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |