Changeset 5223 for WAeUP_SRP/trunk/WAeUPTool.py
- Timestamp:
- 14 Jun 2010, 17:45:58 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/WAeUPTool.py
r5210 r5223 1932 1932 1933 1933 1934 security.declareP rotected(ModifyPortalContent,"changeWorkflowState")1934 security.declarePublic("changeWorkflowState") 1935 1935 def changeWorkflowState(self, content, state_id, acquire_permissions=False, 1936 1936 portal_workflow=None, **kw): 1937 """Change the workflow state of an object1938 @param content: Content obj which state will be changed1939 @param state_id: name of the state to put on content1940 @param acquire_permissions: True->All permissions unchecked and on riles and1941 acquired1942 False->Applies new state security map1943 @param portal_workflow: Provide workflow tool (optimisation) if known1944 @param kw: change the values of same name of the state mapping1945 @return: None1946 """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 1947 1947 1948 1948 if portal_workflow is None:
Note: See TracChangeset for help on using the changeset viewer.