Class: Notesgrip::NotesACL
Overview
NotesACL Class ===============
Instance Method Summary
collapse
Methods inherited from GripWrapper
#initialize, #inspect, #raw
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
in the class Notesgrip::GripWrapper
Instance Method Details
#CreateACLEntry(name, level) ⇒ Object
734
735
736
737
|
# File 'lib/notesgrip/NotesDatabase.rb', line 734
def CreateACLEntry( name, level )
raw_ACLEntry = @raw_object.CreateACLEntry( name, level )
raw_ACLEntry ? NotesACLEntry.new(raw_ACLEntry) : nil
end
|
#each_entry ⇒ Object
Also known as:
each
763
764
765
766
767
768
769
770
|
# File 'lib/notesgrip/NotesDatabase.rb', line 763
def each_entry
raw_entry = @raw_object.GetFirstEntry
while raw_entry
next_entry = @raw_object.GetNextEntry(raw_entry)
yield NotesACLEntry.new(raw_entry)
raw_entry = next_entry
end
end
|
#GetEntry(name) ⇒ Object
739
740
741
742
|
# File 'lib/notesgrip/NotesDatabase.rb', line 739
def GetEntry( name )
raw_ACLEntry = @raw_object.GetEntry( name )
raw_ACLEntry ? NotesACLEntry.new(raw_ACLEntry) : nil
end
|
#GetFirstEntry ⇒ Object
744
745
746
747
|
# File 'lib/notesgrip/NotesDatabase.rb', line 744
def GetFirstEntry
raw_ACLEntry = @raw_object.GetFirstEntry()
raw_ACLEntry ? NotesACLEntry.new(raw_ACLEntry) : nil
end
|
#GetNextEntry(entry) ⇒ Object
749
750
751
752
|
# File 'lib/notesgrip/NotesDatabase.rb', line 749
def GetNextEntry( entry )
raw_ACLEntry = @raw_object.GetNextEntry(toRaw(entry))
raw_ACLEntry ? NotesACLEntry.new(raw_ACLEntry) : nil
end
|
#Parent ⇒ Object
730
731
732
|
# File 'lib/notesgrip/NotesDatabase.rb', line 730
def Parent
NotesDatabase.new(@raw_object.Parent)
end
|
#RemoveACLEntry(name) ⇒ Object
754
755
756
|
# File 'lib/notesgrip/NotesDatabase.rb', line 754
def RemoveACLEntry( name )
@raw_entry.RemoveACLEntry( name )
end
|
#RenameRole(oldName, newName) ⇒ Object
758
759
760
|
# File 'lib/notesgrip/NotesDatabase.rb', line 758
def RenameRole( oldName, newName )
@raw_object.RenameRole( oldName, newName )
end
|