OOQL language team

group of users


define - create new team definition

  team define   AdminName {Team_DefineOption} [force];

clone - duplicate a team and set the properties for the new instance

  team clone  AdminName define AdminName {Team_EditOption} [force];

edit - update the team properties

  team edit   AdminName {Team_EditOption} [force];

show - print the team properties

  team show   AdminName [Team_GetOption] [Token_Option] [ExportFile_Option] ;

select - extract teams on the base of query filters

  team select AdminPatternList {Filter_Option} [top] [Team_GetOption]
                                     [Token_Option] [ExportFile_Option] ;

undefine - remove a team from the database

  team undefine AdminName ;


Team_DefineOption
description GenericValue
application AdminName
image  FileName
imagedata GenericString
localarea AdminName
language GenericString
email GenericValue
user  AdminName { AdminName }
assignment  AdminName { AdminName }
superteam AdminName
subteam  AdminName { AdminName }
[! /not] hidden

Team_EditOption
name AdminName
description GenericValue
application AdminName
svnrev NUMBER
image  FileName
imagedata GenericString
localarea AdminName
language GenericString
email GenericValue
user  Edit_Operator   AdminName { Edit_Operator   AdminName }
assignment Edit_Operator   AdminName { Edit_Operator   AdminName }
superteam AdminName
subteam  Edit_Operator   AdminName { Edit_Operator   AdminName }
[! /not] hidden

Team_GetOption
get [Team_GetBasicOption]
   
  Team_GetBasicOption
  { Team_GetBasicToken [as IDENTIFIER] { Team_GetBasicToken [as IDENTIFIER] } }
  Team_GetBasicToken [as IDENTIFIER]
     
    Team_GetBasicToken
    Common_GetBasicOption  
    localarea [. LocalArea_GetBasicOption]
    language  
    email  
    superteam [. Team_GetBasicOption]
    subteam [. Team_GetBasicOption]
    subteam[] [. Team_GetBasicOption]
    subteam[ AdminName ]  
    ownsubteam [. Team_GetBasicOption]
    ownsubteam[] [. Team_GetBasicOption]
    ownsubteam[ AdminName ]  
    user [. User_GetBasicOption]
    user[] [. User_GetBasicOption]
    user[ AdminName ]  
    ownuser [. User_GetBasicOption]
    ownuser[] [. User_GetBasicOption]
    ownuser[ AdminName ]  
    assignment [. Assignment_GetBasicOption]
    assignment[] [. Assignment_GetBasicOption]
    assignment[ AdminName ]  


KEYWORDs
application the associated application menu
assignment roles assigned to users of this team
description the team description
email the team email address (if not specified the messages will be sent to user email addresses)
force this flag allows to ignore errors during the creation/update (for example, the users, the assignments, the sub-teams or the default localarea not yet defined)
hidden administration hidden objects are not visible/usable
image local path for the team icon to upload
imagedata base64 code for the team icon
language the default team language for UI label translation
localarea default localarea used to store files uploaded by the users into a filespace (if supported)
moddate last modification date
name the team name
ownsubteam teams directly grouped under this team (excludes those inherited from sub-teams)
ownuser users associated directly to this team (excludes those inherited from sub-teams)
subteam teams recursively grouped under this team
superteam the parent team
svnrev SVN repository revision number
top filter top teams only (without parent team)
user users associated to this team (includes those inherited from sub-teams)


SAMPLES

team define TM1 description "firstteam" localarea LA0 email "team1@yahoo.it" user "name.surname" NewUser;

team define TM2 description "2nD team" localarea LA1 email "tm2@ix.uk" user User2 NewUser superteam TM1;

team define TM3 description "3rd tm" email "team2@you.com" user User3 User2 superteam TM2 ;

team define TM4 description '4sdec' email "g4@iu.co.uk" user User3 User4 superteam TM2 ;

team edit 'TM1' subteams add 'TM3';

team edit TM3 superteam TM2;

team edit "TM3" user remove User2 assignment add AS01;

team edit TM4 localarea LA0 email "tm4@XX.com" user remove User4 add "name.surname";

team show TM2 get { name description id email localarea.{name description} superteam.{ name user ownuser } } token { "|" ";" "," "-" } ;

team show TM1 get { name id email subteam.{ name ownuser.{name address} } } token { "|" ";" "," "-" "/" } ;

team show TM3 get {assignment.{name email user} } token xml;

team select T* moddate > 2010-12-31 get { name superteam ownuser.{name description} } token xml;


common syntax

Common_GetBasicOption
Common_GetBasicToken [ as IDENTIFIER ]

