Topic Text   Topic Comments (4)   Topic Properties   Topic Information ergeg
Topic title: test Monday August 8, 2011 16:27:17

Download topic text | View in monospace font | Tab width set to 4 (change to 8)

Files in topic: (view all files)  
code.txt   {+29,-0}

[Add General Comment] to topic.

File code.txt (Revision 1.0) [Add File Comment] [Top]
 
1 if (ownerLinkGUID != null)
2 {
3 m_binder.putLocal("fldBrowsingMode", "contribution");
4 FolderItem ownerFileItem = framework.retrieveItemFromIdentifier("fFileGUID:" + ownerLinkGUID, FoldersConstants.F_MUST_BE_FILE);
5
6
7 String unPublishedId = ownerFileItem.get("dID");
8 String publishedId = ownerFileItem.get("dPublishedID");
9
10 if (m_binder.getLocal("dID") == unPublishedId && (unPublishedId != publishedId))
11 {
12 ResultSet prevUnreleasedRevs = m_ws.createResultSet("QPrevUnReleasedDoc", m_binder);
13 if (prevUnreleasedRevs.first())
14 {
15 String unreleasedID = prevUnreleasedRevs.getStringValueByName("dID");
16
17 DataBinder binder = new DataBinder();
18 binder.putLocal("dID", unreleasedID);
19 ResultSet document = m_ws.createResultSet("QdocumentPrimary", binder);
20 document.first();
21 String dunreleasedOriginalName = document.getStringValueByName("dOriginalName");
22 binder.putLocal("fFileName", dunreleasedOriginalName);
23 binder.putLocal("fFileGUIDs", linksGUIDs.toString());
24 m_ws.execute("UfldFileUnPublishedParams", binder);
25 }
26 }
27
28
29 }
 
File code.txt (Revision 1.0) [Add File Comment] [Top]
  
Legend:
Removed 
Changed
 Added

[Add General Comment] to topic.