Back to index

plone3  3.1.7
Public Member Functions
ATContentTypes.interfaces.IAutoOrderSupport Class Reference
Inheritance diagram for ATContentTypes.interfaces.IAutoOrderSupport:
Inheritance graph
[legend]
Collaboration diagram for ATContentTypes.interfaces.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 92 of file interfaces.py.


Member Function Documentation

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

Definition at line 96 of file interfaces.py.

00096 
00097     def autoOrderItems():
00098         """Auto order all containing items according to the settings
00099         """

Get default sorting key and direction.

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

Definition at line 61 of file interfaces.py.

00061 
00062     def getDefaultSorting():
00063         """Get default sorting key and direction.
00064 
00065         Return sort_on attribute, reverse
00066         sort_on attribute is either an attribute or method name
00067         """

Here is the caller graph for this function:

Get auto sort setting

Definition at line 88 of file interfaces.py.

00088 
00089     def getSortAuto():
00090         """Get auto sort setting
00091         """

Here is the caller graph for this function:

Get the value for sorting folderish objects before ordinary items

Definition at line 72 of file interfaces.py.

00072 
00073     def getSortFolderishFirst():
00074         """Get the value for sorting folderish objects before ordinary items
00075         """

Here is the caller graph for this function:

Get reverse sort setting

Definition at line 80 of file interfaces.py.

00080 
00081     def getSortReverse():
00082         """Get reverse sort setting
00083         """

after add hook

Overwritten to auto sort items

Definition at line 112 of file interfaces.py.

00112 
00113     def manage_afterAdd(item, container):
00114         """after add hook
00115 
00116         Overwritten to auto sort items
00117         """
00118 
00119 

def ATContentTypes.interfaces.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 106 of file interfaces.py.

00106 
00107     def manage_renameObject(id, new_id, REQUEST=None):
00108         """Rename a particular sub-object without changing its position.
00109 
00110         Overwritten to keep auto sort
00111         """

Here is the caller graph for this function:

def ATContentTypes.interfaces.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 100 of file interfaces.py.

00100 
00101     def moveObjectsByDelta(ids, delta, subset_ids=None, disable_auto_sort=True):
00102         """Move specified sub-objects by delta.
00103 
00104         Overwritten to disable auto sort
00105         """

Here is the caller graph for this function:

def ATContentTypes.interfaces.IAutoSortSupport.setDefaultSorting (   key,
  reverse = _marker 
) [inherited]
Set default sorting key and direction.

Definition at line 57 of file interfaces.py.

00057 
00058     def setDefaultSorting(key, reverse=_marker):
00059         """Set default sorting key and direction.
00060         """

Set auto sort setting

Definition at line 84 of file interfaces.py.

00084 
00085     def setSortAuto(value):
00086        """Set auto sort setting
00087        """

Here is the caller graph for this function:

Set the value for sorting folderish objects before ordinary items

Definition at line 68 of file interfaces.py.

00068 
00069     def setSortFolderishFirst(value):
00070         """Set the value for sorting folderish objects before ordinary items
00071         """

Set reverse sort setting

Definition at line 76 of file interfaces.py.

00076 
00077     def setSortReverse(value):
00078         """Set reverse sort setting
00079         """


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