Back to index

plone3  3.1.7
Public Member Functions | Static Private Attributes
ATContentTypes.interface.autosort.IAutoSortSupport Class Reference
Inheritance diagram for ATContentTypes.interface.autosort.IAutoSortSupport:
Inheritance graph
[legend]
Collaboration diagram for ATContentTypes.interface.autosort.IAutoSortSupport:
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 Private Attributes

tuple _default_sort_key = Attribute('Sort key, default: Title')
tuple _default_sort_reverse = Attribute('Reverse, default: False')
tuple _default_sort_folderish_first = Attribute('Sort folderish first, default: True')
tuple _default_sort_auto = Attribute('Enable auto, default: True')

Detailed Description

Interface for auto sorting

Definition at line 25 of file autosort.py.


Member Function Documentation

Get default sorting key and direction.

Return sort_on attribute, reverse
sort_on attribute is either an attribute or method name

Definition at line 39 of file autosort.py.

00039 
00040     def getDefaultSorting():
00041         """Get default sorting key and direction.
00042 
00043         Return sort_on attribute, reverse
00044         sort_on attribute is either an attribute or method name
00045         """

Here is the caller graph for this function:

Get auto sort setting

Definition at line 66 of file autosort.py.

00066 
00067     def getSortAuto():
00068         """Get auto sort setting
00069         """

Here is the caller graph for this function:

Get the value for sorting folderish objects before ordinary items

Definition at line 50 of file autosort.py.

00050 
00051     def getSortFolderishFirst():
00052         """Get the value for sorting folderish objects before ordinary items
00053         """

Here is the caller graph for this function:

Get reverse sort setting

Definition at line 58 of file autosort.py.

00058 
00059     def getSortReverse():
00060         """Get reverse sort setting
00061         """

Set default sorting key and direction.

Definition at line 35 of file autosort.py.

00035 
00036     def setDefaultSorting(key, reverse=_marker):
00037         """Set default sorting key and direction.
00038         """

Set auto sort setting

Definition at line 62 of file autosort.py.

00062 
00063     def setSortAuto(value):
00064        """Set auto sort setting
00065        """

Here is the caller graph for this function:

Set the value for sorting folderish objects before ordinary items

Definition at line 46 of file autosort.py.

00046 
00047     def setSortFolderishFirst(value):
00048         """Set the value for sorting folderish objects before ordinary items
00049         """

Set reverse sort setting

Definition at line 54 of file autosort.py.

00054 
00055     def setSortReverse(value):
00056         """Set reverse sort setting
00057         """


Member Data Documentation

tuple ATContentTypes.interface.autosort.IAutoSortSupport._default_sort_auto = Attribute('Enable auto, default: True') [static, private]

Definition at line 33 of file autosort.py.

tuple ATContentTypes.interface.autosort.IAutoSortSupport._default_sort_folderish_first = Attribute('Sort folderish first, default: True') [static, private]

Definition at line 31 of file autosort.py.

tuple ATContentTypes.interface.autosort.IAutoSortSupport._default_sort_key = Attribute('Sort key, default: Title') [static, private]

Definition at line 29 of file autosort.py.

tuple ATContentTypes.interface.autosort.IAutoSortSupport._default_sort_reverse = Attribute('Reverse, default: False') [static, private]

Definition at line 30 of file autosort.py.


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