Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

9
LINES

< > BotCompany Repo | #1027635 // dm_handleCaseIDField - start db with case. Module must have field S caseID

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (17021L/119K).

1  
static Concepts dm_handleCaseIDField() {
2  
  O mod = dm_current_generic_mandatory();
3  
  dm_reloadOnFieldChange caseID();
4  
  S caseID = cast dm_get(mod, 'caseID);
5  
  print("Case ID: " + caseID);
6  
  Pair<Concepts, AutoCloseable> p = persistentConcepts(programID(), caseID);
7  
  dm_ownResource(p.b);
8  
  ret p.a;
9  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027635
Snippet name: dm_handleCaseIDField - start db with case. Module must have field S caseID
Eternal ID of this version: #1027635/4
Text MD5: 6f79e4f8d5d608a9e5ff75fb6a7d34d4
Transpilation MD5: 8d937ad719466728f751874f7fe50223
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-03-27 15:11:21
Source code size: 309 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 241 / 367
Version history: 3 change(s)
Referenced in: [show references]