#NEWLINE# def GetDocLimits( self ) : #NEWLINE# #INDENT# docOffset = self . GetNonNegativeIntegerParam ( 'docOffset' ) #NEWLINE# docLimit = self . GetNonNegativeIntegerParam ( 'docLimit' ) #NEWLINE# self . params . update ( { #NEWLINE# #INDENT# 'docOffset' : docOffset , #NEWLINE# 'docLimit' : docLimit , #NEWLINE# #UNINDENT# } ) #NEWLINE# if ( docOffset is None ) : #NEWLINE# #INDENT# docOffset = 0 #NEWLINE# #UNINDENT# if ( docLimit is None ) : #NEWLINE# #INDENT# docLimit = 5 #NEWLINE# #UNINDENT# return ( docOffset , docLimit )