TIUSRVT ; SLC/JM - Server functions for templates 8/23/2001 [8/19/04 1:57pm];05/31/17 13:19
Source file <TIUSRVT.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Name | Comments | DBIA/ICR reference |
---|---|---|
GETROOTS(TIUY,USER) | ;Get template root info
|
|
GETPROOT(TIUY,USER) | ;Get personal template root info only
|
|
GETITEMS(TIUY,TIUDA) | ; Returns all children of a non-Template Node
|
|
GETBOIL(TIUY,TIUDA) | ;Returns a Template's Unexpanded Boilerplate Text
|
|
GETTEXT(TIUY,DFN,VSTR,TIUX) | ; Expand Boilerplate
|
|
ISEDITOR(TIUY,ROOT,USER) | ; Returns TRUE if user is a Template Editor
|
|
LISTOWNR(TIUY,TIUFROM,DIR) | ; Return subset of personal owners
|
|
ADDNODE(IDX,TIUDA,INTIUY) | ;Adds template node info
|
|
NODEDATA(TIUDA) | ;Returns template node data
|
|
NP(PNUM) | ;Returns the piece of the node
|
|
HASITEMS(TIUDA) | ; Returns Has Children flag (0=NONE,1=ACTIVE,2=INACTIVE,3=BOTH)
|
|
SETTMPLT(SUCCESS,TIUDA,TIUX) | ; Create/update a TEMPLATE
|
|
CREATE(NAME,TYPE) | ; Get or create TEMPLATE record
|
|
DELETE(SUCCESS,TIUDA) | ; Delete TEMPLATES
; Pass TIUDA as array of record numbers to be deleted by reference ; SUCCESS will be returned as the actual number of templates deleted |
|
ZAP(DA) | ; Call ^DIK to remove an entry - CAREFUL...NO CHECKS
|
|
SETITEMS(SUCCESS,TIUDA,TIUX) | ; Change ITEMs of a group, class, or root
; Receives: ; TIUDA=IEN of TEMPLATE record ; TIUX(SEQ)=IEN of item ; Returns: ; SUCCESS(SEQ)=IEN of item if successful, or ; 0^ Explanatory message if not |
|
CLRITMS(TIUDA) | ; Remove all items from a group, class, or root
|
|
OBJLST(TIUY) | ; Get the list of active objects
|
|
BPCHECK(TIUTY,TIUX) | ; Checks objects in boilerplate text.
|
Name | Field # of Occurrence |
---|---|
^DIC | CREATE+3 |
LIST^DIC | LISTOWNR+6 |
^DIK | ZAP+2, CLRITMS+3 |
$$ROOTIDX^TIUDDT | GETROOTS+4 |
CHECK^TIUFLF3 | BPCHECK+33 |
$$CANPICK^TIULP | OBJLST+4 |
BLRPLT^TIUSRVD | GETTEXT+1 |
$$CLPAC^TIUSRVT1 | SETTMPLT+4 |
FILE^TIUSRVT1 | SETTMPLT+11 |
SETXT0^TIUSRVT1 | SETTMPLT+10 |
UPDATE^TIUSRVT1 | SETITEMS+13 |
$$ISA^USRLM | ISEDITOR+5 |
RPC Name | Call Tags |
---|---|
TIU TEMPLATE GETROOTS | GETROOTS |
TIU TEMPLATE GETITEMS | GETITEMS |
TIU TEMPLATE GETBOIL | GETBOIL |
TIU TEMPLATE GETTEXT | GETTEXT |
TIU TEMPLATE ISEDITOR | ISEDITOR |
TIU TEMPLATE GETPROOT | GETPROOT |
TIU TEMPLATE LISTOWNR | LISTOWNR |
TIU TEMPLATE CREATE/MODIFY | SETTMPLT |
TIU TEMPLATE SET ITEMS | SETITEMS |
TIU GET LIST OF OBJECTS | OBJLST |
TIU TEMPLATE DELETE | DELETE |
TIU TEMPLATE CHECK BOILERPLATE | BPCHECK |
FileNo | Call Tags |
---|---|
^TIU(8927 - [#8927] | Classic Fileman Calls |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^PXRMD(801.41 - [#801.41] | NODEDATA+9 |
^TIU(8925.1 - [#8925.1] | OBJLST+3, OBJLST+4, BPCHECK+22, BPCHECK+23, BPCHECK+41 |
^TIU(8927 - [#8927] | GETROOTS+2, GETROOTS+4, GETPROOT+2, GETITEMS+4, GETITEMS+6, GETITEMS+8, GETITEMS+9, GETBOIL+5, GETBOIL+7, GETBOIL+9 , ISEDITOR+2, NODEDATA+4, HASITEMS+3, HASITEMS+4, HASITEMS+5, HASITEMS+7, SETTMPLT+7!, SETTMPLT+9*, DELETE+8, DELETE+10 , CLRITMS+2 |
^TMP("TIU OBJECTS" | OBJLST+2 |
^TMP("TIU TEMPLATE" | GETITEMS+2!, GETITEMS+3, GETBOIL+2!, GETBOIL+3, GETBOIL+9*, ADDNODE+6* |
^TMP("TIUF" | BPCHECK+3!, BPCHECK+44! |
Name | Line Occurrences |
---|---|
$$CREATE | SETTMPLT+2 |
$$HASITEMS | NODEDATA+5 |
$$NODEDATA | ADDNODE+2 |
$$NP | NODEDATA+5 |
ADDNODE | GETROOTS+2, GETROOTS+4, GETPROOT+2, GETITEMS+10 |
CLRITMS | SETITEMS+8 |
ZAP | DELETE+12 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ARR | BPCHECK+19~, BPCHECK+28 |
ARR( | BPCHECK+23*, BPCHECK+24 |
ARR(0 | BPCHECK+24, BPCHECK+33 |
CLASS | ISEDITOR+1~, ISEDITOR+2*, ISEDITOR+3, ISEDITOR+5 |
DA | LISTOWNR+8~, LISTOWNR+9*, LISTOWNR+10*, LISTOWNR+12, DELETE+5~, DELETE+6*, DELETE+7, DELETE+8, DELETE+10, DELETE+12 , ZAP~, CLRITMS+1~*, CLRITMS+2* |
DA(1 | CLRITMS+3* |
DATA | ADDNODE+1~, ADDNODE+2*, ADDNODE+3, ADDNODE+5, ADDNODE+6, NODEDATA+1~, NODEDATA+2*, NODEDATA+5*, NODEDATA+12*, NODEDATA+13* , NODEDATA+14*, NODEDATA+15*, NODEDATA+16 |
DFN | GETTEXT~, GETTEXT+1 |
DIC | CREATE+1~, CREATE+2* |
DIC(0 | CREATE+2* |
DIK | ZAP+1~, ZAP+2*, CLRITMS+3~* |
DIR | LISTOWNR~, LISTOWNR+4, LISTOWNR+10 |
DLAYGO | CREATE+1~, CREATE+2* |
DR | CREATE+1~ |
FIELDS | LISTOWNR+1~, LISTOWNR+2*, LISTOWNR+6 |
FILE | LISTOWNR+1~, LISTOWNR+2*, LISTOWNR+6 |
FLAG | HASITEMS+1~, HASITEMS+2*, HASITEMS+4, HASITEMS+9*, HASITEMS+10 |
FLAGA | HASITEMS+1~, HASITEMS+2*, HASITEMS+7*, HASITEMS+9 |
FLAGI | HASITEMS+1~, HASITEMS+2*, HASITEMS+8*, HASITEMS+9 |
FLAGS | LISTOWNR+1~, LISTOWNR+2*, LISTOWNR+4*, LISTOWNR+6 |
FLD | SETTMPLT+1~, SETTMPLT+5*, SETTMPLT+6, SETTMPLT+7, SETTMPLT+8, SETTMPLT+9, SETTMPLT+10 |
I | LISTOWNR+8~, LISTOWNR+9*, LISTOWNR+11*, LISTOWNR+12 |
ID | LISTOWNR+1~, LISTOWNR+3*, LISTOWNR+6 |
IDX | GETROOTS+1~, GETROOTS+2, GETROOTS+4, GETPROOT+1~, GETPROOT+2, GETITEMS+1~, GETITEMS+5*, GETITEMS+10, GETBOIL+1~, GETBOIL+4* , GETBOIL+8*, GETBOIL+9, ADDNODE~, ADDNODE+4*, ADDNODE+5, ADDNODE+6 |
IENS | LISTOWNR+1~, LISTOWNR+3*, LISTOWNR+6 |
INDEX | LISTOWNR+1~, LISTOWNR+2*, LISTOWNR+6 |
INTIUY | ADDNODE~, ADDNODE+5 |
ITEM | GETITEMS+1~, GETITEMS+7*, GETITEMS+8*, GETITEMS+9, HASITEMS+1~, HASITEMS+2*, HASITEMS+4*, HASITEMS+5 |
ITEMNODE | GETITEMS+1~, GETITEMS+9*, GETITEMS+10, HASITEMS+1~, HASITEMS+5*, HASITEMS+6, HASITEMS+7 |
LINE | GETBOIL+1~, GETBOIL+4*, GETBOIL+7*, GETBOIL+9, BPCHECK+1~, BPCHECK+5*, BPCHECK+6, BPCHECK+7, BPCHECK+10, BPCHECK+12 , BPCHECK+14, BPCHECK+18 |
NAME | CREATE~, CREATE+3 |
NODE | NODEDATA+1~, NODEDATA+4*, NODEDATA+5, NODEDATA+6, NODEDATA+14, NODEDATA+15, NP+1 |
NUMBER | LISTOWNR+1~, LISTOWNR+2*, LISTOWNR+6 |
OBJCK | BPCHECK+33~, BPCHECK+34 |
OBJCK( | BPCHECK+37, BPCHECK+40 |
OBJNM | BPCHECK+13~, BPCHECK+14*, BPCHECK+15, BPCHECK+22, BPCHECK+26, BPCHECK+30, BPCHECK+32, BPCHECK+39, BPCHECK+43 |
ODA | BPCHECK+21~*, BPCHECK+22*, BPCHECK+23, BPCHECK+33*, BPCHECK+41 |
PIECE | BPCHECK+11~, BPCHECK+12*, BPCHECK+14 |
PNUM | NP~, NP+1 |
RDIEN | NODEDATA+1~, NODEDATA+6*, NODEDATA+7, NODEDATA+9, NODEDATA+12 |
RDN | NODEDATA+8~, NODEDATA+9*, NODEDATA+11, NODEDATA+12, NODEDATA+13 |
ROOT | ISEDITOR~, ISEDITOR+2 |
SCREEN | LISTOWNR+1~, LISTOWNR+5*, LISTOWNR+6 |
SEQ | GETITEMS+1~, GETITEMS+5*, GETITEMS+6*, GETITEMS+8 |
SUBS | BPCHECK+35~, BPCHECK+36*, BPCHECK+37, BPCHECK+40 |
SUCCESS | SETTMPLT~, SETTMPLT+3*, SETTMPLT+11, DELETE~, DELETE+3*, DELETE+12*, SETITEMS~ |
SUCCESS( | SETITEMS+14* |
TIU | LISTOWNR+1~, LISTOWNR+3* |
TIU("DILIST" | LISTOWNR+7!, LISTOWNR+10, LISTOWNR+12 |
TIUD0 | OBJLST+1~, OBJLST+4*, OBJLST+6 |
TIUDA | GETITEMS~, GETITEMS+4, GETITEMS+6, GETITEMS+8, GETITEMS+9, GETBOIL~, GETBOIL+5, GETBOIL+7, GETBOIL+9, ADDNODE~ , ADDNODE+2, NODEDATA~, NODEDATA+3, NODEDATA+4, NODEDATA+5, HASITEMS~, HASITEMS+3, HASITEMS+4, HASITEMS+5, SETTMPLT~ , SETTMPLT+2*, SETTMPLT+3, SETTMPLT+7, SETTMPLT+9, SETTMPLT+10, SETTMPLT+11, DELETE~, SETITEMS~, SETITEMS+8, SETITEMS+13 , CLRITMS~, CLRITMS+2, CLRITMS+3, OBJLST+1~, OBJLST+2*, OBJLST+3*, OBJLST+4, OBJLST+6 |
TIUDA( | DELETE+4, DELETE+6 |
TIUERR | ISEDITOR+1~, ISEDITOR+5, ISEDITOR+6, LISTOWNR+1~, LISTOWNR+3* |
TIUFPRIV | BPCHECK+1~, BPCHECK+2* |
TIUFROM | LISTOWNR~, LISTOWNR+6 |
TIUFWHO | BPCHECK+1~, BPCHECK+2* |
TIUI | DELETE+3~*, DELETE+4*, DELETE+6, SETITEMS+7~*, SETITEMS+10*, SETITEMS+12, SETITEMS+13, SETITEMS+14, OBJLST+1~, OBJLST+2* , OBJLST+5*, OBJLST+6, BPCHECK+1~, BPCHECK+2*, BPCHECK+4*, BPCHECK+5 |
TIUITEM | SETITEMS+11~, SETITEMS+13 |
TIUITEM( | SETITEMS+12* |
TIUPART | LISTOWNR+1~, LISTOWNR+3*, LISTOWNR+6 |
TIUSUCC | SETITEMS+11~, SETITEMS+12*, SETITEMS+13, SETITEMS+14 |
TIUTY | BPCHECK~ |
TIUTY(1 | BPCHECK+9*, BPCHECK+17*, BPCHECK+26*, BPCHECK+30*, BPCHECK+39*, BPCHECK+43* |
TIUTY(2 | BPCHECK+10*, BPCHECK+18*, BPCHECK+27*, BPCHECK+31*, BPCHECK+40* |
TIUTY(3 | BPCHECK+32* |
TIUX | GETTEXT~, SETTMPLT~, SETTMPLT+5, SETTMPLT+6, SETTMPLT+11, SETITEMS~, BPCHECK~ |
TIUX( | SETTMPLT+2, SETTMPLT+4*, SETTMPLT+6, SETTMPLT+8!, SETTMPLT+9!, SETITEMS+10, SETITEMS+12 |
TIUX(2 | BPCHECK+4, BPCHECK+5 |
TIUY | GETROOTS~, GETPROOT~, GETITEMS~, GETITEMS+3*, GETBOIL~, GETBOIL+3*, GETTEXT~, GETTEXT+1, ISEDITOR~, ISEDITOR+3* , ISEDITOR+5*, ISEDITOR+6*, LISTOWNR~, OBJLST~, OBJLST+2*, OBJLST+6, BPCHECK+1~, BPCHECK+2*, BPCHECK+4, BPCHECK+8* , BPCHECK+12, BPCHECK+16*, BPCHECK+20, BPCHECK+22, BPCHECK+25*, BPCHECK+29*, BPCHECK+34, BPCHECK+38*, BPCHECK+42* |
TIUY( | LISTOWNR+12*, ADDNODE+5* |
TYPE | GETROOTS+1~, GETROOTS+3*, GETROOTS+4, GETBOIL+1~, GETBOIL+5*, GETBOIL+6, CREATE~ |
U | GETITEMS+4, GETITEMS+10, GETBOIL+5, ISEDITOR+2, ISEDITOR+6, NODEDATA+5, NODEDATA+6, NODEDATA+12, NODEDATA+13, NODEDATA+14 , NODEDATA+15, NP+1, HASITEMS+3, HASITEMS+5, HASITEMS+7, OBJLST+6, BPCHECK+41 |
USER | GETROOTS~, GETROOTS+2, GETPROOT~, GETPROOT+2, ISEDITOR~, ISEDITOR+5 |
VSTR | GETTEXT~, GETTEXT+1 |
X | CREATE+1~, CREATE+3* |
XREF | BPCHECK+19~, BPCHECK+20*, BPCHECK+22 |
Y | CREATE+1~, CREATE+4, CREATE+5 |