Common_GetBasicToken
id  
name  
origdate  
moddate  
moduser  
description  
svnrev  
hidden  
image  
imagedata  
feature[ AdminName ] [. Feature_GetBasicOption]
feature[] [. Feature_GetBasicOption]
feature [. Feature_GetBasicOption]
application [. Menu_GetBasicOption]
super  
admintype  

Edit_Operator
add
remove

Edit_RefOperator
addbefore AdminName set
addafter AdminName set
add
remove
movebefore
moveafter

Edit_AddOperator
addbefore AdminName define
addafter AdminName define
append

Edit_MoveOperator
movebefore
moveafter

Event_Type
action
check

AdminPatternList
AdminNamePattern {, AdminNamePattern}

AdminNamePattern
*
PATTERNIDENTIFIER
STRINGVAL
AdminName

GenericPatternList
GenericPattern {, GenericPattern}

GenericPattern
*
IDENTIFIER
PATTERNIDENTIFIER
GenericValue

AdminActor
user AdminName
team AdminName
assignment AdminName

AdminName
IDENTIFIER
QUOTED_STRING
SQUOTED_STRING

GenericValue
DATETIME
GenericNumber
GenericString
BOOLEANVAL

GenericString
STRINGVAL
QUOTED_STRING
SQUOTED_STRING

GenericNumber
NUMBER
REALNUMBER

Filter_Option
moddate Date_Range
application AdminNamePattern

Date_Range
=  DATETIME  
!= DATETIME
 
<  DATETIME
 
>  DATETIME
 
<= DATETIME
 
>= DATETIME
 
in [ DATETIME , DATETIME ]
 
in ( DATETIME , DATETIME ]
 
in [ DATETIME , DATETIME )
 
in ( DATETIME , DATETIME )  

Token_Option
token { Token_Separator { Token_Separator } }
token Token_Separator

Token_Separator
QUOTED_STRING
SQUOTED_STRING
IDENTIFIER
STRINGVAL
json
json-
json+
xml
xml-
xml+

ExportFile_Option
exportfile FileName [append] [xml | json ]

ImportFile_Option
importfile FileName [xml | json |emxxml]

LogFile_Option
logfile FileName [append]

FileName
QUOTED_STRING
SQUOTED_STRING

basic elements
grammar rules
[ ] = optional element - only one item is allowed : ( 0 or 1 )
{ } = optional element - more than one is allowed : ( 0 or N )
/ = alternative
= one of ...
   
  all bold texts represent keywords or command syntax

IDVAL
#<5 dec digits [ 0-9 ]>-<8 hex digits [ 0-9 A-F ]>
  example:
  #00020-34F2A80E

COMMENT
// <any character until the end of the line(\n \r)>
  example:
  // My single line comment

LONGCOMMENT
/* <any character> */
 

example:
  /* My multi line comment starts here
  continue here
  and finish here */


DATETIME
<year 4 digits>[ - /. ]<month 2 digits>[ - /. ]<day 2 digits>
  examples:
   2009-12-23    2009/03/19   2009.11.14
<year 4 digits>[ - /. ]<month 2 digits>[ - /. ]<day 2 digits> <hours>:<minutes>:[<seconds>]
  examples:
   2009-12-23 10:23   2009/03/19 16:03:34  2009.11.14 00:20:04

NUMBER
[+-]<decimal digits [ 0-9 ]>
  examples:
   -1203   +276   25

BOOLEANVAL
true / false

REALNUMBER
[+-]<decimal digits [ 0-9 ]>.<decimal digits [ 0-9 ]>[E(+-)<esponent [0-9]>]
  example:
   -37.837   +2.3874   13.887   1.4862E-04

QUOTED_STRING
"<any character>"
  example:
   "my quoted string"

SQUOTED_STRING
'<any character>'
  example:
   'my single quoted string'

IDENTIFIER
<one or more of [ a-z A-Z ]><zero or more of [ a-z A-Z 0-9 _ ]>
  example:
   Var1    object_Name_02

VARIABLE
$<one o more of [ a-z A-Z 0-9 ]><zero or more of [ a-z A-Z 0-9 _ ]>
 

example:
   $1   $var_02    $1b


STRINGVAL
<one or more of [ a-z A-Z 0-9 -_ $ ? @ | ~ % & / = : + \ # ' ]>
  a string not recognized as identifier

PATTERNIDENTIFIER
<a string with * (match 0 or more characters) and ? (match 1 character) wildcards>
  example:
   mypa*er?_ide?ti*

© 2008-2015 MS Enterprise Solutions | Website Templates by IceTemplates.com
Please Read: Privacy Policy and Terms of Use