Back to index

plone3  3.1.7
Public Member Functions
ATContentTypes.interface.autosort.IAutoOrderSupport Class Reference
Inheritance diagram for ATContentTypes.interface.autosort.IAutoOrderSupport:
Inheritance graph
[legend]
Collaboration diagram for ATContentTypes.interface.autosort.IAutoOrderSupport:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def autoOrderItems
def moveObjectsByDelta
def manage_renameObject
def manage_afterAdd
def setDefaultSorting
def getDefaultSorting
def setSortFolderishFirst
def getSortFolderishFirst
def setSortReverse
def getSortReverse
def setSortAuto
def getSortAuto

Detailed Description

Interface for auto sorting and auto ordering

Definition at line 70 of file autosort.py.


Member Function Documentation

Interface for auto sorting and auto ordering
Auto order all containing items according to the settings

Definition at line 74 of file autosort.py.

00074 
00075     def autoOrderItems():
00076         """Auto order all containing items according to the settings
00077         """

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         """

after add hook

Overwritten to auto sort items

Definition at line 90 of file autosort.py.

00090 
00091     def manage_afterAdd(item, container):
00092         """after add hook
00093 
00094         Overwritten to auto sort items
00095         """
00096 
def ATContentTypes.interface.autosort.IAutoOrderSupport.manage_renameObject (   id,
  new_id,
  REQUEST = None 
)
Rename a particular sub-object without changing its position.

Overwritten to keep auto sort

Definition at line 84 of file autosort.py.

00084 
00085     def manage_renameObject(id, new_id, REQUEST=None):
00086         """Rename a particular sub-object without changing its position.
00087 
00088         Overwritten to keep auto sort
00089         """

Here is the caller graph for this function:

def ATContentTypes.interface.autosort.IAutoOrderSupport.moveObjectsByDelta (   ids,
  delta,
  subset_ids = None,
  disable_auto_sort = True 
)
Move specified sub-objects by delta.

Overwritten to disable auto sort

Definition at line 78 of file autosort.py.

00078 
00079     def moveObjectsByDelta(ids, delta, subset_ids=None, disable_auto_sort=True):
00080         """Move specified sub-objects by delta.
00081 
00082         Overwritten to disable auto sort
00083         """

Here is the caller graph for this function:

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         """


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