Ignore:
Timestamp:
14 Jun 2010, 17:45:58 (14 years ago)
Author:
Henrik Bettermann
Message:

resolve #690

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/WAeUPTool.py

    r5210 r5223  
    19321932
    19331933
    1934     security.declareProtected(ModifyPortalContent,"changeWorkflowState")
     1934    security.declarePublic("changeWorkflowState")
    19351935    def changeWorkflowState(self, content, state_id, acquire_permissions=False,
    19361936                            portal_workflow=None, **kw):
    1937         """Change the workflow state of an object
    1938         @param content: Content obj which state will be changed
    1939         @param state_id: name of the state to put on content
    1940         @param acquire_permissions: True->All permissions unchecked and on riles and
    1941                                     acquired
    1942                                     False->Applies new state security map
    1943         @param portal_workflow: Provide workflow tool (optimisation) if known
    1944         @param kw: change the values of same name of the state mapping
    1945         @return: None
    1946         """
     1937        #Change the workflow state of an object
     1938        #@param content: Content obj which state will be changed
     1939        #@param state_id: name of the state to put on content
     1940        #@param acquire_permissions: True->All permissions unchecked and on riles and
     1941        #                            acquired
     1942        #                            False->Applies new state security map
     1943        #@param portal_workflow: Provide workflow tool (optimisation) if known
     1944        #@param kw: change the values of same name of the state mapping
     1945        #@return: None
     1946       
    19471947   
    19481948        if portal_workflow is None:
Note: See TracChangeset for help on using the changeset viewer.