Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes | Private Attributes | Static Private Attributes
ATContentTypes.lib.autosort.AutoSortSupport Class Reference
Inheritance diagram for ATContentTypes.lib.autosort.AutoSortSupport:
Inheritance graph
[legend]
Collaboration diagram for ATContentTypes.lib.autosort.AutoSortSupport:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def setDefaultSorting
def getDefaultSorting
def setSortFolderishFirst
def getSortFolderishFirst
def setSortReverse
def getSortReverse
def setSortAuto
def getSortAuto

Static Public Attributes

tuple security = ClassSecurityInfo()

Private Attributes

 _default_sort_key

Static Private Attributes

tuple __implements__ = (IAutoSortSupport, )
string _default_sort_key = 'Title'
 _default_sort_reverse = False
 _default_sort_folderish_first = True
 _default_sort_auto = True

Detailed Description

Definition at line 37 of file autosort.py.


Member Function Documentation

Get default sorting key and direction.

Definition at line 57 of file autosort.py.

00057 
00058     def getDefaultSorting(self):
00059         """Get default sorting key and direction.
00060         """
00061         return self._default_sort_key, self._default_sort_reverse

Here is the caller graph for this function:

Get auto sort setting

Definition at line 93 of file autosort.py.

00093 
00094     def getSortAuto(self):
00095         """Get auto sort setting
00096         """
00097         return self._default_sort_auto
00098 
00099 InitializeClass(AutoSortSupport)
00100 

Here is the caller graph for this function:

Get the value for sorting folderish objects before ordinary items

Definition at line 69 of file autosort.py.

00069 
00070     def getSortFolderishFirst(self):
00071         """Get the value for sorting folderish objects before ordinary items
00072         """
00073         return self._default_sort_folderish_first

Here is the caller graph for this function:

Get reverse sort setting

Definition at line 81 of file autosort.py.

00081 
00082     def getSortReverse(self):
00083         """Get reverse sort setting
00084         """
00085         return self._default_sort_reverse

Set default sorting key and direction.

Definition at line 49 of file autosort.py.

00049 
00050     def setDefaultSorting(self, key, reverse=_marker):
00051         """Set default sorting key and direction.
00052         """
00053         self._default_sort_key = key
00054         if reverse is not _marker:
00055             self._default_sort_reverse = bool(reverse)

Set auto sort setting

Definition at line 87 of file autosort.py.

00087 
00088     def setSortAuto(self, value):
00089        """Set auto sort setting
00090        """
00091        self._default_sort_auto = bool(value)

Here is the caller graph for this function:

Set the value for sorting folderish objects before ordinary items

Definition at line 63 of file autosort.py.

00063 
00064     def setSortFolderishFirst(self, value):
00065         """Set the value for sorting folderish objects before ordinary items
00066         """
00067         self._default_sort_folderish_first = bool(value)

Set reverse sort setting

Definition at line 75 of file autosort.py.

00075 
00076     def setSortReverse(self, value):
00077         """Set reverse sort setting
00078         """
00079         self._default_sort_reverse = bool(value)


Member Data Documentation

tuple ATContentTypes.lib.autosort.AutoSortSupport.__implements__ = (IAutoSortSupport, ) [static, private]

Reimplemented in ATContentTypes.lib.autosort.AutoOrderSupport.

Definition at line 39 of file autosort.py.

Definition at line 46 of file autosort.py.

Definition at line 45 of file autosort.py.

Definition at line 43 of file autosort.py.

Definition at line 52 of file autosort.py.

Definition at line 44 of file autosort.py.

tuple ATContentTypes.lib.autosort.AutoSortSupport.security = ClassSecurityInfo() [static]

Reimplemented in ATContentTypes.lib.autosort.AutoOrderSupport.

Definition at line 41 of file autosort.py.


The documentation for this class was generated from the following file: