Class: Viewpoint::EWS::ContactsFolder

Inherits:
GenericFolder show all
Defined in:
lib/model/contacts_folder.rb

Instance Attribute Summary

Attributes inherited from GenericFolder

#change_key, #folder_id, #parent_id, #subscription_id, #sync_state, #watermark

Attributes included from Model

#ews_methods, #ews_methods_undef

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from GenericFolder

#add_subfolder, #clear_sync_state!, #delete!, #find_items, folder_names, #get_events, get_folder, get_folder_by_name, get_folder_by_path, #get_item, #get_items, #items_between, #items_since, #search_by_subject, #subscribe, #subscribed?, #sync_items!, #sync_items_since!, #todays_items, #unsubscribe

Constructor Details

#initialize(folder) ⇒ ContactsFolder

initialize with an item of CalendarFolderType



37
38
39
40
41
42
# File 'lib/model/contacts_folder.rb', line 37

def initialize(folder)
  super(folder)

  # @todo Handle:
  #   <SharingEffectiveRights/>
end

Class Method Details

.find_folders(root = :msgfolderroot, traversal = 'Deep', shape = 'Default', folder_type = 'IPF.Contact') ⇒ Array

Find folders of type Contact

Parameters:

  • root (String, Symbol) (defaults to: :msgfolderroot)

    An folder id, either a DistinguishedFolderId (must me a Symbol) or a FolderId (String)

  • traversal (String) (defaults to: 'Deep')

    Shallow/Deep/SoftDeleted

  • shape (String) (defaults to: 'Default')

    the shape to return IdOnly/Default/AllProperties

  • folder_type (optional, String) (defaults to: 'IPF.Contact')

    an optional folder type to limit the search to like ‘IPF.Task’

Returns:

  • (Array)

    Returns an Array of Folder or subclasses of Folder

See Also:



31
32
33
# File 'lib/model/contacts_folder.rb', line 31

def self.find_folders(root = :msgfolderroot, traversal = 'Deep', shape = 'Default', folder_type = 'IPF.Contact')
  super(root, traversal, shape, folder_type)
end