element <item>
Namespace:
Type:
embedded complexType
Content:
complex, 5 attributes, 2 elements
Defined:
locally at 1 location
Includes:
definitions of 4 attributes and 2 elements
XML Representation Summary
<item
   
className
 = 
xsd:string
   
id
 = 
(("MANAGE_SERVICE_INSTANCE_SECURITY" | "MANAGE_SERVICE_INSTANCE" | "EDIT_SERVICE_INSTANCE_CONTENT" | "VIEW_SERVICE_INSTANCE") | xsd:string)
   
name
 = 
xsd:string
   
scriptPath
 = 
xsd:string
   
type
 = 
xsd:string
   
>
   
Content: 
</item>
May contain elements (2):
interfaceId (within item),
menuLevels (within item)
May be included in elements (1):
menu (type menu)
Usage / Definition Locations
XML Source
<xsd:element minOccurs="0" name="item">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="0" name="menuLevels">
<xsd:annotation>
<xsd:documentation>
The menu levels where this item will be available on. If not specified, the item is available on the structure level menu.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="1" name="menuLevel">
<xsd:annotation>
<xsd:documentation>
The menu level where this item will be available on.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element minOccurs="0" name="permissions">
<xsd:annotation>
<xsd:documentation>
The permissions required to access the current menu item at the current menu level.
The user must have at least one of the specified permissions to be granted access.
<xhtml:p>
If this element is not specified, the default varies with the menu level as follows:
</xhtml:p>
<ul>
<li>
structure: serviceInterfaceInstancePermission of UPDATE.
</li>
<li>
shared: serviceInstancePermission of EDIT_SERVICE_INSTANCE_CONTENT.
</li>
<li>
user: serviceInstancePermission of VIEW_SERVICE_INSTANCE.
</li>
</ul>
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:choice maxOccurs="unbounded" minOccurs="1">
<xsd:element name="serviceInstancePermission">
<xsd:annotation>
<xsd:documentation>A permission of the current service instance.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="id" type="serviceInstancePermission" use="required">
<xsd:annotation>
<xsd:documentation>
The identifier of the service instance permission.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:annotation>
<xsd:documentation>
A permission of the current service interface instance.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="id" use="required">
<xsd:annotation>
<xsd:documentation>
The identifier of the service interface instance permission.
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="UPDATE"/>
<xsd:enumeration value="DELETE"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
<xsd:key name="permissionsServiceInstancePermissionIdKey">
<xsd:selector xpath="serviceInstancePermission"/>
<xsd:field xpath="@id"/>
</xsd:key>
<xsd:key name="permissionsServiceInterfaceInstancePermissionIdKey">
<xsd:selector xpath="serviceInterfaceInstancePermission"/>
<xsd:field xpath="@id"/>
</xsd:key>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="id" use="required">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="structure"/>
<xsd:enumeration value="shared"/>
<xsd:enumeration value="user"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:key name="menuLevelIdKey">
<xsd:selector xpath="menuLevel"/>
<xsd:field xpath="@id"/>
</xsd:key>
</xsd:element>
<xsd:element minOccurs="0" name="interfaceId"/>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required"/>
<xsd:attribute name="type" type="xsd:string" use="optional"/>
<xsd:attribute name="className" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation>
The class name of the IServiceInterfaceMenuItem implementation used for this menu item.
This attribute cannot be defined if the "scriptPath" attribute is defined.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="scriptPath" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation>
Path of a script defining the java class that implements IServiceInterfaceMenuItem used for this menu item.
This attribute cannot be defined if the "className" attribute is defined.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
Attribute Detail (defined in this component only)
className
The class name of the IServiceInterfaceMenuItem implementation used for this menu item. This attribute cannot be defined if the "scriptPath" attribute is defined.
Type:
xsd:string
Use:
optional
Defined:
locally, within this element
XML Source
<xsd:attribute name="className" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation>
The class name of the IServiceInterfaceMenuItem implementation used for this menu item.
This attribute cannot be defined if the "scriptPath" attribute is defined.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>

name
Type:
xsd:string
Use:
required
Defined:
locally, within this element
XML Source
<xsd:attribute name="name" type="xsd:string" use="required"/>

scriptPath
Path of a script defining the java class that implements IServiceInterfaceMenuItem used for this menu item. This attribute cannot be defined if the "className" attribute is defined.
Type:
xsd:string
Use:
optional
Defined:
locally, within this element
XML Source
<xsd:attribute name="scriptPath" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation>
Path of a script defining the java class that implements IServiceInterfaceMenuItem used for this menu item.
This attribute cannot be defined if the "className" attribute is defined.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>

type
Type:
xsd:string
Use:
optional
Defined:
locally, within this element
XML Source
<xsd:attribute name="type" type="xsd:string" use="optional"/>
Content Element Detail
interfaceId
Type:
anySimpleType, simple content
Defined:
locally, within this element
XML Source
<xsd:element minOccurs="0" name="interfaceId"/>

menuLevels
The menu levels where this item will be available on. If not specified, the item is available on the structure level menu.
Type:
embedded, complex content
Defined:
locally, within this element

XML Schema documentation generated with DocFlex/XML (Kit) v1.6.2
DocFlex/XML is a powerful template-driven documentation and report generator from any data stored in XML files. Based on an innovative technology developed by FILIGRIS WORKS, this new tool offers virtuoso data querying and formatting capabilities not found in anything else!
Need to convert your XML data into a clear nice-looking documentation or reports? Web-ready hypertext HTML or printable MS Word / OpenOffice.org friendly RTF? DocFlex/XML may be a cheap, quick and effective solution exactly for this task!
Have questions? Not sure how to use it? Just send us e-mail to contact@filigris.com and we are always happy to help you! See also our services at www.filigris.com

Lumisportal  14.0.0.210430 - Copyright © 2006–2021 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.