uk.co.mullsoft.jean
Class JEANAPI

java.lang.Object
  extended by uk.co.mullsoft.jean.JEANAPI

public class JEANAPI
extends java.lang.Object

This class is the external API for JEAN. These are the only methods available for external code to access and modify the structure and contents of a JEAN network

Author:
mike.curtis

Nested Class Summary
static class JEANAPI.JEANEvent
          This class represents a JEAN event.
static interface JEANAPI.JEANEventListener
           
static class JEANAPI.JEANEventMask
          Objects of this class are used to indicate interest in a set of JEANEvents
protected  class JEANAPI.NodeTypeInformation
           
static interface JEANAPI.Visitor
           
 
Field Summary
static java.lang.String ADDATTCMD
           
static java.lang.String ADDENUMCMD
           
static java.lang.String ADDFILEAPPCMD
           
static java.lang.String ADDNOTECMD
           
static java.lang.String ADDRESSBOOK_ADDRESSATTRIBUTE
           
static java.lang.String ADDRESSBOOK_EMAILATTRIBUTE
           
static java.lang.String ADDRESSBOOK_FAXATTRIBUTE
           
static java.lang.String ADDRESSBOOK_FIRSTNAMEATTRIBUTE
           
static java.lang.String ADDRESSBOOK_FULLNAMEATTRIBUTE
           
static java.lang.String ADDRESSBOOK_HOMEATTRIBUTE
           
static java.lang.String ADDRESSBOOK_LASTNAMEATTRIBUTE
           
static java.lang.String ADDRESSBOOK_MIDDLENAMEATTRIBUTE
           
static java.lang.String ADDRESSBOOK_MOBILEATTRIBUTE
           
static java.lang.String ADDRESSBOOK_PRINTLABELATTRIBUTE
           
static java.lang.String ADDRESSBOOK_SPOKENNAMEATTRIBUTE
           
static java.lang.String ADDRESSBOOK_TITLEATTRIBUTE
           
static java.lang.String ADDRESSBOOK_WEBSITEATTRIBUTE
           
static java.lang.String ADDRESSBOOK_WORKATTRIBUTE
           
static java.lang.String ADDTICKCMD
           
static java.lang.String ADDXREFCMD
           
static int APPLICATION
          represents a APPLICATION attribute type
static int APPLICATION_CREATED
          the event when an application is created
static int APPLICATION_DELETED
          the event when an application is deleted
static java.lang.String APPLICATIONKEYNAME
           
static int ATTRIBUTE_CHANGED
          the event when an attribute value is changed
static int ATTRIBUTE_DISPLAYED
          the event when an attribute is displayed
static int AUDIO
          represents a AUDIO attribute type
static java.lang.String AUTOBACKUPCMD
           
static java.lang.String BACKCMD
           
protected  JEANBackEnd backEnd
           
static java.lang.String BACKUPCMD
           
static java.lang.String BACKUPDIRCMD
           
static int BOOLEAN
          represents a BOOLEAN attribute type
static java.lang.String BROWSECMD
           
static java.lang.String CALCCMD
           
static java.lang.String CALENDARCMD
           
static long CATEGORYTEMPLATEID
           
static java.lang.String CLOSECMD
           
static java.lang.String CLOSEMULTIPLECMD
           
static int COLOUR
          represents a COLOUR attribute type
static java.lang.String COPYDAGCMD
           
static java.lang.String COPYPATHCMD
           
static java.lang.String CREATECFGDISTCMD
           
static java.lang.String CREATEDISTCMD
           
static java.lang.String CREATELICENSECMD
           
static java.lang.String CREATEUSERCMD
           
protected  Dag dag
           
static int DATE
          represents a DATE attribute type
static int DATETIME
          represents a DATETIME attribute type
static java.lang.String DEFAULT
           
static java.lang.String DELETECMD
           
static java.lang.String DOCHILDCMD
           
static java.lang.String DOCMD
           
static java.lang.String DOUBLECOLON
           
static java.lang.String EDITLOGICALCMD
           
static java.lang.String EDITUSERCMD
           
static int EMAIL
          represents a ENUMERATION attribute type
static java.lang.String EMPTYRECYCLEBINCMD
           
static int ENUMERATION
          represents a ENUMERATION attribute type
static java.lang.String ETVCMD
           
static java.lang.String EXITCMD
           
static java.lang.String EXPLORERCMD
           
static java.lang.String EXPORTCMD
           
static int FILE
          represents a FILE attribute type
static int[] fileAttributeTypes
           
static java.text.DateFormat filenameDateTimeFormat
           
static int FOLDER
          represents a FOLDER attribute type
static java.lang.String GLOBALCMD
           
static long GROUPTEMPLATEID
           
static java.lang.String HELPCMD
           
static java.lang.String HIDECMD
           
static int IMAGE
          represents a IMAGE attribute type
static java.lang.String IMPORTCMD
           
static java.lang.String IMPORTFOLDERCMD
           
static java.lang.String INDEXCMD
           
static int INTEGER
          represents a INTEGER attribute type
static long ITEMTEMPLATEID
           
static int JAVA
          represents a JAVA attribute type
static java.lang.String JAVACMD
           
static java.util.Locale JEANLOCALE
           
static java.lang.String JEANNAMEATTRIBUTE
           
static Namespace JEANNAMESPACE
           
static java.lang.String JEANTYPEATTRIBUTE
           
static java.lang.String JEANURL
           
static java.lang.String JEANURLPREFIX
           
static java.lang.String JEANWEBSITE
           
static int LINK
          represents a LINK attribute type
static java.lang.String LINKCMD
           
static java.lang.String LISTPARENTSCMD
           
static java.lang.String LOADSEARCHCMD
           
static java.lang.String LOGWINDOWCMD
           
static java.lang.String MAKELISTCMD
           
static java.lang.String MERGECMD
           
static java.lang.String MONITORCMD
           
static java.lang.String NEWAPPCMD
           
static java.lang.String NEWCMD
           
static java.lang.String NEWETVFILTERCMD
           
static java.lang.String NEWJAVACMD
           
static java.lang.String NEWJAVAINITCMD
           
static java.lang.String NEWPAGECMD
           
static java.lang.String NEWPRIVATEPAGECMD
           
static java.lang.String NEWWIZARDCMD
           
static int NODE
          represents a NODE attribute type
static int NODE_ATTRIBUTE_CHANGED
          the event when a node has an attribute value changed
static int NODE_CHILD_ADDED
          the even when a node has a child added
static int NODE_CHILD_REMOVED
          the event when a node has a child removed
static int NODE_CREATED
          the even when a node is created
static int NODE_DELETED
          the even when a node is deleted
static int NODE_DESELECTED
          the even when a node is deselected
static int NODE_SELECTED
          the even when a node is selected
static NodeType[] nodeTypes
           
static long NOSUCHNODE
           
static java.lang.String NOTEATTRIBUTE
           
static java.lang.String NOTES
           
static long NULLID
           
static int NUMBER
          represents a NUMBER attribute type
static java.lang.String OPENCMD
           
static java.lang.String PRINTCMD
           
static java.lang.String PROBLEMREPORTCMD
           
static java.lang.String PROPERTIESCMD
           
static int REFERENCE
          represents a REFERENCE attribute type
static java.lang.String REMOVEATTCMD
           
static java.lang.String REMOVECMD
           
static java.lang.String REMOVEENUMCMD
           
static java.lang.String REMOVEPAGECMD
           
static java.lang.String REMOVEXREFCMD
           
static java.lang.String RENAMECMD
           
static java.lang.String REPAIRCATCMD
           
static java.lang.String REPAIREFCMD
           
static java.lang.String RESETPROMPTCMD
           
static java.lang.String RESTORECMD
           
static long ROOT
          the handle of the root node
static java.lang.String RUNSEARCHCMD
           
static java.lang.String SEARCHCMD
           
protected  JEANNodeList searchNodeList
           
static java.lang.String SELECTALLCHILDRENCMD
           
static java.lang.String SELECTCHILDRENCMD
           
static int SET
          represents a SET attribute type
static java.lang.String SETCOMPARATORCMD
           
static java.lang.String SETDEFAULTCMD
           
static java.lang.String SETDISPLAYTYPECMD
           
static java.lang.String SETGLOBALCMD
           
static java.lang.String SETLOGICALCMD
           
static java.lang.String SETNAMECMD
           
static java.lang.String SORTATTCMD
           
static java.lang.String SORTCMD
           
static java.lang.String SORTENUMCMD
           
static java.lang.String SORTMENUCMD
           
static java.lang.String SORTPAGECMD
           
static java.lang.String SPLASHCMD
           
static java.lang.Class[] STANDARDARGTYPES
           
static int STRING
          represents a STRING attribute type
static int TEXT
           
static java.lang.String TEXTEDITORCMD
           
static java.lang.String TICK
           
static int TIME
          represents a TIME attribute type
static java.lang.String TIMECMD
           
static java.lang.String UNHIDECMD
           
static java.lang.String UNINDEXCMD
           
static java.lang.String UNLINKCMD
           
static java.lang.String UPGRADEFILECMD
           
static java.lang.String UPGRADENETCMD
           
static int URL
          represents a URL attribute type
static java.lang.String VERSIONCMD
           
static int VIDEO
          represents a VIDEO attribute type
static java.lang.String VIEWRECYCLEBINCMD
           
static java.lang.String WEBSITECMD
           
static int XREF_ADDED
          the event when an application is created
static int XREF_REMOVED
          the event when an application is deleted
 
Method Summary
 void addAttribute(NodeType type, java.lang.String pageName, Attribute att)
           
 void addAttribute(NodeType type, java.lang.String attributeName, AttributeType atype, java.lang.Object value, boolean visible)
           
 void addAttribute(NodeType type, java.lang.String pageName, NamedTypedValue att)
           
 void addAttribute(NodeType type, java.lang.String pageName, NamedTypedValue att, boolean visible)
           
 void addAttribute(NodeType type, java.lang.String pageName, NamedTypedValue ntv, int ordinal)
           
 void addAttribute(NodeType type, java.lang.String pageName, NamedTypedValue ntv, int ordinal, boolean visible)
           
 void addAttributes(NodeType type, java.lang.String pageName, Attribute[] att)
           
 void addAttributes(NodeType type, java.lang.String pageName, NamedTypedValue[] att)
           
 void addAttributes(NodeType type, java.lang.String pageName, NamedTypedValue[] att, int ordinal)
           
 void addAttributesToSet(long node, java.lang.String setAttributeName, NamedTypedValue[] atts, boolean editable)
           
protected  void addAttributesToSet(Node node, java.lang.String setAttributeName, NamedTypedValue[] atts, boolean editable)
          adds or edits an attribute in a set.
 void addAttributeToNode(long node, java.lang.String attributeName, AttributeType atype, java.lang.Object val)
           
protected  void addAttributeToNode(Node node, java.lang.String attributeName, AttributeType atype, java.lang.Object val)
           
 void addDatedInformationProvider(DatedInformationProvider datedInformationProvider)
           
 void addDisplayMouseListener(NodeType type, java.lang.String attributeName, java.awt.event.MouseListener listener)
           
 void addDoubleClickListener(CatalogDoubleClickListener listener)
           
 void addETVListener(java.lang.String etvName, ETVListener listener)
           
 void addEventListener(JEANAPI.JEANEventListener listener)
          add a listener for JEANEvents
 void addFormatter(java.lang.String attributeName, java.text.Format format)
           
 void addJEANMenuEnabler(java.lang.String name, JEANMenuEnabler menuEnabler)
          add a new Menu Enabler for a named Menu Item, whenever the selection in a catalog or node list changes any menu enablers will be checked to see if the corresponding menu item should be enabled or not
 void addLinkInformationProvider(LinkInformationProvider linkInformationProvider)
           
static boolean addMailProcessor(MailProcessor mailProcessor)
           
 void addMediaPlayer(java.lang.String type, Application application)
           
 void addNodeListener(NodeListener listener)
           
 void addNote(long node, java.lang.String[] text)
           
protected  void addNote(Node node, java.lang.String[] text)
           
 void addNotesPage(NodeType type)
           
 void addNotesPage(NodeType type, java.lang.String pageName)
           
 void addPage(NodeType type, java.lang.String name, NamedTypedValue[] attributes)
           
 void addPage(NodeType type, java.lang.String name, NamedTypedValue[] attributes, boolean editable)
           
 void addPage(NodeType type, java.lang.String name, NamedTypedValue[] attributes, boolean editable, java.lang.String privateToApplicationName)
           
 void addPage(NodeType type, java.lang.String name, NamedTypedValue[] attributes, int ordinal, boolean editable)
           
 void addPage(NodeType type, java.lang.String name, NamedTypedValue[] attributes, int ordinal, boolean editable, java.lang.String privateToApplicationName)
           
 void addPage(NodeType type, java.lang.String name, NamedTypedValue[] attributes, java.lang.String privateToApplicationName)
           
 void addParentChildDataTransfer(NodeType type, java.lang.String parentAttributeName, java.lang.String childAttributeName)
           
 void addPlusPage(NodeType type)
           
 void addPlusPage(NodeType type, java.lang.String pageName)
           
 void addReferenceFrom(java.lang.String applicationName)
           
 void addReferenceTo(java.lang.String applicationName)
           
protected  boolean addTick(java.lang.String name, NodeType type)
          add a tick to the tick page.
 void addTickPage(NodeType type)
           
 void addTickPage(NodeType type, java.lang.String pageName)
           
 void addUserPage(NodeType type, AttributeSet aset)
           
 void addUserPage(NodeType type, AttributeSet aset, java.lang.String pageName)
           
 void addValueToEnumeration(NodeType nodeType, java.lang.String attributeName, java.lang.String newEnumerationValue)
           
 void addXref(long node, java.lang.String name, java.lang.String targetApplicationName, long targetNode, NodeType targetNodeType, java.lang.String targetAttributeName)
           
protected  void addXref(Node node, java.lang.String name, JEANAttributeReference attref)
           
 void addXrefPage(NodeType type)
           
 void addXrefPage(NodeType type, java.lang.String pageName)
           
protected  void addXrefs(Node node, NamedValue[] xrefs)
           
 void applicationInitialize()
           
static Namespace applicationNamespace(java.lang.String applicationName)
           
 void archive(long node)
           
protected  void archive(Node node)
           
 boolean audioNeeded()
           
 void auditETV(java.lang.String transformerName, java.lang.String auditAttribute)
          save a copy of the XML output from an ETV transformation.
 void backup()
           
static void backup(JEANAPI api, long[] nodes, java.lang.String arg)
           
 void backupIfNecessary()
           
static void browse(org.w3c.dom.Document doc)
          The document must be valid xhtm
static void browse(java.lang.String urlString)
           
static void browse(java.net.URL url)
           
 void browseETV(java.lang.String transformerName, long[] ids)
           
 void browseETV(java.lang.String transformerName, long[] ids, long[] selectedIds)
           
 void browseETV(java.lang.String transformerName, long[] ids, long[] selectedIds, java.lang.String param)
           
 void browseETV(java.lang.String transformerName, long[] ids, java.lang.String param)
           
protected  void browseETV(java.lang.String transformerName, Node[] nodes)
           
protected  void browseETV(java.lang.String transformerName, Node[] nodes, Node[] selectedNodes)
           
protected  void browseETV(java.lang.String transformerName, Node[] nodes, Node[] selectedNodes, java.lang.String param)
           
protected  void browseETV(java.lang.String transformerName, Node[] nodes, Node[] selectedNodes, java.lang.String param, java.lang.String subdirName)
           
protected  void browseETV(java.lang.String transformerName, Node[] nodes, java.lang.String param)
           
 boolean canBeClosed()
          check if the application can be closed.
static boolean canLicense()
           
protected static boolean canLink(NodeType parent, NodeType child)
           
protected  void checkSearches(Node node)
           
 void collapseRoot()
           
protected  boolean containsAnEvery(Node[] nodes)
           
protected  boolean containsAnIndex(Node[] nodes)
           
 java.lang.String convertRelativeToAbsolutePath(java.lang.String relativePath)
           
static void copyLogicals(java.lang.String appname)
           
 long copyNode(long node, long parent)
          make a copy of a given node and insert it as a child of the given parent.
 void copyXrefs(long from, long to)
           
protected  void copyXrefs(Node from, Node to)
           
protected  Node createActualNode(java.lang.String[] path, NodeType type)
           
protected  Node createActualNode(java.lang.String absolutePath, NodeType type)
           
protected  Node createActualNodePath(NamedTyped[] path)
          create node (if necessary), all containers along the path to be of type containerType
protected  Node createActualNodePath(Node startingFrom, NamedTyped[] path)
          create node (if necessary), all containers along the path to be of type containerType
protected  Node createActualNodePath(Node startingFrom, NamedTyped[] path, boolean useEditor)
          create node (if necessary), all containers along the path to be of type containerType
protected  Node createActualNodePath(Node startingFrom, java.lang.String[] path, NodeType containerType, NodeType targetType)
          create node (if necessary), all containers along the path to be of type containerType
protected  Node createActualNodePath(java.lang.String[] path, NodeType containerType, NodeType targetType)
          create node (if necessary), all containers along the path to be of type containerType
 void createIndex(long category, NodeType type, java.lang.String attributeName, Indexer indexer)
           
static Dag createNewApplicationUsingWizard()
           
static Dag createNewApplicationUsingWizard(JEANAPI api)
           
static void createNewWizardUsingWizard()
           
 long createNode(long parentNode, java.lang.String name, NodeType type)
          Create a new node
 long createNode(long parentNode, java.lang.String name, NodeType type, boolean useEditor)
          Create a new node
 long createNode(long parentNode, java.lang.String name, NodeType type, boolean useEditor, int ordinal)
          Create a new node
 long createNode(long parentNode, java.lang.String name, NodeType type, int ordinal)
          Create a new node
 long createNode(long parentNode, java.lang.String name, NodeType type, NamedValue[] attributes)
          Create a new node
 long createNode(long parentNode, java.lang.String name, NodeType type, NamedValue[] attributes, boolean useEditor)
          Create a new node
 long createNode(long parentNode, java.lang.String name, NodeType type, NamedValue[] attributes, boolean useEditor, int ordinal)
          Create a new node
 long createNode(long parentNode, java.lang.String name, NodeType type, NamedValue[] attributes, int ordinal)
          Create a new node
protected  Node createNode(Node parent, java.lang.String name, NodeType type)
           
protected  Node createNode(Node parent, java.lang.String name, NodeType type, boolean useEditor)
           
protected  Node createNode(Node parent, java.lang.String name, NodeType type, int ordinal)
           
protected  Node createNode(Node parent, java.lang.String name, NodeType type, NamedValue[] attributes)
           
protected  Node createNode(Node parent, java.lang.String name, NodeType type, NamedValue[] attributes, boolean useEditor)
           
protected  Node createNode(Node parent, java.lang.String name, NodeType type, NamedValue[] attributes, boolean useEditor, int ordinal)
           
 long createNode(java.lang.String[] path, NodeType type)
           
 long createNode(java.lang.String absolutePath, NodeType type)
           
 long[] createNodes(long parentNode, NodeCreationSpecification[] specs, NodeType type)
           
protected  Node[] createNodes(Node parent, NodeCreationSpecification[] specs, NodeType type)
           
 java.lang.Object createSetAttributeValue(java.lang.String setAttributeName, NamedTypedValue[] attDetails)
           
static double currentVATRate()
           
protected  void defaultHasChanged(NodeType type)
           
static void deleteApplication(java.lang.String deleteWhat)
           
 boolean deleteNode(long id, boolean confirm)
           
protected  boolean deleteNode(Node node, boolean confirm)
           
 boolean[] deleteNodes(long[] id, boolean confirm)
           
protected  boolean[] deleteNodes(Node[] nodes, boolean confirm)
           
 long[] deleteRecursive(long parent, long node)
           
protected  Node[] deleteRecursive(Node parent, Node node)
           
protected  void deleteSavedXref(java.lang.String name)
           
protected  void deleteSavedXrefs(java.lang.String[] names)
           
static void deleteXMLDoc(java.lang.String[] key)
           
 void displayImageFiles(java.io.File[] files)
           
 void displayImageFiles(NamedValue[] nodes)
           
 void displayImageFiles(java.lang.String imageAttributeName, long[] nodes)
           
 void editAttribute(long nodeID, java.lang.String attributeName)
           
protected  void editAttribute(Node node, java.lang.String attributeName)
           
 void editPage(long nodeID, java.lang.String pageName)
           
 void enableJavaMenuItem(java.lang.String name, boolean enabled)
           
 boolean equals(java.lang.Object obj)
           
 void expandNodes(long[] nodes)
           
 void expandNodes(Node[] nodes)
           
 void expandNodesInCatalog(long[] nodes)
           
 void expandRoot()
           
 void export(Node[] nodes)
           
 void fillMenuBar(javax.swing.JMenuBar menuBar)
           
 void finishWithAttributePanel(JEANAttributePanel panel)
           
protected  void firePostETVListeners(java.lang.String etvName, Node[] nodes)
           
 void firePostEvent(long node, java.lang.String name, int eventType, java.lang.Object parameter)
           
protected  ETVWrapper firePreETVListeners(java.lang.String etvName, Node[] nodes)
           
 boolean firePreEvent(long node, java.lang.String name, int eventType, java.lang.Object parameter)
           
 boolean ftpFile(java.io.File[] distributionFile, boolean binary, java.lang.String[] destinationPath, boolean ask)
           
 boolean ftpFile(java.io.File distributionFile, boolean binary, java.lang.String[] destinationPath)
           
 boolean ftpFile(java.io.File distributionFile, boolean binary, java.lang.String[] destinationPath, boolean ask)
           
 boolean ftpFile(java.io.File distributionFile, java.lang.String[] destinationPath)
           
 boolean ftpFile(java.io.File distributionFile, java.lang.String[] destinationPath, boolean ask)
           
 java.lang.String getAbsolutePath(long nodeID)
           
protected  java.lang.String getAbsolutePath(Node node)
           
 java.lang.Object getActualAttribute(long handle, java.lang.String name)
          get the actual value of an attribute of a node.
protected  java.lang.Object getActualAttribute(Node node, java.lang.String name)
          get the actual value of an attribute of a node.
 NamedValue[] getActualAttributeValues(long handle)
           
 NamedValue[] getActualAttributeValues(long handle, java.lang.String[] names)
          get the values of attributes of a node.
protected  NamedValue[] getActualAttributeValues(Node node)
           
protected  NamedValue[] getActualAttributeValues(Node node, java.lang.String[] names)
          get the values of attributes of a node.
protected  Node getActualNode(java.lang.String absolutePath)
           
protected  Node getActualNode(java.lang.String[] path)
           
 java.lang.String getActualNodeTitle(long id)
           
protected  java.lang.String getActualNodeTitle(Node node)
           
 javax.swing.JMenu getAdminMenu()
           
 long getAll()
           
 long[] getAllChildren(long[] handle, NodeType type)
          get the children of a node, that is all the other nodes that can be reached by following a single link from the given node.
 long[] getAllChildren(long handle, NodeType type)
          get the children of a node, that is all the other nodes that can be reached by following a single link from the given node.
protected  Node[] getAllChildren(Node[] node, NodeType type)
           
protected  Node[] getAllChildren(Node node, NodeType type)
           
 long[] getAncestorCategories(long nodeID)
           
 long[] getAncestorContainers(long nodeID)
           
protected  Dag getApplication()
           
 java.lang.String getApplicationFullName()
           
 java.lang.String getApplicationName()
          get the name of the application
 java.io.File getApplicationWebfilesDirectory()
           
 java.awt.datatransfer.DataFlavor getArrayDataFlavor()
           
 java.lang.Object getAttribute(long[] handle, java.lang.String name)
          get the value of an attribute of a set of nodes.
 java.lang.Object getAttribute(long handle, java.lang.String name)
          get the value of an attribute of a node.
protected  java.lang.Object getAttribute(Node node, java.lang.String name)
          get the value of an attribute of a node.
 java.lang.Class getAttributeClass(long handle, java.lang.String name)
          get the class of an attribute value of a node.
static java.lang.String[] getAttributeNameElements(java.lang.String attributeFullName)
           
 java.lang.String[] getAttributeNames(long id)
           
 java.lang.String[] getAttributeNames(long id, java.lang.String page)
           
protected  java.lang.String[] getAttributeNames(Node node)
           
protected  java.lang.String[] getAttributeNames(Node node, java.lang.String page)
           
protected  java.lang.String[] getAttributeNames(NodeType type)
           
protected  java.lang.String[] getAttributeNames(NodeType type, AttributeType atype)
           
protected  java.lang.String[] getAttributeNames(NodeType type, java.lang.String page)
           
protected  NamedTyped[] getAttributeNamesAndTypes(NodeType type)
           
 JEANAttributePanel getAttributePanel()
           
 Namespace getAttributePanelNamespace()
           
protected  Attribute[] getAttributes(Node node)
           
protected  Attribute[] getAttributes(Node node, java.lang.String page)
           
protected  Attribute[] getAttributes(NodeType type)
           
protected  Attribute[] getAttributes(NodeType type, java.lang.String page)
           
 java.lang.String getAttributeString(long handle, java.lang.String name)
          get the value of an attribute of a node.
protected  java.lang.String getAttributeString(Node node, java.lang.String name)
          get the value of an attribute of a node.
 java.lang.String[] getAttributeStrings(long handle, java.lang.String name)
          get the value of a set attribute of a node.
protected  java.lang.String[] getAttributeStrings(Node node, java.lang.String name)
          get the value of a set attribute of a node.
static AttributeType getAttributeType(int typei)
           
static AttributeType[] getAttributeType(int[] typei)
           
 AttributeType getAttributeType(long handle, java.lang.String name)
          get the type of an attribute value of a node.
protected  AttributeType getAttributeType(NodeType type, java.lang.String name)
           
protected  AttributeType[] getAttributeTypes(NodeType type)
           
 java.lang.Object getAttributeTypeValue(java.lang.String prompt, AttributeType type, java.lang.Object initialValue)
          open a dialog to obtain a value of the correct type for a given attribute type
 java.lang.Object[] getAttributeTypeValues(NodeType type, java.lang.String[] attributeNames)
           
 java.lang.Object[] getAttributeTypeValues(java.lang.String[] prompts, AttributeType[] type, java.lang.Object[] initialValue)
          open a dialog to obtain a value of the correct type for a given attribute type
 java.lang.Object[] getAttributeTypeValues(java.lang.String msg, NodeType type, java.lang.String[] attributeNames)
           
 java.lang.Object[] getAttributeTypeValues(java.lang.String msg, java.lang.String[] prompts, AttributeType[] type, java.lang.Object[] initialValue)
          open a dialog to obtain values of the correct type for a given set of attribute types
 java.lang.Object[] getAttributeTypeValues(java.lang.String msg, java.lang.String[] prompts, int[] typei, java.lang.Object[] initialValue)
          open a dialog to obtain a value of the correct type for a given attribute type
 NamedValue[] getAttributeValues(long handle)
           
 NamedValue[] getAttributeValues(long handle, java.lang.String[] names)
          get the values of attributes of a node.
protected  NamedValue[] getAttributeValues(Node node)
           
protected  NamedValue[] getAttributeValues(Node node, java.lang.String[] names)
          get the values of attributes of a node.
 JEANBackEnd getBackEnd()
           
 java.io.File getBackupDirectory()
           
 java.io.File getCacheDirectory()
           
 JEANCatalog getCatalog()
           
 JEANCatalog getCatalog(java.lang.String selectedNodePath)
           
 javax.swing.JMenu getCatalogMenu()
           
 Namespace getCatalogNamespace()
           
 java.awt.Color getCatalogPaneForeground()
           
 long getCatalogValue(java.lang.String msg, long selectedNode)
          get a set of node ids by showing a dialog containg a catalog from which nodes can be selected in the usual way.
 long getCatalogValue(java.lang.String title, java.lang.String msg, long selectedNode)
          get a set of node ids by showing a dialog containg a catalog from which nodes can be selected in the usual way.
 long[] getCatalogValues(java.lang.String msg, long[] selectedNodes)
          get a set of node ids by showing a dialog containg a catalog from which nodes can be selected in the usual way.
 long[] getCatalogValues(java.lang.String title, java.lang.String msg, long[] selectedNodes)
          get a set of node ids by showing a dialog containg a catalog from which nodes can be selected in the usual way.
 java.lang.String getCategoryName()
           
 java.lang.String getCategoryNamePlural()
           
 long[] getChildren(long handle)
          get the children of a node, that is all the other nodes that can be reached by following a single link from the given node.
 long[] getChildren(long handle, NodeType type)
          get the children of a node, that is all the other nodes that can be reached by following a single link from the given node.
 java.lang.String[] getChildrenNames(long handle, NodeType type)
          get the names of all children of a node, that is all the other nodes that can be reached by following a single link from the given node.
protected  java.lang.String[] getChildrenNames(Node node, NodeType type)
          get the names of all children of a node, that is all the other nodes that can be reached by following a single link from the given node.
 org.w3c.dom.Document getConfigDocument()
           
 java.io.File getConfigFile(java.lang.String[] path)
           
 org.w3c.dom.Node getConfigXMLNode()
           
 boolean getConfirmUpdates()
           
 java.util.Date getCreationDate(long node)
           
protected  java.util.Date getCreationDate(Node node)
           
 NamedTyped[] getCurrentSelectedNodePath()
           
protected  java.lang.Object[] getCurrentSelectionPath()
           
 CursorManager getCursorManager()
           
 java.awt.datatransfer.DataFlavor getDataFlavor()
           
 DatedInformationProvider[] getDatedInformationProviders()
           
 java.text.DateFormat getDateFormatter()
           
 java.text.DateFormat getDateTimeFormatter()
           
 FTPDetails getDefaultFTPDetails()
           
 java.lang.String getDisplayAttribute(long handle, java.lang.String name)
          get the value of an attribute of a node.
 java.lang.String getDisplayAttributeString(long handle, java.lang.String name)
          get the value of an attribute of a node.
 DisplayPanel getDisplayPanel(java.lang.String[] labels, AttributeType[] types, java.lang.Object[] values)
           
 javax.swing.JMenu getEntityMenu()
           
 java.awt.Color getEnumerationAttributeColor(NodeType type, java.lang.String enumerationAttributeValue)
           
 java.awt.Color getEnumerationAttributeColor(NodeType type, java.lang.String enumerationAttributeName, java.lang.String enumerationAttributeValue)
           
 java.awt.Color[] getEnumerationAttributeColors(NodeType type, java.lang.String enumerationAttributeName, java.lang.String[] enumerationAttributeValues)
           
 AttributeType getEnumerationAttributeType(java.lang.String[] values)
           
 java.lang.String getEnumerationColorAttribute(NodeType type)
           
static org.w3c.dom.Document getEnumerationDocument(NodeType type, java.lang.String attributeName, java.lang.String[] values)
           
 java.lang.String[] getEnumerationValues(long id, java.lang.String attributeName)
           
protected  java.lang.String[] getEnumerationValues(Node node, java.lang.String attributeName)
           
 java.lang.String[] getEnumerationValues(NodeType type, java.lang.String attributeName)
           
 java.lang.String getETVDestinationName()
           
 java.lang.reflect.Method getExternalMethod(java.lang.String name)
           
 java.lang.String[] getFileAttributeNames(long id)
           
protected  java.lang.String[] getFileAttributeNames(Node node)
           
 java.lang.String[] getFileAttributeNames(NodeType type)
           
 FTPDetails getFTPDetails()
           
 java.lang.String getGroupName()
           
 java.lang.String getGroupNamePlural()
           
protected  long getHandleFromNode(Node node)
           
protected  java.lang.Long[] getHandleObjectsFromNodes(Node[] nodes)
           
protected  long[] getHandlesFromNodes(Node[] nodes)
           
 boolean[] getHasRunnables()
           
 javax.swing.ImageIcon getImageIcon(NodeType type, long id)
           
 java.lang.String getImageRotateAttributeName()
           
protected  java.lang.String[] getIndexableAttributeFullNames(NodeType type)
           
 java.lang.String[] getIndexableAttributeNames(long id)
           
protected  java.lang.String[] getIndexableAttributeNames(Node node)
           
protected  java.lang.String[] getIndexableAttributeNames(NodeType type)
           
protected  Attribute[] getIndexableAttributes(Node node)
           
protected  Attribute[] getIndexableAttributes(NodeType type)
           
protected  AttributeType[] getIndexableAttributeTypes(NodeType type)
           
 InputPanel getInputPanel(java.lang.String[] prompts, AttributeType[] type, java.lang.Object[] initialValue)
           
 java.lang.String getItemName()
           
 java.lang.String getItemNamePlural()
           
 java.io.File getJEANDirectory()
           
 LinkInformationProvider getLinkInformationProvider()
           
 java.io.File getListsDirectory()
           
static java.lang.String getLKKey()
           
 JEANFile getLocalLogical(java.lang.String localName)
           
static JEANFile getLogical(java.lang.String name)
           
static JEANFile getLogical(java.lang.String appname, java.lang.String logicalName)
           
 java.lang.String[] getLogicalNames()
           
static java.lang.String[] getLogicalNames(java.lang.String appname)
           
static JEANAPI getMailAPI()
          gets the JEANMail api if loaded
 Application getMediaPlayer(java.lang.String type)
           
 java.lang.String[] getMediaPlayerTypes()
           
 javax.swing.JMenuBar getMenuBar()
           
 javax.swing.JMenuBar getMenuBar(java.lang.String id)
           
protected  JEANMenuComponent[] getMenuComponents()
           
protected  JEANMenuFactory getMenuFactory()
           
 java.lang.String getName(long handle)
          get the name of a node
 Namespace getNamespace()
           
 java.lang.Object getNewAttributeValue(java.lang.String prompt, long nodeHandle, java.lang.String attributeName)
          open a dialog to get a value suitable for the given attribute, typically this will be used with an attribute from a template with a default value set.
 java.io.File getNewBackupDirectory()
           
protected  Node getNode(long id)
          get a node given its id
 long getNode(long nodeID, java.lang.String path)
           
protected  Node getNode(Node node, java.lang.String path)
           
protected  Node getNode(Node node, java.lang.String[] path)
           
 long getNode(java.lang.String absolutePath)
           
 long getNode(java.lang.String[] path)
           
protected  Node[] getNodeArray(java.lang.String absolutePath)
           
protected  Node[] getNodeArray(java.lang.String[] path)
           
protected  java.lang.String getNodeDescription(Node node)
           
 java.lang.String getNodeDescription1(long id)
           
 java.lang.String getNodeDescriptionFromMethod(long id)
          if an application has registered a nodeDescriptionMethod then it will be called to provide a description for the given type
protected  NodeEditor getNodeEditor(NodeType type)
           
protected  Node getNodeFromHandle(long handle)
           
 JEANNodeList getNodeList(long[] nodes, java.lang.String name)
           
 JEANNodeList getNodeList(Node[] nodes, java.lang.String name)
           
 Namespace getNodeListNamespace()
           
protected  Node[] getNodesFromHandles(long[] handles)
           
protected  Node getNodeTemplate(NodeType type)
           
 java.lang.String getNodeTitle(long id)
           
protected  java.lang.String getNodeTitle(Node node)
           
protected  JEANAPI.NodeTypeInformation getNodeTypeInformation(NodeType type)
           
protected static int getNodeTypeInt(NodeType type)
           
 java.lang.String getNodeTypeName(NodeType type)
           
static InputPanel getNodeTypeRadioPanel(NodeType initialSelection)
           
 boolean getNoSplash()
           
 java.lang.String[] getNote(long node)
           
protected  java.lang.String[] getNote(Node node)
           
 int getNumberOfPathsToNode(long node)
           
static java.lang.String[] getOptionNames(Namespace namespace)
           
protected  Node getOrCreateActualNode(NamedTyped[] path)
           
 long getOrCreateNode(long start, NamedTyped[] path)
           
 long getOrCreateNode(long parentNode, java.lang.String name, NodeType type)
           
 long getOrCreateNode(long parentNode, java.lang.String name, NodeType type, boolean useEditor)
           
 long getOrCreateNode(long parentNode, java.lang.String name, NodeType type, NamedValue[] attributes)
           
 long getOrCreateNode(long parentNode, java.lang.String name, NodeType type, NamedValue[] attributes, boolean editExisting)
           
 long getOrCreateNode(NamedTyped[] path)
           
protected  Node getOrCreateNode(Node parentNode, java.lang.String name, NodeType type)
           
protected  Node getOrCreateNode(Node parentNode, java.lang.String name, NodeType type, boolean useEditor)
           
protected  Node getOrCreateNode(Node parentNode, java.lang.String name, NodeType type, NamedValue[] attributes, boolean editExisting)
           
 java.lang.String[] getPageNames(NodeType type)
           
 java.lang.String getParentApplication()
           
 long[] getParents(long id)
          get the parents of a node, that is all the other nodes that can be reached by following a single link backwards from the given node.
 long[] getParents(long id, NodeType type)
          get the parents of a node, that is all the other nodes that can be reached by following a single link backwards from the given node.
 long[] getParents(long id, NodeType[] types, long[] excluding)
          get the parents of a node, that is all the other nodes that can be reached by following a single link backwards from the given node.
 JEANPathList getPathList(Node node, java.lang.String name)
           
 java.lang.String[] getPathToNode(long node)
           
 java.lang.String[] getPathToNode(long node, int index)
           
 JEANCatalog getPlainCatalog()
           
static java.io.File getPool()
           
 javax.swing.JPopupMenu getPopupMenu(NodeType type)
           
 int getPreloadLevel()
           
 NamedValue[] getPrompts(NodeType type)
           
static boolean getRawOption(Namespace namespace, java.lang.String name, boolean defaultValue)
           
static byte[] getRawOption(Namespace namespace, java.lang.String name, byte[] defaultValue)
           
static double getRawOption(Namespace namespace, java.lang.String name, double defaultValue)
           
static float getRawOption(Namespace namespace, java.lang.String name, float defaultValue)
           
static int getRawOption(Namespace namespace, java.lang.String name, int defaultValue)
           
static long getRawOption(Namespace namespace, java.lang.String name, long defaultValue)
           
static java.lang.String getRawOption(Namespace namespace, java.lang.String name, java.lang.String defaultValue)
           
protected  Node[] getRecycledActualNodes(NodeType type)
           
 long[] getRecycledNodes(NodeType type)
           
 java.lang.String[] getReferenceAttributeFullNames(NodeType type)
           
protected  java.lang.String[] getReferenceAttributeNames(NodeType type)
           
protected  Attribute[] getReferenceAttributes(Node node)
           
protected  Attribute[] getReferenceAttributes(NodeType type)
           
 java.lang.String[] getReferenceAttributeTargetApplicationNames(NodeType type)
           
 java.lang.String[] getReferencesFrom()
          get a list of applications that reference this application.
 java.lang.String[] getReferencesTo()
          get a list of applications that are referenced by this application.
 JEANAttributeReference getReferenceTarget(long nodeID, java.lang.String attributeName)
           
 java.lang.String[] getRestoreNames()
           
 java.lang.String[] getRunnableAttributeCommands(NodeType type)
           
 java.lang.String[] getRunnableAttributeFullNames(NodeType type)
           
 java.lang.String[] getRunnableAttributeNames(long id)
           
protected  java.lang.String[] getRunnableAttributeNames(Node node)
           
 java.lang.String[] getRunnableAttributeNames(NodeType type)
           
protected  NamedValue[] getRunnableAttributeNamesAndCommands(NodeType type)
           
protected  Attribute[] getRunnableAttributes(Node node)
           
protected  Attribute[] getRunnableAttributes(NodeType type)
           
 AttributeType[] getRunnableAttributeTypes(NodeType type)
           
 java.lang.String[] getRunOnDoubleClick(NodeType type)
           
 FTPDetails getSavedFTPDetails()
           
 java.lang.String[] getSavedXrefNames()
           
static java.lang.String getSDKKey()
           
 java.util.Comparator getSearchListComparator()
           
 JEANSearchResultBrowser getSearchResultBrowser()
           
 long getSelectedNode()
           
 long[] getSelectedNodes()
           
 long[] getSelectionPath()
           
 java.lang.String[] getSetAttributeContentNames(long node, java.lang.String setAttributeName)
           
protected  java.lang.String[] getSetAttributeContentNames(Node node, java.lang.String setAttributeName)
           
 NamedTypedValue[] getSetAttributeContents(long node, java.lang.String setAttributeName)
           
protected  NamedTypedValue[] getSetAttributeContents(Node node, java.lang.String setAttributeName)
           
 SetDisplayType getSetAttributeDisplayType(long handle, java.lang.String setAttributeName)
           
protected  java.lang.String[] getSetAttributeFullNames(NodeType type)
           
protected  java.lang.String[] getSetAttributeNames(NodeType type)
           
protected  Attribute[] getSetAttributes(Node node)
           
protected  Attribute[] getSetAttributes(NodeType type)
           
 int getSetAttributeSize(long node, java.lang.String setAttributeName)
           
 int getSetAttributeSize(Node node, java.lang.String setAttributeName)
           
 java.awt.datatransfer.DataFlavor getStringDataFlavor()
           
 java.io.File getSystemlibDirectory()
           
 boolean getSystemValue(java.lang.String name, boolean defaultValue)
          retrieve a System saved value of the same type as the default
 byte[] getSystemValue(java.lang.String name, byte[] defaultValue)
          retrieve a System saved value of the same type as the default
 double getSystemValue(java.lang.String name, double defaultValue)
          retrieve a System saved value of the same type as the default
 float getSystemValue(java.lang.String name, float defaultValue)
          retrieve a System saved value of the same type as the default
 int getSystemValue(java.lang.String name, int defaultValue)
          retrieve a System saved value of the same type as the default
 long getSystemValue(java.lang.String name, long defaultValue)
          retrieve a System saved value of the same type as the default
 java.lang.String getSystemValue(java.lang.String name, java.lang.String defaultValue)
          retrieve a System saved value of the same type as the default
static long getTemplateID(NodeType type)
           
protected  Attribute getTheAttribute(long handle, java.lang.String name)
           
protected  Attribute getTheAttribute(Node node, java.lang.String name)
           
protected  Attribute getTheAttribute(NodeType type, java.lang.String name)
           
protected  NamedValue[] getTickNamedValues(NodeType type)
          list the names of all ticks for a node type
protected  java.lang.String[] getTickNames(NodeType type)
          list the names of all ticks for a node type
 int getTimeGranularity()
           
 java.io.File getTmpDirectory()
           
 java.io.File getTmpFile(java.lang.String type)
           
 java.io.File getTmpFile(java.lang.String type, boolean deleteOnExit)
           
 java.io.File getTmpWebFile(java.lang.String type)
           
 java.lang.String getTransparentGifURL()
           
 long getTrash(NodeType type)
           
 java.util.Vector getTreeModelListeners()
           
 javax.swing.tree.TreePath[] getTreePaths(long node)
           
protected  javax.swing.tree.TreePath[] getTreePaths(Node node)
           
 NodeType getType(long handle)
          get the type of a node
protected static int getTypeInt(AttributeType type)
           
protected static int[] getTypeInt(AttributeType[] type)
           
static JEANUser getUser()
          gets the current user
 JEANUser getUser(java.lang.String userName)
           
static java.lang.String getUserFullName()
          gets the current user
static java.lang.String getUserName()
          gets the current user
 java.lang.String[] getUserNames()
           
 JEANUser[] getUsers()
           
 boolean getUserValue(java.lang.String name, boolean defaultValue)
          retrieve a User saved value of the same type as the default
 byte[] getUserValue(java.lang.String name, byte[] defaultValue)
          retrieve a User saved value of the same type as the default
 java.awt.Color getUserValue(java.lang.String name, java.awt.Color defaultValue)
          retrieve a User saved value of the same type as the default
 double getUserValue(java.lang.String name, double defaultValue)
          retrieve a User saved value of the same type as the default
 float getUserValue(java.lang.String name, float defaultValue)
          retrieve a User saved value of the same type as the default
 int getUserValue(java.lang.String name, int defaultValue)
          retrieve a User saved value of the same type as the default
 long getUserValue(java.lang.String name, long defaultValue)
          retrieve a User saved value of the same type as the default
 java.lang.String getUserValue(java.lang.String name, java.lang.String defaultValue)
          retrieve a User saved value of the same type as the default
static java.lang.String getValueAsString(AttributeType type, java.lang.Object val)
          Gets the valueAsString attribute of the Attribute object
 java.lang.Object[] getValueForAttributes(long nodeID, java.lang.String[] attributeNames, java.lang.String dialogName)
          opens a dialog to get values for several attributes of a node
static java.lang.Object getValueFromString(AttributeType type, java.lang.String valueAsString)
          Gets the valueFromString attribute of the Attribute class
protected  Attribute[] getVisibleAttributes(Node node)
           
protected  Attribute[] getVisibleAttributes(NodeType type)
           
protected  Attribute[] getVisibleIndexableAttributes(Node node)
           
protected  Attribute[] getVisibleIndexableAttributes(NodeType type)
           
 javax.swing.tree.TreePath[] getVisibleTreePaths(long node)
           
protected  javax.swing.tree.TreePath[] getVisibleTreePaths(Node node)
           
 java.io.File getWebDirectory()
           
 java.io.File getWebFile(java.lang.String name)
           
 java.io.File getWebfilesDirectory()
           
 java.lang.String[] getXrefNames(long node)
           
protected  java.lang.String[] getXrefNames(Node node)
           
protected  NamedValue[] getXrefs(Node node)
           
 boolean hasAttribute(long handle, java.lang.String name)
           
protected  boolean hasAttribute(Node node, java.lang.String name)
           
 boolean hasAttribute(NodeType type, java.lang.String attributeName)
           
 boolean hasAttribute(NodeType type, java.lang.String attributeName, int attributeTypei)
           
 boolean hasAttribute(NodeType type, java.lang.String attributeName, int[] attributeTypei)
           
 boolean hasFileAttribute(NodeType type)
           
 boolean hasPage(long node, java.lang.String pageName)
           
protected  boolean hasPage(Node node, java.lang.String pageName)
           
 boolean hasPage(NodeType type, java.lang.String pageName)
           
 boolean hasRunnables()
           
 boolean hasRunnables(NodeType type)
           
static boolean hasSDK()
           
 boolean hasSystemTray()
           
 boolean hasTickPage(NodeType type)
           
 boolean hasXrefPage(long node)
           
 boolean hasXrefPage(NodeType type)
           
 void help()
           
 void hideNode(long node)
           
protected  void hideNode(Node node)
           
 int historySize()
           
protected  Node[] importActualNodes(boolean ask)
           
 void importCatalog()
           
 void importDirectory(long container, java.io.File directory, java.lang.String type, java.lang.String attributeName, java.util.Comparator fileComparator)
           
protected  void importDirectory(Node container, java.io.File directory, java.lang.String type, java.lang.String attributeName, java.util.Comparator fileComparator)
           
 long[] importNodes(boolean ask)
           
 java.lang.String inputDate(java.lang.String msg, java.lang.Object dateAsStringO)
           
 boolean isAdmin()
           
 boolean isAncestor(long ancestor, long descendant)
           
protected  boolean isAncestor(Node ancestor, Node descendant)
           
 boolean isAutoBackup()
           
 boolean isCategory(long id)
           
 boolean isChildOf(long child, long parent)
           
 boolean isCurrent()
           
 boolean isDebugMode()
          check if this application is running in debug mode
 boolean isDeleteAllowed()
           
 boolean isDragAndDropShouldAsk()
          If this is set to true then a drag and drop on the catalog will ask whether to unlink from the source as well as linking to the target
 boolean isDragAndDropShouldMove()
          If this is set to true then a drag and drop on the catalog will unlink from the source as well as linking to the target
 boolean isEvery(long id)
           
protected  boolean isEvery(Node node)
           
 boolean isGranularitySet()
           
 boolean isGroup(long id)
           
 boolean isItem(long id)
           
static boolean isLoaded(java.lang.String applicationName)
          check if the application is loaded
 boolean isNewDistribution()
           
 boolean isOnlySelected(long node)
           
 boolean isPreloading()
           
 boolean isSelected(long node)
           
 java.lang.Boolean isTicked(long node, java.lang.String name)
          check if a tick value is ticked or not
protected  java.lang.Boolean isTicked(Node node, java.lang.String name)
          check if a tick value is ticked or not
 boolean isUseBase64()
           
 java.util.Iterator iterator(NodeType type)
           
 java.util.Iterator iterator(NodeType[] type)
           
 java.util.Iterator iterator(NodeType[] type, long startingAt)
           
protected  java.util.Iterator iterator(NodeType[] type, Node startingAt)
           
 java.util.Iterator iterator(NodeType type, long startingAt)
           
protected  java.util.Iterator iterator(NodeType type, Node startingAt)
           
 void link(long[] parent, long child)
           
 void link(long parent, long child)
           
 void link(long parent, long[] children)
           
protected  void linkActual(Node[] parentNodes, Node childNode)
           
protected  void linkActual(Node parentNode, Node childNode)
           
protected  void linkActual(Node parentNode, Node[] childrenNodes)
           
 java.lang.String[] listETVs()
           
static java.lang.String[] listKnownApplicationNames()
           
 java.lang.String[] listSavedSearches()
           
 void loadArchive(long node)
           
protected  void loadArchive(Node node)
           
 javax.swing.ImageIcon loadImageIcon(NodeType type, java.lang.String name)
           
protected  void loadNodeTypeInformation()
           
 Criterion loadSearch(java.lang.String name)
           
protected  JEANUser loadUser(java.lang.String userName)
           
 org.w3c.dom.Document loadWebDocument(java.lang.String name)
           
static org.w3c.dom.Document loadXMLDoc(java.lang.String[] key)
           
 org.w3c.dom.Document loadXMLDocument(java.lang.String[] key)
           
 XrefSpecification loadXref(java.lang.String xrefName)
           
static boolean mailIsLoaded()
           
 void merge(NodeType type, long[] nodes, long node)
          merge the children of a set of nodes into one node
 void merge(NodeType type, long[] nodes, long parentNode, java.lang.String newNodeName, NodeType newType)
          merge the children of a set of nodes into one new node
protected  void merge(NodeType type, Node[] nodes, Node node)
          merge the children of a set of nodes into one node
protected  void merge(NodeType type, Node[] nodes, Node parentNode, java.lang.String newNodeName, NodeType newNodeType)
          merge the children of a set of nodes into one new node
static JEANAPI newJEANAPI(java.io.File jeandir, java.lang.String applicationName)
          get the API that corresponds to an application
protected static JEANAPI newJEANAPI(JEANBackEnd backEnd)
          get the API that corresponds to an application
static JEANAPI newJEANAPI(java.lang.String applicationName)
          get the API that corresponds to an application
 boolean nodeExists(long node)
           
 void nodeHasChanged(long node)
           
protected  void nodeHasChanged(Node node)
           
 void noteRunning(java.lang.String runnableAttributeName, NodeType type, long nodeid)
           
protected  long peekAtNextID()
           
 long peekHistoryNode()
           
 long popHistoryNode()
           
 void print(java.lang.String[] text)
           
 void processNodes(NodeType[] type, long startingAt, NodeProcessor processor)
           
protected  void processNodes(NodeType[] type, Node startingAt, NodeProcessor processor)
           
 void processNodes(NodeType type, long startingAt, NodeProcessor processor)
           
protected  void processNodes(NodeType type, Node startingAt, NodeProcessor processor)
           
 void pushHistoryNode(long id)
           
 void quit()
           
 void reindexNode(long id)
           
protected  void reindexNode(Node node)
           
 void removeAttribute(NodeType type, java.lang.String attributeName)
           
 void removeAttributeFromSet(long node, java.lang.String setAttributeName, java.lang.String attributeName)
           
protected  void removeAttributeFromSet(Node node, java.lang.String setAttributeName, java.lang.String attributeName)
           
 void removeAttributeFromSet(NodeType type, java.lang.String setAttributeName, java.lang.String attributeName)
           
 void removeDoubleClickListener(CatalogDoubleClickListener listener)
           
 void removePage(long node, java.lang.String pageName)
           
protected  void removePage(Node node, java.lang.String pageName)
           
 void removePage(NodeType nodeType, java.lang.String pageName)
           
 void removeTicker(Tickable tickable)
           
 void removeValueFromEnumeration(NodeType nodeType, java.lang.String attributeName, java.lang.String newEnumerationValue)
           
 void removeXref(long node, java.lang.String xrefName)
           
protected  void removeXref(Node node, java.lang.String xrefName)
           
 void renameNode(long node, java.lang.String newName)
           
protected  void renameNode(Node node, java.lang.String newName)
           
 void repaintAttributePanels()
           
protected  void repairCatalog()
           
protected  void repairReferencesFrom()
           
 void resetAllPrompts(NodeType type)
           
 void resetAttributePanels()
           
 void resetCatalogSelection()
           
 void resort(long node)
           
protected  void resort(Node node)
           
 void restore(java.lang.String restoreNumber)
           
 void restoreCatalog()
           
 void restoreCurrentSelectedNodes()
           
 boolean sameApplication(JEANAPI api)
           
 boolean sameJEANDirectory(JEANAPI api)
           
 void saveConfigDocument(org.w3c.dom.Document doc)
           
 void saveCurrentSelectedNodes()
           
 void saveSearch(Criterion criterion)
          save a search
 void saveUser(JEANUser user)
           
 void saveWebDocument(org.w3c.dom.Document doc, java.lang.String name, java.lang.String extension)
          save a document into the webfiles directory
static void saveXMLDoc(java.lang.String[] key, org.w3c.dom.Document doc)
           
 void saveXMLDocument(java.lang.String[] key, org.w3c.dom.Document doc)
           
 void saveXref(java.lang.String xrefName, XrefSpecification spec)
           
 long[] search(long[] startNodes, Criterion criterion)
           
protected  Node[] search(Node[] startNodes, Criterion criterion)
           
 long[] search(NodeType type, long[] startNodes, Criterion criterion)
           
protected  Node[] search(NodeType type, Node[] startNodes, Criterion criterion)
           
 NamedValue[] selectPrompts(NodeType type)
           
static boolean sendAMail(java.lang.String recipients)
           
static boolean sendMail(java.lang.String[] to, java.lang.String[] cc, java.lang.String[] bcc, java.lang.String subject, java.lang.String message, java.io.File[] attachments)
           
 void setAll(long all)
          set the all node, if this is set then all new nodes will automatically be added to it, and when the last non-every and non-all link is removed, the link to all will be removed as well.
 void setAllInsideSetPromptsToSameAsName(NodeType type)
           
 void setAllPrompts(NodeType type, NamedValue[] prompt)
           
 void setApplicationFullName(java.lang.String applicationFullName)
           
 void setAttribute(long nodeHandle, java.lang.String name, java.lang.Object value)
           
 void setAttribute(Node node, java.lang.String name, java.lang.Object value)
           
 void setAttributeDescription(long node, NamedValue[] nameAndDescription)
           
 void setAttributeDescription(long node, java.lang.String attributeName, java.lang.String description)
           
protected  void setAttributeDescription(Node node, NamedValue[] nameAndDescription)
           
protected  void setAttributeDescription(Node node, java.lang.String attributeName, java.lang.String description)
           
 void setAttributeDescription(NodeType type, NamedValue[] nameAndDescription)
           
 void setAttributeDescription(NodeType type, java.lang.String attributeName, java.lang.String description)
           
 void setAttributes(long handle, NamedValue[] values)
           
protected  void setAttributes(Node node, NamedValue[] values)
           
 void setCatalogPaneForeground(java.awt.Color color)
           
 void setConfirmUpdates(boolean confirmUpdates)
           
protected  void setCurrentSelectionPath(Node[] currentSelectionPath)
           
static void setCurrentVATRate(double vat)
           
 void setCursorManager(CursorManager cursorManager)
           
 void setDebugMode(boolean debugMode)
           
 void setDefaultValue(NodeType type, java.lang.String attributeName, java.lang.Object defaultValue)
           
 void setDefaultValueFromString(NodeType type, java.lang.String attributeName, java.lang.String defaultValue)
           
 void setDeleteAllowed(boolean deleteAllowed)
           
 void setDisplayColor(long node, java.awt.Color displayColor)
           
 void setDisplayColor(Node node, java.awt.Color displayColor)
           
 void setDragAndDropShouldAsk(boolean dndask)
          If this is set to true then a drag and drop on the catalog will ask whether to unlink from the source as well as linking to the target
 void setDragAndDropShouldMove(boolean dndmove)
          If this is set to true then a drag and drop on the catalog will unlink from the source as well as linking to the target
 void setEnumerationAttributeColor(NodeType type, java.lang.String enumerationAttributeName, java.lang.String enumerationAttributeValue, java.awt.Color color)
           
 void setEnumerationColorAttribute(NodeType type, java.lang.String enumerationAttributeName)
           
 void setEnumerationValues(NodeType nodeType, java.lang.String attributeName, java.lang.String[] newEnumerationValues)
           
 void setETVComparator(java.lang.String transformerName, java.util.Comparator comparator)
           
 void setETVDestinationName(java.lang.String etvDestinationName)
           
 void setETVGetAttributeName(java.lang.String transformerName, java.lang.String name)
           
 void setETVGetAttributeName(java.lang.String transformerName, java.lang.String name, java.lang.String msg)
           
 void setFileApplication(NodeType type, java.lang.String fileAttributeName, java.lang.String appname, Application app)
           
 void setGlobal(java.lang.String name, java.lang.String value)
           
 void setHistoryAttributeNameAndNode(java.lang.String runnableAttributeName, NodeType type, long nodeid, int numberAllowed)
           
 void setHistoryAttributeNameAndNode(java.lang.String runnableAttributeName, NodeType type, java.lang.String pathname, int numberAllowed)
           
 void setIconSupplier(NodeType type, IconSupplier is)
           
 void setImageRotateAttributeName(java.lang.String imageRotateAttributeName)
           
 void setIncludeYears(long node, java.lang.String dateAttributeName, boolean includeYears)
           
 void setInputPrompt(NodeType type, java.lang.String attributeName, java.lang.String newPrompt)
           
 void setJavaAskForInput(java.lang.String name, boolean askForInput)
           
 boolean setLinkComparator(long node, java.lang.String descriptor)
           
protected  boolean setLinkComparator(Node node, java.lang.String descriptor)
           
 boolean setLinkComparator(NodeType type)
           
 boolean setLinkComparator(NodeType type, java.lang.String descriptor)
           
 void setLocalLogical(java.lang.String localName, JEANFile value)
           
 void setLocalLogical(java.lang.String localName, java.lang.String value)
           
static void setLogical(java.lang.String name, JEANFile value)
           
static void setLogical(java.lang.String name, java.lang.String value)
           
static void setLogical(java.lang.String appname, java.lang.String logicalName, JEANFile value)
           
static void setLogical(java.lang.String appname, java.lang.String logicalName, java.lang.String value)
           
protected  void setName(NodeType type, java.lang.String name)
           
 void setNewDistribution(boolean newDistribution)
           
 void setNodeDescription(long node, java.lang.String description)
           
protected  void setNodeDescription(Node node, java.lang.String description)
           
 void setNodeDescriptionMethod(java.lang.reflect.Method nodeDescriptionMethod)
           
protected  void setNodeEditorOption(java.lang.String name, java.lang.Object obj)
           
 void setNodeTitle(long node, java.lang.String title)
           
protected  void setNodeTitle(Node node, java.lang.String title)
           
 void setNodeValueComparator(long node, java.lang.String attributeName, java.util.Comparator comparator)
           
 void setNodeValueComparator(long node, java.lang.String attributeName, java.util.Comparator comparator, java.lang.String attributeName2, java.util.Comparator comparator2)
           
protected  void setNodeValueComparator(Node node, java.lang.String attributeName, java.util.Comparator comparator)
           
protected  void setNodeValueComparator(Node node, java.lang.String attributeName, java.util.Comparator comparator, java.lang.String attributeName2, java.util.Comparator comparator2)
           
 void setNoSave(long nodeHandle, boolean noSave)
           
 void setNoSplash(boolean noSplash)
           
 void setPageVisible(long node, java.lang.String pageName, boolean newVisible)
           
protected  void setPageVisible(Node node, java.lang.String pageName, boolean newVisible)
           
 void setPreloadLevel(int preloadLevel)
           
 void setPrompt(long node, java.lang.String attributeName, java.lang.String prompt)
           
protected  void setPrompt(Node node, java.lang.String attributeName, java.lang.String prompt)
           
 void setPrompts(long node, NamedValue[] prompt)
           
protected  void setPrompts(Node template, Node node, NamedValue[] prompt)
           
static void setRawOption(Namespace namespace, java.lang.String name, boolean value)
           
static void setRawOption(Namespace namespace, java.lang.String name, byte[] value)
           
static void setRawOption(Namespace namespace, java.lang.String name, double value)
           
static void setRawOption(Namespace namespace, java.lang.String name, float value)
           
static void setRawOption(Namespace namespace, java.lang.String name, int value)
           
static void setRawOption(Namespace namespace, java.lang.String name, long value)
           
static void setRawOption(Namespace namespace, java.lang.String name, java.lang.String value)
           
 void setReadOnly(long nodei, NamedValue[] nv)
           
 void setReadOnly(long nodei, java.lang.String attributeName, boolean newReadOnly)
           
protected  void setReadOnly(Node node, NamedValue[] nv)
           
protected  void setReadOnly(Node node, java.lang.String attributeName, boolean newReadOnly)
           
 void setReadOnly(NodeType type, NamedValue[] nv)
           
 void setReadOnly(NodeType type, java.lang.String attributeName, boolean newReadOnly)
           
 void setRunOnDoubleClick(NodeType type, java.lang.String attributeName)
           
 void setSearchListComparator(java.util.Comparator searchListComparator)
           
 void setSelectedNode(long node)
           
protected  void setSelectedNode(Node node)
           
 void setSelectedNode(java.lang.String absolutePath)
           
 void setSelectedNodes(JEANPath path)
           
 void setSelectedNodes(JEANPath[] paths)
           
 void setSelectedNodes(long[] nodes)
           
 void setSelectedNodes(Node[] nodes)
           
 void setSelectedNodes(NodeSelector selector, JEANPath[] paths)
           
 void setSelectedNodes(NodeSelector selector, Node[] nodes)
           
 void setSetAttributeDisplayType(long handle, java.lang.String setAttributeName, SetDisplayType type)
           
protected  void setSetAttributeDisplayType(Node node, java.lang.String setAttributeName, SetDisplayType type)
           
 void setSetAttributeDisplayType(NodeType ntype, java.lang.String setAttributeName, SetDisplayType stype)
           
 void setStringAttributeProType(long node, java.lang.String stringAttributeName, AttributeType atype)
          The proType of a String attribute means that the string value held is convertible into that type; its display will therefore be appropriate for the pro type, e.g.
 void setSystemValue(java.lang.String name, boolean value)
          set a System saved value
 void setSystemValue(java.lang.String name, byte[] value)
          set a System saved value
 void setSystemValue(java.lang.String name, double value)
          set a System saved value
 void setSystemValue(java.lang.String name, float value)
          set a System saved value
 void setSystemValue(java.lang.String name, int value)
          set a System saved value
 void setSystemValue(java.lang.String name, long value)
          set a System saved value
 void setSystemValue(java.lang.String name, java.lang.String value)
          set a System saved value
 void setTicker(Tickable tickable)
           
 void setTimeGranularity(int timeGranularity)
           
static void setTmpOption(Namespace namespace, java.lang.String name, boolean value)
           
static void setTmpOption(Namespace namespace, java.lang.String name, byte[] value)
           
static void setTmpOption(Namespace namespace, java.lang.String name, double value)
           
static void setTmpOption(Namespace namespace, java.lang.String name, float value)
           
static void setTmpOption(Namespace namespace, java.lang.String name, int value)
           
static void setTmpOption(Namespace namespace, java.lang.String name, long value)
           
static void setTmpOption(Namespace namespace, java.lang.String name, java.lang.String value)
           
 void setTrash(NodeType type, long trash)
          set the trash node.
 void setUseBase64(boolean useBase64)
           
 void setUser(JEANUser user)
           
static void setUsers(JEANUser user)
           
 void setUserValue(java.lang.String name, boolean value)
           
 void setUserValue(java.lang.String name, byte[] value)
           
 void setUserValue(java.lang.String name, java.awt.Color value)
           
 void setUserValue(java.lang.String name, double value)
          set a User saved value
 void setUserValue(java.lang.String name, float value)
          set a User saved value
 void setUserValue(java.lang.String name, int value)
          set a User saved value
 void setUserValue(java.lang.String name, long value)
          set a User saved value
 void setUserValue(java.lang.String name, java.lang.String value)
           
 void setVisible(long node, java.lang.String attributeName, boolean newVisible)
           
protected  void setVisible(Node node, java.lang.String attributeName, boolean newVisible)
           
 void setVisible(NodeType type, java.lang.String attributeName, boolean newVisible)
           
static void showDisplayDialog(java.lang.String name, java.lang.String msg, java.lang.String[] labels, AttributeType[] types, java.lang.Object[] values)
           
 long[] showNodeListDialog(long[] ids, java.lang.String name)
           
static void shutdown()
           
 void sort(long[] nodes, java.lang.String attributeName, java.util.Comparator attributeValueComparator)
           
protected  void sort(Node[] nodes, java.lang.String attributeName, java.util.Comparator attributeValueComparator)
           
 void sortAttributes(NodeType type, java.lang.String pageName, java.lang.String[] attributeNames)
           
 void sortPages(NodeType type, java.lang.String[] pageNames)
           
 void splash()
           
 void splash(java.io.File splashTextFile)
           
 java.lang.String[] subKeys(java.lang.String[] key, java.lang.String type)
           
 void tick(long node, java.lang.String name)
          tick a tick value, i.e.
protected  void tick(Node node, java.lang.String name)
          tick a tick value, i.e.
 void toggleTick(long node, java.lang.String name)
          toggle a tick value, if true it becomes false and vice versa
protected  void toggleTick(Node node, java.lang.String name)
          toggle a tick value, if true it becomes false and vice versa
 org.w3c.dom.Document toXML(long[] ids, long[] selectedIds, java.lang.String transformerName, java.lang.String[] key)
           
protected  org.w3c.dom.Document toXML(Node[] nodes, Node[] selectedNodes, java.lang.String transformerName, java.lang.String[] key)
           
protected  org.w3c.dom.Document toXML(Node[] nodes, Node[] selectedNodes, java.lang.String transformerName, java.lang.String[] key, java.lang.String param, boolean isETV)
           
protected  java.net.URL transformETV(java.lang.String transformerName, Node[] nodes, Node[] selectedNodes, java.lang.String param)
           
protected  java.net.URL transformETV(java.lang.String transformerName, Node[] nodes, Node[] selectedNodes, java.lang.String param, java.lang.String subdirName)
           
 void unhideNode(long node)
           
protected  void unhideNode(Node node)
           
 void unlink()
          unlink currently selected node(s)
 void unlink(boolean force)
          unlink currently selected node(s)
 void unlink(long[] parent, long child)
           
 void unlink(long parent, long child)
           
 void unlink(long parent, long child, boolean confirmDelete)
           
 void unlink(long parent, long child, boolean confirmDelete, boolean force)
           
protected  void unlinkActual(Node parentNode, Node childNode)
           
protected  void unlinkActual(Node parentNode, Node childNode, boolean confirmDelete)
           
protected  void unlinkActual(Node parentNode, Node childNode, boolean confirmDelete, boolean force)
           
 void untick(long node, java.lang.String name)
          untick a tick value, i.e.
protected  void untick(Node node, java.lang.String name)
          untick a tick value, i.e.
 void viewNodes(long[] nodes)
           
 void viewNodes(Node[] nodes)
           
 void visit(long handle, JEANAPI.Visitor visitor)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

APPLICATIONKEYNAME

public static final java.lang.String APPLICATIONKEYNAME
See Also:
Constant Field Values

DEFAULT

public static final java.lang.String DEFAULT
See Also:
Constant Field Values

DOUBLECOLON

public static final java.lang.String DOUBLECOLON
See Also:
Constant Field Values

JEANURL

public static final java.lang.String JEANURL
See Also:
Constant Field Values

JEANNAMESPACE

public static final Namespace JEANNAMESPACE

nodeTypes

public static final NodeType[] nodeTypes

ADDFILEAPPCMD

public static final java.lang.String ADDFILEAPPCMD
See Also:
Constant Field Values

ADDNOTECMD

public static final java.lang.String ADDNOTECMD
See Also:
Constant Field Values

ADDTICKCMD

public static final java.lang.String ADDTICKCMD
See Also:
Constant Field Values

AUTOBACKUPCMD

public static final java.lang.String AUTOBACKUPCMD
See Also:
Constant Field Values

ADDXREFCMD

public static final java.lang.String ADDXREFCMD
See Also:
Constant Field Values

BACKCMD

public static final java.lang.String BACKCMD
See Also:
Constant Field Values

BACKUPDIRCMD

public static final java.lang.String BACKUPDIRCMD
See Also:
Constant Field Values

BACKUPCMD

public static final java.lang.String BACKUPCMD
See Also:
Constant Field Values

BROWSECMD

public static final java.lang.String BROWSECMD
See Also:
Constant Field Values

CALCCMD

public static final java.lang.String CALCCMD
See Also:
Constant Field Values

CALENDARCMD

public static final java.lang.String CALENDARCMD
See Also:
Constant Field Values

CREATECFGDISTCMD

public static final java.lang.String CREATECFGDISTCMD
See Also:
Constant Field Values

CREATEDISTCMD

public static final java.lang.String CREATEDISTCMD
See Also:
Constant Field Values

CLOSEMULTIPLECMD

public static final java.lang.String CLOSEMULTIPLECMD
See Also:
Constant Field Values

CLOSECMD

public static final java.lang.String CLOSECMD
See Also:
Constant Field Values

SETCOMPARATORCMD

public static final java.lang.String SETCOMPARATORCMD
See Also:
Constant Field Values

COPYPATHCMD

public static final java.lang.String COPYPATHCMD
See Also:
Constant Field Values

COPYDAGCMD

public static final java.lang.String COPYDAGCMD
See Also:
Constant Field Values

CREATEUSERCMD

public static final java.lang.String CREATEUSERCMD
See Also:
Constant Field Values

DOCHILDCMD

public static final java.lang.String DOCHILDCMD
See Also:
Constant Field Values

DELETECMD

public static final java.lang.String DELETECMD
See Also:
Constant Field Values

DOCMD

public static final java.lang.String DOCMD
See Also:
Constant Field Values

REMOVEPAGECMD

public static final java.lang.String REMOVEPAGECMD
See Also:
Constant Field Values

EDITLOGICALCMD

public static final java.lang.String EDITLOGICALCMD
See Also:
Constant Field Values

EMPTYRECYCLEBINCMD

public static final java.lang.String EMPTYRECYCLEBINCMD
See Also:
Constant Field Values

EXPLORERCMD

public static final java.lang.String EXPLORERCMD
See Also:
Constant Field Values

EXPORTCMD

public static final java.lang.String EXPORTCMD
See Also:
Constant Field Values

EDITUSERCMD

public static final java.lang.String EDITUSERCMD
See Also:
Constant Field Values

ETVCMD

public static final java.lang.String ETVCMD
See Also:
Constant Field Values

EXITCMD

public static final java.lang.String EXITCMD
See Also:
Constant Field Values

GLOBALCMD

public static final java.lang.String GLOBALCMD
See Also:
Constant Field Values

HIDECMD

public static final java.lang.String HIDECMD
See Also:
Constant Field Values

HELPCMD

public static final java.lang.String HELPCMD
See Also:
Constant Field Values

IMPORTFOLDERCMD

public static final java.lang.String IMPORTFOLDERCMD
See Also:
Constant Field Values

IMPORTCMD

public static final java.lang.String IMPORTCMD
See Also:
Constant Field Values

INDEXCMD

public static final java.lang.String INDEXCMD
See Also:
Constant Field Values

JAVACMD

public static final java.lang.String JAVACMD
See Also:
Constant Field Values

CREATELICENSECMD

public static final java.lang.String CREATELICENSECMD
See Also:
Constant Field Values

LINKCMD

public static final java.lang.String LINKCMD
See Also:
Constant Field Values

LISTPARENTSCMD

public static final java.lang.String LISTPARENTSCMD
See Also:
Constant Field Values

LOADSEARCHCMD

public static final java.lang.String LOADSEARCHCMD
See Also:
Constant Field Values

LOGWINDOWCMD

public static final java.lang.String LOGWINDOWCMD
See Also:
Constant Field Values

MERGECMD

public static final java.lang.String MERGECMD
See Also:
Constant Field Values

MAKELISTCMD

public static final java.lang.String MAKELISTCMD
See Also:
Constant Field Values

MONITORCMD

public static final java.lang.String MONITORCMD
See Also:
Constant Field Values

NEWAPPCMD

public static final java.lang.String NEWAPPCMD
See Also:
Constant Field Values

ADDENUMCMD

public static final java.lang.String ADDENUMCMD
See Also:
Constant Field Values

NEWETVFILTERCMD

public static final java.lang.String NEWETVFILTERCMD
See Also:
Constant Field Values

NEWJAVAINITCMD

public static final java.lang.String NEWJAVAINITCMD
See Also:
Constant Field Values

NEWJAVACMD

public static final java.lang.String NEWJAVACMD
See Also:
Constant Field Values

NEWPAGECMD

public static final java.lang.String NEWPAGECMD
See Also:
Constant Field Values

NEWPRIVATEPAGECMD

public static final java.lang.String NEWPRIVATEPAGECMD
See Also:
Constant Field Values

ADDATTCMD

public static final java.lang.String ADDATTCMD
See Also:
Constant Field Values

NEWCMD

public static final java.lang.String NEWCMD
See Also:
Constant Field Values

NEWWIZARDCMD

public static final java.lang.String NEWWIZARDCMD
See Also:
Constant Field Values

OPENCMD

public static final java.lang.String OPENCMD
See Also:
Constant Field Values

RESETPROMPTCMD

public static final java.lang.String RESETPROMPTCMD
See Also:
Constant Field Values

PROBLEMREPORTCMD

public static final java.lang.String PROBLEMREPORTCMD
See Also:
Constant Field Values

PROPERTIESCMD

public static final java.lang.String PROPERTIESCMD
See Also:
Constant Field Values

PRINTCMD

public static final java.lang.String PRINTCMD
See Also:
Constant Field Values

REMOVEATTCMD

public static final java.lang.String REMOVEATTCMD
See Also:
Constant Field Values

REPAIRCATCMD

public static final java.lang.String REPAIRCATCMD
See Also:
Constant Field Values

REMOVEENUMCMD

public static final java.lang.String REMOVEENUMCMD
See Also:
Constant Field Values

RENAMECMD

public static final java.lang.String RENAMECMD
See Also:
Constant Field Values

REPAIREFCMD

public static final java.lang.String REPAIREFCMD
See Also:
Constant Field Values

RUNSEARCHCMD

public static final java.lang.String RUNSEARCHCMD
See Also:
Constant Field Values

RESTORECMD

public static final java.lang.String RESTORECMD
See Also:
Constant Field Values

REMOVECMD

public static final java.lang.String REMOVECMD
See Also:
Constant Field Values

REMOVEXREFCMD

public static final java.lang.String REMOVEXREFCMD
See Also:
Constant Field Values

SPLASHCMD

public static final java.lang.String SPLASHCMD
See Also:
Constant Field Values

SELECTALLCHILDRENCMD

public static final java.lang.String SELECTALLCHILDRENCMD
See Also:
Constant Field Values

SELECTCHILDRENCMD

public static final java.lang.String SELECTCHILDRENCMD
See Also:
Constant Field Values

SETNAMECMD

public static final java.lang.String SETNAMECMD
See Also:
Constant Field Values

SETDEFAULTCMD

public static final java.lang.String SETDEFAULTCMD
See Also:
Constant Field Values

SETGLOBALCMD

public static final java.lang.String SETGLOBALCMD
See Also:
Constant Field Values

SEARCHCMD

public static final java.lang.String SEARCHCMD
See Also:
Constant Field Values

SETLOGICALCMD

public static final java.lang.String SETLOGICALCMD
See Also:
Constant Field Values

SORTENUMCMD

public static final java.lang.String SORTENUMCMD
See Also:
Constant Field Values

SORTMENUCMD

public static final java.lang.String SORTMENUCMD
See Also:
Constant Field Values

SORTATTCMD

public static final java.lang.String SORTATTCMD
See Also:
Constant Field Values

SORTPAGECMD

public static final java.lang.String SORTPAGECMD
See Also:
Constant Field Values

SORTCMD

public static final java.lang.String SORTCMD
See Also:
Constant Field Values

SETDISPLAYTYPECMD

public static final java.lang.String SETDISPLAYTYPECMD
See Also:
Constant Field Values

TEXTEDITORCMD

public static final java.lang.String TEXTEDITORCMD
See Also:
Constant Field Values

TIMECMD

public static final java.lang.String TIMECMD
See Also:
Constant Field Values

UPGRADEFILECMD

public static final java.lang.String UPGRADEFILECMD
See Also:
Constant Field Values

UNHIDECMD

public static final java.lang.String UNHIDECMD
See Also:
Constant Field Values

UNINDEXCMD

public static final java.lang.String UNINDEXCMD
See Also:
Constant Field Values

UNLINKCMD

public static final java.lang.String UNLINKCMD
See Also:
Constant Field Values

UPGRADENETCMD

public static final java.lang.String UPGRADENETCMD
See Also:
Constant Field Values

VIEWRECYCLEBINCMD

public static final java.lang.String VIEWRECYCLEBINCMD
See Also:
Constant Field Values

VERSIONCMD

public static final java.lang.String VERSIONCMD
See Also:
Constant Field Values

WEBSITECMD

public static final java.lang.String WEBSITECMD
See Also:
Constant Field Values

STRING

public static final int STRING
represents a STRING attribute type

See Also:
Constant Field Values

BOOLEAN

public static final int BOOLEAN
represents a BOOLEAN attribute type

See Also:
Constant Field Values

NUMBER

public static final int NUMBER
represents a NUMBER attribute type

See Also:
Constant Field Values

DATE

public static final int DATE
represents a DATE attribute type

See Also:
Constant Field Values

TIME

public static final int TIME
represents a TIME attribute type

See Also:
Constant Field Values

DATETIME

public static final int DATETIME
represents a DATETIME attribute type

See Also:
Constant Field Values

FILE

public static final int FILE
represents a FILE attribute type

See Also:
Constant Field Values

APPLICATION

public static final int APPLICATION
represents a APPLICATION attribute type

See Also:
Constant Field Values

URL

public static final int URL
represents a URL attribute type

See Also:
Constant Field Values

NODE

public static final int NODE
represents a NODE attribute type

See Also:
Constant Field Values

LINK

public static final int LINK
represents a LINK attribute type

See Also:
Constant Field Values

AUDIO

public static final int AUDIO
represents a AUDIO attribute type

See Also:
Constant Field Values

VIDEO

public static final int VIDEO
represents a VIDEO attribute type

See Also:
Constant Field Values

IMAGE

public static final int IMAGE
represents a IMAGE attribute type

See Also:
Constant Field Values

FOLDER

public static final int FOLDER
represents a FOLDER attribute type

See Also:
Constant Field Values

JAVA

public static final int JAVA
represents a JAVA attribute type

See Also:
Constant Field Values

REFERENCE

public static final int REFERENCE
represents a REFERENCE attribute type

See Also:
Constant Field Values

COLOUR

public static final int COLOUR
represents a COLOUR attribute type

See Also:
Constant Field Values

SET

public static final int SET
represents a SET attribute type

See Also:
Constant Field Values

ENUMERATION

public static final int ENUMERATION
represents a ENUMERATION attribute type

See Also:
Constant Field Values

TEXT

public static final int TEXT
See Also:
Constant Field Values

EMAIL

public static final int EMAIL
represents a ENUMERATION attribute type

See Also:
Constant Field Values

INTEGER

public static final int INTEGER
represents a INTEGER attribute type

See Also:
Constant Field Values

ROOT

public static final long ROOT
the handle of the root node

See Also:
Constant Field Values

NODE_SELECTED

public static final int NODE_SELECTED
the even when a node is selected

See Also:
Constant Field Values

NODE_DESELECTED

public static final int NODE_DESELECTED
the even when a node is deselected

See Also:
Constant Field Values

NODE_CREATED

public static final int NODE_CREATED
the even when a node is created

See Also:
Constant Field Values

NODE_DELETED

public static final int NODE_DELETED
the even when a node is deleted

See Also:
Constant Field Values

NODE_CHILD_ADDED

public static final int NODE_CHILD_ADDED
the even when a node has a child added

See Also:
Constant Field Values

NODE_CHILD_REMOVED

public static final int NODE_CHILD_REMOVED
the event when a node has a child removed

See Also:
Constant Field Values

NODE_ATTRIBUTE_CHANGED

public static final int NODE_ATTRIBUTE_CHANGED
the event when a node has an attribute value changed

See Also:
Constant Field Values

ATTRIBUTE_DISPLAYED

public static final int ATTRIBUTE_DISPLAYED
the event when an attribute is displayed

See Also:
Constant Field Values

ATTRIBUTE_CHANGED

public static final int ATTRIBUTE_CHANGED
the event when an attribute value is changed

See Also:
Constant Field Values

APPLICATION_CREATED

public static final int APPLICATION_CREATED
the event when an application is created

See Also:
Constant Field Values

APPLICATION_DELETED

public static final int APPLICATION_DELETED
the event when an application is deleted

See Also:
Constant Field Values

XREF_ADDED

public static final int XREF_ADDED
the event when an application is created

See Also:
Constant Field Values

XREF_REMOVED

public static final int XREF_REMOVED
the event when an application is deleted

See Also:
Constant Field Values

CATEGORYTEMPLATEID

public static final long CATEGORYTEMPLATEID
See Also:
Constant Field Values

GROUPTEMPLATEID

public static final long GROUPTEMPLATEID
See Also:
Constant Field Values

ITEMTEMPLATEID

public static final long ITEMTEMPLATEID
See Also:
Constant Field Values

NULLID

public static final long NULLID
See Also:
Constant Field Values

JEANWEBSITE

public static final java.lang.String JEANWEBSITE
See Also:
Constant Field Values

filenameDateTimeFormat

public static java.text.DateFormat filenameDateTimeFormat

fileAttributeTypes

public static final int[] fileAttributeTypes

JEANLOCALE

public static final java.util.Locale JEANLOCALE

TICK

public static final java.lang.String TICK

STANDARDARGTYPES

public static final java.lang.Class[] STANDARDARGTYPES

JEANURLPREFIX

public static final java.lang.String JEANURLPREFIX
See Also:
Constant Field Values

NOTES

public static final java.lang.String NOTES
See Also:
Constant Field Values

NOSUCHNODE

public static final long NOSUCHNODE
See Also:
Constant Field Values

NOTEATTRIBUTE

public static final java.lang.String NOTEATTRIBUTE
See Also:
Constant Field Values

JEANNAMEATTRIBUTE

public static final java.lang.String JEANNAMEATTRIBUTE
See Also:
Constant Field Values

JEANTYPEATTRIBUTE

public static final java.lang.String JEANTYPEATTRIBUTE
See Also:
Constant Field Values

ADDRESSBOOK_TITLEATTRIBUTE

public static final java.lang.String ADDRESSBOOK_TITLEATTRIBUTE
See Also:
Constant Field Values

ADDRESSBOOK_FIRSTNAMEATTRIBUTE

public static final java.lang.String ADDRESSBOOK_FIRSTNAMEATTRIBUTE
See Also:
Constant Field Values

ADDRESSBOOK_MIDDLENAMEATTRIBUTE

public static final java.lang.String ADDRESSBOOK_MIDDLENAMEATTRIBUTE
See Also:
Constant Field Values

ADDRESSBOOK_LASTNAMEATTRIBUTE

public static final java.lang.String ADDRESSBOOK_LASTNAMEATTRIBUTE
See Also:
Constant Field Values

ADDRESSBOOK_SPOKENNAMEATTRIBUTE

public static final java.lang.String ADDRESSBOOK_SPOKENNAMEATTRIBUTE
See Also:
Constant Field Values

ADDRESSBOOK_FULLNAMEATTRIBUTE

public static final java.lang.String ADDRESSBOOK_FULLNAMEATTRIBUTE
See Also:
Constant Field Values

ADDRESSBOOK_ADDRESSATTRIBUTE

public static final java.lang.String ADDRESSBOOK_ADDRESSATTRIBUTE
See Also:
Constant Field Values

ADDRESSBOOK_PRINTLABELATTRIBUTE

public static final java.lang.String ADDRESSBOOK_PRINTLABELATTRIBUTE
See Also:
Constant Field Values

ADDRESSBOOK_HOMEATTRIBUTE

public static final java.lang.String ADDRESSBOOK_HOMEATTRIBUTE
See Also:
Constant Field Values

ADDRESSBOOK_WORKATTRIBUTE

public static final java.lang.String ADDRESSBOOK_WORKATTRIBUTE
See Also:
Constant Field Values

ADDRESSBOOK_MOBILEATTRIBUTE

public static final java.lang.String ADDRESSBOOK_MOBILEATTRIBUTE
See Also:
Constant Field Values

ADDRESSBOOK_FAXATTRIBUTE

public static final java.lang.String ADDRESSBOOK_FAXATTRIBUTE
See Also:
Constant Field Values

ADDRESSBOOK_EMAILATTRIBUTE

public static final java.lang.String ADDRESSBOOK_EMAILATTRIBUTE
See Also:
Constant Field Values

ADDRESSBOOK_WEBSITEATTRIBUTE

public static final java.lang.String ADDRESSBOOK_WEBSITEATTRIBUTE
See Also:
Constant Field Values

backEnd

protected JEANBackEnd backEnd

dag

protected Dag dag

searchNodeList

protected JEANNodeList searchNodeList
Method Detail

getRawOption

public static java.lang.String getRawOption(Namespace namespace,
                                            java.lang.String name,
                                            java.lang.String defaultValue)

setRawOption

public static void setRawOption(Namespace namespace,
                                java.lang.String name,
                                java.lang.String value)

getRawOption

public static boolean getRawOption(Namespace namespace,
                                   java.lang.String name,
                                   boolean defaultValue)

setRawOption

public static void setRawOption(Namespace namespace,
                                java.lang.String name,
                                boolean value)

getRawOption

public static byte[] getRawOption(Namespace namespace,
                                  java.lang.String name,
                                  byte[] defaultValue)

setRawOption

public static void setRawOption(Namespace namespace,
                                java.lang.String name,
                                byte[] value)

getRawOption

public static int getRawOption(Namespace namespace,
                               java.lang.String name,
                               int defaultValue)

setRawOption

public static void setRawOption(Namespace namespace,
                                java.lang.String name,
                                int value)

getRawOption

public static long getRawOption(Namespace namespace,
                                java.lang.String name,
                                long defaultValue)

setRawOption

public static void setRawOption(Namespace namespace,
                                java.lang.String name,
                                long value)

getRawOption

public static float getRawOption(Namespace namespace,
                                 java.lang.String name,
                                 float defaultValue)

setRawOption

public static void setRawOption(Namespace namespace,
                                java.lang.String name,
                                float value)

getRawOption

public static double getRawOption(Namespace namespace,
                                  java.lang.String name,
                                  double defaultValue)

setRawOption

public static void setRawOption(Namespace namespace,
                                java.lang.String name,
                                double value)

setTmpOption

public static void setTmpOption(Namespace namespace,
                                java.lang.String name,
                                java.lang.String value)

setTmpOption

public static void setTmpOption(Namespace namespace,
                                java.lang.String name,
                                boolean value)

setTmpOption

public static void setTmpOption(Namespace namespace,
                                java.lang.String name,
                                byte[] value)

setTmpOption

public static void setTmpOption(Namespace namespace,
                                java.lang.String name,
                                int value)

setTmpOption

public static void setTmpOption(Namespace namespace,
                                java.lang.String name,
                                long value)

setTmpOption

public static void setTmpOption(Namespace namespace,
                                java.lang.String name,
                                float value)

setTmpOption

public static void setTmpOption(Namespace namespace,
                                java.lang.String name,
                                double value)

getOptionNames

public static java.lang.String[] getOptionNames(Namespace namespace)

shutdown

public static void shutdown()

newJEANAPI

public static JEANAPI newJEANAPI(java.lang.String applicationName)
get the API that corresponds to an application

Parameters:
applicationName - the name of the application
Returns:
the API for the given application, or null if no such application exists

newJEANAPI

public static JEANAPI newJEANAPI(java.io.File jeandir,
                                 java.lang.String applicationName)
get the API that corresponds to an application

Parameters:
applicationName - the name of the application
Returns:
the API for the given application, or null if no such application exists

newJEANAPI

protected static JEANAPI newJEANAPI(JEANBackEnd backEnd)
get the API that corresponds to an application


getTemplateID

public static long getTemplateID(NodeType type)

canLink

protected static boolean canLink(NodeType parent,
                                 NodeType child)

setUsers

public static void setUsers(JEANUser user)

applicationNamespace

public static Namespace applicationNamespace(java.lang.String applicationName)

backup

public static void backup(JEANAPI api,
                          long[] nodes,
                          java.lang.String arg)

hasSDK

public static boolean hasSDK()

getSDKKey

public static java.lang.String getSDKKey()

canLicense

public static boolean canLicense()

getLKKey

public static java.lang.String getLKKey()

mailIsLoaded

public static boolean mailIsLoaded()

getMailAPI

public static JEANAPI getMailAPI()
gets the JEANMail api if loaded


addMailProcessor

public static boolean addMailProcessor(MailProcessor mailProcessor)

sendMail

public static boolean sendMail(java.lang.String[] to,
                               java.lang.String[] cc,
                               java.lang.String[] bcc,
                               java.lang.String subject,
                               java.lang.String message,
                               java.io.File[] attachments)

sendAMail

public static boolean sendAMail(java.lang.String recipients)
Parameters:
recipients - a comma separated list of email addresses

createNewApplicationUsingWizard

public static Dag createNewApplicationUsingWizard()

createNewApplicationUsingWizard

public static Dag createNewApplicationUsingWizard(JEANAPI api)

createNewWizardUsingWizard

public static void createNewWizardUsingWizard()

isLoaded

public static boolean isLoaded(java.lang.String applicationName)
check if the application is loaded

Returns:
true if the application is loaded, false otherwise.

getEnumerationDocument

public static org.w3c.dom.Document getEnumerationDocument(NodeType type,
                                                          java.lang.String attributeName,
                                                          java.lang.String[] values)

getTypeInt

protected static int[] getTypeInt(AttributeType[] type)

getTypeInt

protected static int getTypeInt(AttributeType type)

getNodeTypeInt

protected static int getNodeTypeInt(NodeType type)

getAttributeType

public static AttributeType getAttributeType(int typei)

getAttributeType

public static AttributeType[] getAttributeType(int[] typei)

getValueFromString

public static java.lang.Object getValueFromString(AttributeType type,
                                                  java.lang.String valueAsString)
Gets the valueFromString attribute of the Attribute class

Parameters:
type - Description of the Parameter
valueAsString - Description of the Parameter
Returns:
The valueFromString value

getValueAsString

public static java.lang.String getValueAsString(AttributeType type,
                                                java.lang.Object val)
Gets the valueAsString attribute of the Attribute object

Returns:
The valueAsString value

loadXMLDoc

public static org.w3c.dom.Document loadXMLDoc(java.lang.String[] key)
                                       throws LockedException
Throws:
LockedException

saveXMLDoc

public static void saveXMLDoc(java.lang.String[] key,
                              org.w3c.dom.Document doc)
                       throws LockedException
Throws:
LockedException

deleteXMLDoc

public static void deleteXMLDoc(java.lang.String[] key)
                         throws LockedException
Throws:
LockedException

currentVATRate

public static double currentVATRate()

setCurrentVATRate

public static void setCurrentVATRate(double vat)

getAttributeNameElements

public static java.lang.String[] getAttributeNameElements(java.lang.String attributeFullName)

deleteApplication

public static void deleteApplication(java.lang.String deleteWhat)

listKnownApplicationNames

public static java.lang.String[] listKnownApplicationNames()

getPool

public static java.io.File getPool()

browse

public static void browse(org.w3c.dom.Document doc)
The document must be valid xhtm


browse

public static void browse(java.net.URL url)

browse

public static void browse(java.lang.String urlString)

loadNodeTypeInformation

protected void loadNodeTypeInformation()

applicationInitialize

public void applicationInitialize()

setCursorManager

public void setCursorManager(CursorManager cursorManager)

getCursorManager

public CursorManager getCursorManager()

getBackEnd

public JEANBackEnd getBackEnd()

displayImageFiles

public void displayImageFiles(java.lang.String imageAttributeName,
                              long[] nodes)

displayImageFiles

public void displayImageFiles(NamedValue[] nodes)

displayImageFiles

public void displayImageFiles(java.io.File[] files)

getSearchResultBrowser

public JEANSearchResultBrowser getSearchResultBrowser()

getMenuFactory

protected JEANMenuFactory getMenuFactory()

getNodeEditor

protected NodeEditor getNodeEditor(NodeType type)

getNamespace

public Namespace getNamespace()

getCatalog

public JEANCatalog getCatalog()

getCatalog

public JEANCatalog getCatalog(java.lang.String selectedNodePath)

getPlainCatalog

public JEANCatalog getPlainCatalog()

addNodeListener

public void addNodeListener(NodeListener listener)

getCatalogNamespace

public Namespace getCatalogNamespace()

getEntityMenu

public javax.swing.JMenu getEntityMenu()

getCatalogMenu

public javax.swing.JMenu getCatalogMenu()

getAdminMenu

public javax.swing.JMenu getAdminMenu()

getMenuBar

public javax.swing.JMenuBar getMenuBar()

getMenuBar

public javax.swing.JMenuBar getMenuBar(java.lang.String id)

fillMenuBar

public void fillMenuBar(javax.swing.JMenuBar menuBar)

getPopupMenu

public javax.swing.JPopupMenu getPopupMenu(NodeType type)

showNodeListDialog

public long[] showNodeListDialog(long[] ids,
                                 java.lang.String name)

getNodeList

public JEANNodeList getNodeList(long[] nodes,
                                java.lang.String name)

getNodeList

public JEANNodeList getNodeList(Node[] nodes,
                                java.lang.String name)

getPathList

public JEANPathList getPathList(Node node,
                                java.lang.String name)

getNodeListNamespace

public Namespace getNodeListNamespace()

getAttributePanel

public JEANAttributePanel getAttributePanel()

finishWithAttributePanel

public void finishWithAttributePanel(JEANAttributePanel panel)

getAttributePanelNamespace

public Namespace getAttributePanelNamespace()

repaintAttributePanels

public void repaintAttributePanels()

getApplication

protected Dag getApplication()

getNodeFromHandle

protected Node getNodeFromHandle(long handle)

getHandleFromNode

protected long getHandleFromNode(Node node)

getHandlesFromNodes

protected long[] getHandlesFromNodes(Node[] nodes)

getHandleObjectsFromNodes

protected java.lang.Long[] getHandleObjectsFromNodes(Node[] nodes)

getNodesFromHandles

protected Node[] getNodesFromHandles(long[] handles)

getEnumerationAttributeType

public AttributeType getEnumerationAttributeType(java.lang.String[] values)

getDataFlavor

public java.awt.datatransfer.DataFlavor getDataFlavor()

getArrayDataFlavor

public java.awt.datatransfer.DataFlavor getArrayDataFlavor()

getStringDataFlavor

public java.awt.datatransfer.DataFlavor getStringDataFlavor()

getName

public java.lang.String getName(long handle)
get the name of a node

Parameters:
handle - the handle to a node
Returns:
the name of the node
Throws:
JEANInvalidHandleException - if the given handle does not reference a node in the application

getApplicationName

public java.lang.String getApplicationName()
get the name of the application

Returns:
the name of the application

getType

public NodeType getType(long handle)
get the type of a node

Parameters:
handle - the handle to a node
Returns:
the type of the node, one of CATEGORY, GROUP or ITEM null if the given handle does not reference a node in the application

hasAttribute

public boolean hasAttribute(long handle,
                            java.lang.String name)

hasAttribute

protected boolean hasAttribute(Node node,
                               java.lang.String name)

getTheAttribute

protected Attribute getTheAttribute(long handle,
                                    java.lang.String name)

getTheAttribute

protected Attribute getTheAttribute(Node node,
                                    java.lang.String name)

getTheAttribute

protected Attribute getTheAttribute(NodeType type,
                                    java.lang.String name)

getAttribute

public java.lang.Object getAttribute(long handle,
                                     java.lang.String name)
get the value of an attribute of a node. The type of the attribute as one of the predefined ints can be obtained from getAttributeType() and its Java class from getAttributeClass

Parameters:
name - the name of an attribute
handle - the handle to a node
Returns:
the value of an attribute of the node or null if there is no attribute with that name.
Throws:
JEANInvalidHandleException - if the given handle does not reference a node in the application

getActualAttribute

public java.lang.Object getActualAttribute(long handle,
                                           java.lang.String name)
                                    throws JEANInvalidHandleException
get the actual value of an attribute of a node. This differs from the normal value in the case of a reference attribute. This method will return an attribute reference, whereas getAttribute() will return the value of the referenced attribute The type of the attribute as one of the predefined ints can be obtained from getAttributeType() and its Java class from getAttributeClass

Parameters:
name - the name of an attribute
handle - the handle to a node
Returns:
the value of an attribute of the node or null if there is no attribute with that name.
Throws:
JEANInvalidHandleException - if the given handle does not reference a node in the application
JEANInvalidAttributeNameException - if the given name does not reference an attribute in that type of node.

getAttribute

protected java.lang.Object getAttribute(Node node,
                                        java.lang.String name)
get the value of an attribute of a node. The type of the attribute as one of the predefined ints can be obtained from getAttributeType() and its Java class from getAttributeClass

Parameters:
name - the name of an attribute
handle - the handle to a node
Returns:
the value of an attribute of the node or null if there is no attribute with that name.
Throws:
JEANInvalidHandleException - if the given handle does not reference a node in the application
JEANInvalidAttributeNameException - if the given name does not reference an attribute in that type of node.

getActualAttribute

protected java.lang.Object getActualAttribute(Node node,
                                              java.lang.String name)
get the actual value of an attribute of a node. This differs from the normal value in the case of a reference attribute. This method will return an attribute reference, whereas getAttribute() will return the value of the referenced attribute The type of the attribute as one of the predefined ints can be obtained from getAttributeType() and its Java class from getAttributeClass

Parameters:
name - the name of an attribute
node - a node
Returns:
the value of an attribute of the node or null if there is no attribute with that name.
Throws:
JEANInvalidHandleException - if the given handle does not reference a node in the application
JEANInvalidAttributeNameException - if the given name does not reference an attribute in that type of node.

setAttributes

public void setAttributes(long handle,
                          NamedValue[] values)

setAttributes

protected void setAttributes(Node node,
                             NamedValue[] values)

getAttributeValues

public NamedValue[] getAttributeValues(long handle,
                                       java.lang.String[] names)
                                throws JEANInvalidHandleException,
                                       JEANInvalidAttributeNameException
get the values of attributes of a node. The type of the attribute as one of the predefined ints can be obtained from getAttributeType() and its Java class from getAttributeClass

Parameters:
names - the names of the attributes
handle - the handle to a node
Returns:
the values of the attributes of the node or null if names is null.
Throws:
JEANInvalidHandleException - if the given handle does not reference a node in the application
JEANInvalidAttributeNameException - if the given name does not reference an attribute in that type of node.

getAttributeValues

public NamedValue[] getAttributeValues(long handle)
                                throws JEANInvalidHandleException
Throws:
JEANInvalidHandleException

getActualAttributeValues

public NamedValue[] getActualAttributeValues(long handle,
                                             java.lang.String[] names)
                                      throws JEANInvalidHandleException,
                                             JEANInvalidAttributeNameException
get the values of attributes of a node. The type of the attribute as one of the predefined ints can be obtained from getAttributeType() and its Java class from getAttributeClass

Parameters:
names - the names of the attributes
handle - the handle to a node
Returns:
the values of the attributes of the node or null if names is null.
Throws:
JEANInvalidHandleException - if the given handle does not reference a node in the application
JEANInvalidAttributeNameException - if the given name does not reference an attribute in that type of node.

getActualAttributeValues

public NamedValue[] getActualAttributeValues(long handle)
                                      throws JEANInvalidHandleException
Throws:
JEANInvalidHandleException

getAttributeValues

protected NamedValue[] getAttributeValues(Node node,
                                          java.lang.String[] names)
                                   throws JEANInvalidAttributeNameException
get the values of attributes of a node. The type of the attribute as one of the predefined ints can be obtained from getAttributeType() and its Java class from getAttributeClass

Parameters:
names - the names of the attributes
node - a node
Returns:
the values of the attributes of the node or null if names is null.
Throws:
JEANInvalidHandleException - if the given handle does not reference a node in the application
JEANInvalidAttributeNameException - if the given name does not reference an attribute in that type of node.

getAttributeValues

protected NamedValue[] getAttributeValues(Node node)

getActualAttributeValues

protected NamedValue[] getActualAttributeValues(Node node,
                                                java.lang.String[] names)
                                         throws JEANInvalidAttributeNameException
get the values of attributes of a node. The type of the attribute as one of the predefined ints can be obtained from getAttributeType() and its Java class from getAttributeClass

Parameters:
names - the names of the attributes
handle - the handle to a node
Returns:
the values of the attributes of the node or null if names is null.
Throws:
JEANInvalidHandleException - if the given handle does not reference a node in the application
JEANInvalidAttributeNameException - if the given name does not reference an attribute in that type of node.

getActualAttributeValues

protected NamedValue[] getActualAttributeValues(Node node)

getDisplayAttribute

public java.lang.String getDisplayAttribute(long handle,
                                            java.lang.String name)
                                     throws JEANInvalidHandleException,
                                            JEANInvalidAttributeNameException
get the value of an attribute of a node. The type of the attribute as one of the predefined ints can be obtained from getAttributeType() and its Java class from getAttributeClass

Parameters:
name - the name of an attribute
handle - the handle to a node
Returns:
the value of an attribute of the node or null if there is no attribute with that name.
Throws:
JEANInvalidHandleException - if the given handle does not reference a node in the application
JEANInvalidAttributeNameException - if the given name does not reference an attribute in that type of node.

getAttributeString

public java.lang.String getAttributeString(long handle,
                                           java.lang.String name)
get the value of an attribute of a node. The type of the attribute as one of the predefined ints can be obtained from getAttributeType() and its Java class from getAttributeClass

Parameters:
name - the name of an attribute
handle - the handle to a node
Returns:
the value of an attribute of the node or null if there is no attribute with that name.
Throws:
JEANInvalidHandleException - if the given handle does not reference a node in the application
JEANInvalidAttributeNameException - if the given name does not reference an attribute in that type of node.

getDisplayAttributeString

public java.lang.String getDisplayAttributeString(long handle,
                                                  java.lang.String name)
get the value of an attribute of a node. The type of the attribute as one of the predefined ints can be obtained from getAttributeType() and its Java class from getAttributeClass

Parameters:
name - the name of an attribute
handle - the handle to a node
Returns:
the value of an attribute of the node or null if there is no attribute with that name.
Throws:
JEANInvalidHandleException - if the given handle does not reference a node in the application
JEANInvalidAttributeNameException - if the given name does not reference an attribute in that type of node.

getAttributeString

protected java.lang.String getAttributeString(Node node,
                                              java.lang.String name)
get the value of an attribute of a node. The type of the attribute as one of the predefined ints can be obtained from getAttributeType() and its Java class from getAttributeClass

Parameters:
name - the name of an attribute
node - a node
Returns:
the value of an attribute of the node or null if there is no attribute with that name.

getAttributeStrings

public java.lang.String[] getAttributeStrings(long handle,
                                              java.lang.String name)
get the value of a set attribute of a node. The type of the attribute as one of the predefined ints can be obtained from getAttributeType() and its Java class from getAttributeClass

Parameters:
name - the name of an attribute
handle - the handle to a node
Returns:
the value of an attribute of the node or null if there is no attribute with that name.
Throws:
JEANInvalidHandleException - if the given handle does not reference a node in the application
JEANInvalidAttributeNameException - if the given name does not reference an attribute in that type of node.

getAttributeStrings

protected java.lang.String[] getAttributeStrings(Node node,
                                                 java.lang.String name)
get the value of a set attribute of a node. The type of the attribute as one of the predefined ints can be obtained from getAttributeType() and its Java class from getAttributeClass

Parameters:
name - the name of an attribute
node - a node
Returns:
the value of an attribute of the node or null if there is no attribute with that name.

getAttribute

public java.lang.Object getAttribute(long[] handle,
                                     java.lang.String name)
                              throws JEANInvalidHandleException,
                                     JEANInvalidAttributeNameException
get the value of an attribute of a set of nodes. The type of the attribute as one of the predefined ints can be obtained from getAttributeType() and its Java class from getAttributeClass

Parameters:
name - the name of an attribute
handle - the handle to a node
Returns:
the values of an attribute of the nodes
Throws:
JEANInvalidHandleException - if any of the given handles do not reference a node in the application
JEANInvalidAttributeNameException - if the given name does not reference an attribute in that type of node.

getAttributeType

public AttributeType getAttributeType(long handle,
                                      java.lang.String name)
                               throws JEANInvalidHandleException
get the type of an attribute value of a node. The value of the attribute can be obtained from getAttribute() and its Java class from getAttributeClass

Parameters:
name - the name of an attribute
handle - the handle to a node
Returns:
the type of an attribute value of the node
Throws:
JEANInvalidHandleException - if the given handle does not reference a node in the application
JEANInvalidAttributeNameException - if the given name does not reference an attribute in that type of node.

getNodeTypeInformation

protected JEANAPI.NodeTypeInformation getNodeTypeInformation(NodeType type)

getAttributeType

protected AttributeType getAttributeType(NodeType type,
                                         java.lang.String name)

getAttributeClass

public java.lang.Class getAttributeClass(long handle,
                                         java.lang.String name)
                                  throws JEANInvalidHandleException,
                                         JEANInvalidAttributeNameException
get the class of an attribute value of a node. The value of the attribute can be obtained from getAttribute() and its type from getAttributeType

Parameters:
name - the name of an attribute
handle - the handle to a node
Returns:
the class of an attribute value of the node
Throws:
JEANInvalidHandleException - if the given handle does not reference a node in the application
JEANInvalidAttributeNameException - if the given name does not reference an attribute in that type of node.

getChildren

public long[] getChildren(long handle)
get the children of a node, that is all the other nodes that can be reached by following a single link from the given node.

Parameters:
handle - the handle to a node
Returns:
the handles to all child nodes of the given node.
Throws:
JEANInvalidHandleException - if the given handle does not reference a node in the application

getChildren

public long[] getChildren(long handle,
                          NodeType type)
get the children of a node, that is all the other nodes that can be reached by following a single link from the given node.

Parameters:
handle - the handle to a node
Returns:
the handles to all child nodes of the given node.
Throws:
JEANInvalidHandleException - if the given handle does not reference a node in the application

isChildOf

public boolean isChildOf(long child,
                         long parent)

getChildrenNames

public java.lang.String[] getChildrenNames(long handle,
                                           NodeType type)
get the names of all children of a node, that is all the other nodes that can be reached by following a single link from the given node.

Parameters:
handle - the handle to a node
Returns:
the handles to all child nodes of the given node.
Throws:
JEANInvalidHandleException - if the given handle does not reference a node in the application

getChildrenNames

protected java.lang.String[] getChildrenNames(Node node,
                                              NodeType type)
get the names of all children of a node, that is all the other nodes that can be reached by following a single link from the given node.

Parameters:
handle - the handle to a node
Returns:
the handles to all child nodes of the given node.
Throws:
JEANInvalidHandleException - if the given handle does not reference a node in the application

getAllChildren

public long[] getAllChildren(long handle,
                             NodeType type)
get the children of a node, that is all the other nodes that can be reached by following a single link from the given node.

Parameters:
handle - the handle to a node
Returns:
the handles to all child nodes of the given node.
Throws:
JEANInvalidHandleException - if the given handle does not reference a node in the application

getAllChildren

public long[] getAllChildren(long[] handle,
                             NodeType type)
get the children of a node, that is all the other nodes that can be reached by following a single link from the given node.

Parameters:
handle - the handle to a node
Returns:
the handles to all child nodes of the given node.
Throws:
JEANInvalidHandleException - if the given handle does not reference a node in the application

getAllChildren

protected Node[] getAllChildren(Node node,
                                NodeType type)

getAllChildren

protected Node[] getAllChildren(Node[] node,
                                NodeType type)

getParents

public long[] getParents(long id)
get the parents of a node, that is all the other nodes that can be reached by following a single link backwards from the given node.

Parameters:
id - the id of a node a node in the application
Returns:
the handles to all parent nodes of the given node.

getParents

public long[] getParents(long id,
                         NodeType type)
get the parents of a node, that is all the other nodes that can be reached by following a single link backwards from the given node.

Parameters:
id - the id of a node
type - the type of parents that are of interest, if null then all types. a node in the application
Returns:
the handles to all parent nodes of the given node.

getParents

public long[] getParents(long id,
                         NodeType[] types,
                         long[] excluding)
get the parents of a node, that is all the other nodes that can be reached by following a single link backwards from the given node.

Parameters:
id - the id of a node
types - the types of parents that are of interest, if null then all types.
excluding, - any parents that should be excluded from the returned list, may be null a node in the application
Returns:
the handles to all parent nodes of the given node, null if the node does not exist for the given ids.

addEventListener

public void addEventListener(JEANAPI.JEANEventListener listener)
add a listener for JEANEvents

Parameters:
listener - a listener for JEANEvents

firePreEvent

public boolean firePreEvent(long node,
                            java.lang.String name,
                            int eventType,
                            java.lang.Object parameter)

firePostEvent

public void firePostEvent(long node,
                          java.lang.String name,
                          int eventType,
                          java.lang.Object parameter)

visit

public void visit(long handle,
                  JEANAPI.Visitor visitor)

createNode

public long createNode(java.lang.String absolutePath,
                       NodeType type)

createNode

public long createNode(java.lang.String[] path,
                       NodeType type)

createActualNode

protected Node createActualNode(java.lang.String absolutePath,
                                NodeType type)

createActualNode

protected Node createActualNode(java.lang.String[] path,
                                NodeType type)

getOrCreateNode

public long getOrCreateNode(NamedTyped[] path)

getOrCreateNode

public long getOrCreateNode(long start,
                            NamedTyped[] path)

getOrCreateActualNode

protected Node getOrCreateActualNode(NamedTyped[] path)

getOrCreateNode

public long getOrCreateNode(long parentNode,
                            java.lang.String name,
                            NodeType type)

getOrCreateNode

public long getOrCreateNode(long parentNode,
                            java.lang.String name,
                            NodeType type,
                            boolean useEditor)

getOrCreateNode

protected Node getOrCreateNode(Node parentNode,
                               java.lang.String name,
                               NodeType type)

getOrCreateNode

protected Node getOrCreateNode(Node parentNode,
                               java.lang.String name,
                               NodeType type,
                               boolean useEditor)

getOrCreateNode

public long getOrCreateNode(long parentNode,
                            java.lang.String name,
                            NodeType type,
                            NamedValue[] attributes)

getOrCreateNode

public long getOrCreateNode(long parentNode,
                            java.lang.String name,
                            NodeType type,
                            NamedValue[] attributes,
                            boolean editExisting)

getOrCreateNode

protected Node getOrCreateNode(Node parentNode,
                               java.lang.String name,
                               NodeType type,
                               NamedValue[] attributes,
                               boolean editExisting)

createActualNodePath

protected Node createActualNodePath(java.lang.String[] path,
                                    NodeType containerType,
                                    NodeType targetType)
create node (if necessary), all containers along the path to be of type containerType


createActualNodePath

protected Node createActualNodePath(Node startingFrom,
                                    java.lang.String[] path,
                                    NodeType containerType,
                                    NodeType targetType)
create node (if necessary), all containers along the path to be of type containerType


createActualNodePath

protected Node createActualNodePath(NamedTyped[] path)
create node (if necessary), all containers along the path to be of type containerType


createActualNodePath

protected Node createActualNodePath(Node startingFrom,
                                    NamedTyped[] path)
create node (if necessary), all containers along the path to be of type containerType


createActualNodePath

protected Node createActualNodePath(Node startingFrom,
                                    NamedTyped[] path,
                                    boolean useEditor)
create node (if necessary), all containers along the path to be of type containerType


createNode

public long createNode(long parentNode,
                       java.lang.String name,
                       NodeType type)
Create a new node

Parameters:
parentNode - the node, of which this is to be a child
name - the name of this new node
type - the type of the new node
Returns:
the id of newly created Node or -1 if it was not possible

createNode

public long createNode(long parentNode,
                       java.lang.String name,
                       NodeType type,
                       boolean useEditor)
Create a new node

Parameters:
parentNode - the node, of which this is to be a child
name - the name of this new node
type - the type of the new node
Returns:
the id of newly created Node or -1 if it was not possible

createNode

public long createNode(long parentNode,
                       java.lang.String name,
                       NodeType type,
                       NamedValue[] attributes,
                       boolean useEditor)
Create a new node

Parameters:
parentNode - the node, of which this is to be a child
name - the name of this new node
type - the type of the new node
Returns:
the id of newly created Node or -1 if it was not possible

createNode

public long createNode(long parentNode,
                       java.lang.String name,
                       NodeType type,
                       NamedValue[] attributes)
Create a new node

Parameters:
parentNode - the node, of which this is to be a child
name - the name of this new node
type - the type of the new node
Returns:
the id of newly created Node or -1 if it was not possible

createNode

public long createNode(long parentNode,
                       java.lang.String name,
                       NodeType type,
                       int ordinal)
Create a new node

Parameters:
parentNode - the node, of which this is to be a child
name - the name of this new node
type - the type of the new node
Returns:
the id of newly created Node or -1 if it was not possible

createNode

public long createNode(long parentNode,
                       java.lang.String name,
                       NodeType type,
                       boolean useEditor,
                       int ordinal)
Create a new node

Parameters:
parentNode - the node, of which this is to be a child
name - the name of this new node
type - the type of the new node
Returns:
the id of newly created Node or -1 if it was not possible

createNode

public long createNode(long parentNode,
                       java.lang.String name,
                       NodeType type,
                       NamedValue[] attributes,
                       int ordinal)
Create a new node

Parameters:
parentNode - the node, of which this is to be a child
name - the name of this new node
type - the type of the new node
Returns:
the id of newly created Node or -1 if it was not possible

createNode

public long createNode(long parentNode,
                       java.lang.String name,
                       NodeType type,
                       NamedValue[] attributes,
                       boolean useEditor,
                       int ordinal)
Create a new node

Parameters:
parentNode - the node, of which this is to be a child
name - the name of this new node
type - the type of the new node
Returns:
the id of newly created Node or -1 if it was not possible

createNodes

public long[] createNodes(long parentNode,
                          NodeCreationSpecification[] specs,
                          NodeType type)

createNodes

protected Node[] createNodes(Node parent,
                             NodeCreationSpecification[] specs,
                             NodeType type)

createNode

protected Node createNode(Node parent,
                          java.lang.String name,
                          NodeType type)

createNode

protected Node createNode(Node parent,
                          java.lang.String name,
                          NodeType type,
                          int ordinal)

createNode

protected Node createNode(Node parent,
                          java.lang.String name,
                          NodeType type,
                          boolean useEditor)

createNode

protected Node createNode(Node parent,
                          java.lang.String name,
                          NodeType type,
                          NamedValue[] attributes)

createNode

protected Node createNode(Node parent,
                          java.lang.String name,
                          NodeType type,
                          NamedValue[] attributes,
                          boolean useEditor)

createNode

protected Node createNode(Node parent,
                          java.lang.String name,
                          NodeType type,
                          NamedValue[] attributes,
                          boolean useEditor,
                          int ordinal)
Parameters:
attributes - are names and initial values for any attributes to be set in the created node

getCategoryName

public java.lang.String getCategoryName()

getCategoryNamePlural

public java.lang.String getCategoryNamePlural()

getGroupName

public java.lang.String getGroupName()

getGroupNamePlural

public java.lang.String getGroupNamePlural()

getItemName

public java.lang.String getItemName()

getItemNamePlural

public java.lang.String getItemNamePlural()

getNodeTypeName

public java.lang.String getNodeTypeName(NodeType type)

unlink

public void unlink()
unlink currently selected node(s)


unlink

public void unlink(boolean force)
unlink currently selected node(s)


unlink

public void unlink(long parent,
                   long child)

unlink

public void unlink(long[] parent,
                   long child)

unlink

public void unlink(long parent,
                   long child,
                   boolean confirmDelete)

unlink

public void unlink(long parent,
                   long child,
                   boolean confirmDelete,
                   boolean force)

link

public void link(long parent,
                 long child)

link

public void link(long[] parent,
                 long child)

unlinkActual

protected void unlinkActual(Node parentNode,
                            Node childNode)

unlinkActual

protected void unlinkActual(Node parentNode,
                            Node childNode,
                            boolean confirmDelete)

unlinkActual

protected void unlinkActual(Node parentNode,
                            Node childNode,
                            boolean confirmDelete,
                            boolean force)

linkActual

protected void linkActual(Node parentNode,
                          Node childNode)

linkActual

protected void linkActual(Node[] parentNodes,
                          Node childNode)

link

public void link(long parent,
                 long[] children)

linkActual

protected void linkActual(Node parentNode,
                          Node[] childrenNodes)

getAttributeNames

protected java.lang.String[] getAttributeNames(Node node)

getAttributes

protected Attribute[] getAttributes(Node node)

getAttributeNames

protected java.lang.String[] getAttributeNames(Node node,
                                               java.lang.String page)

getAttributes

protected Attribute[] getAttributes(Node node,
                                    java.lang.String page)

getAttributes

protected Attribute[] getAttributes(NodeType type)

getAttributes

protected Attribute[] getAttributes(NodeType type,
                                    java.lang.String page)

getAttributeNames

public java.lang.String[] getAttributeNames(long id)

getAttributeNames

public java.lang.String[] getAttributeNames(long id,
                                            java.lang.String page)

getAttributeNames

protected java.lang.String[] getAttributeNames(NodeType type)

getAttributeNames

protected java.lang.String[] getAttributeNames(NodeType type,
                                               AttributeType atype)

getAttributeTypes

protected AttributeType[] getAttributeTypes(NodeType type)

getAttributeNamesAndTypes

protected NamedTyped[] getAttributeNamesAndTypes(NodeType type)

getAttributeNames

protected java.lang.String[] getAttributeNames(NodeType type,
                                               java.lang.String page)

getIndexableAttributeNames

protected java.lang.String[] getIndexableAttributeNames(Node node)

getIndexableAttributeNames

public java.lang.String[] getIndexableAttributeNames(long id)

getFileAttributeNames

protected java.lang.String[] getFileAttributeNames(Node node)

getFileAttributeNames

public java.lang.String[] getFileAttributeNames(long id)

getFileAttributeNames

public java.lang.String[] getFileAttributeNames(NodeType type)

getIndexableAttributeNames

protected java.lang.String[] getIndexableAttributeNames(NodeType type)

getIndexableAttributeFullNames

protected java.lang.String[] getIndexableAttributeFullNames(NodeType type)

getIndexableAttributeTypes

protected AttributeType[] getIndexableAttributeTypes(NodeType type)

getIndexableAttributes

protected Attribute[] getIndexableAttributes(Node node)

getIndexableAttributes

protected Attribute[] getIndexableAttributes(NodeType type)

getVisibleIndexableAttributes

protected Attribute[] getVisibleIndexableAttributes(Node node)

getVisibleIndexableAttributes

protected Attribute[] getVisibleIndexableAttributes(NodeType type)

getVisibleAttributes

protected Attribute[] getVisibleAttributes(Node node)

getVisibleAttributes

protected Attribute[] getVisibleAttributes(NodeType type)

getSetAttributeNames

protected java.lang.String[] getSetAttributeNames(NodeType type)

getSetAttributeFullNames

protected java.lang.String[] getSetAttributeFullNames(NodeType type)

getSetAttributes

protected Attribute[] getSetAttributes(Node node)

getSetAttributes

protected Attribute[] getSetAttributes(NodeType type)

getReferenceAttributeNames

protected java.lang.String[] getReferenceAttributeNames(NodeType type)

getReferenceAttributeFullNames

public java.lang.String[] getReferenceAttributeFullNames(NodeType type)

getReferenceAttributeTargetApplicationNames

public java.lang.String[] getReferenceAttributeTargetApplicationNames(NodeType type)

getReferenceAttributes

protected Attribute[] getReferenceAttributes(Node node)

getReferenceAttributes

protected Attribute[] getReferenceAttributes(NodeType type)

getRunnableAttributeNames

protected java.lang.String[] getRunnableAttributeNames(Node node)

getRunnableAttributeNames

public java.lang.String[] getRunnableAttributeNames(long id)

getRunnableAttributeNames

public java.lang.String[] getRunnableAttributeNames(NodeType type)

getRunnableAttributeCommands

public java.lang.String[] getRunnableAttributeCommands(NodeType type)

getRunnableAttributeFullNames

public java.lang.String[] getRunnableAttributeFullNames(NodeType type)

getRunnableAttributeTypes

public AttributeType[] getRunnableAttributeTypes(NodeType type)

getRunnableAttributes

protected Attribute[] getRunnableAttributes(Node node)

getRunnableAttributes

protected Attribute[] getRunnableAttributes(NodeType type)

hasRunnables

public boolean hasRunnables(NodeType type)

hasRunnables

public boolean hasRunnables()

getHasRunnables

public boolean[] getHasRunnables()

nodeHasChanged

public void nodeHasChanged(long node)

nodeHasChanged

protected void nodeHasChanged(Node node)

resetAttributePanels

public void resetAttributePanels()

defaultHasChanged

protected void defaultHasChanged(NodeType type)

getNode

public long getNode(java.lang.String absolutePath)

getNode

public long getNode(java.lang.String[] path)

getNodeArray

protected Node[] getNodeArray(java.lang.String absolutePath)

getNodeArray

protected Node[] getNodeArray(java.lang.String[] path)

getActualNode

protected Node getActualNode(java.lang.String absolutePath)

getActualNode

protected Node getActualNode(java.lang.String[] path)

getNode

protected Node getNode(Node node,
                       java.lang.String path)

getNode

protected Node getNode(Node node,
                       java.lang.String[] path)

getNode

public long getNode(long nodeID,
                    java.lang.String path)

createSetAttributeValue

public java.lang.Object createSetAttributeValue(java.lang.String setAttributeName,
                                                NamedTypedValue[] attDetails)

setAttribute

public void setAttribute(long nodeHandle,
                         java.lang.String name,
                         java.lang.Object value)

setAttribute

public void setAttribute(Node node,
                         java.lang.String name,
                         java.lang.Object value)

setNoSave

public void setNoSave(long nodeHandle,
                      boolean noSave)

audioNeeded

public boolean audioNeeded()

getBackupDirectory

public java.io.File getBackupDirectory()

getNewBackupDirectory

public java.io.File getNewBackupDirectory()

backup

public void backup()

backupIfNecessary

public void backupIfNecessary()

getRestoreNames

public java.lang.String[] getRestoreNames()

restore

public void restore(java.lang.String restoreNumber)

quit

public void quit()

merge

public void merge(NodeType type,
                  long[] nodes,
                  long node)
           throws CycleException,
                  JEANInvalidHandleException
merge the children of a set of nodes into one node

Parameters:
nodes - a set of nodes
node - the node to have links to all the children of the nodes in the set
type - the type of children to be merged, if null then all.
Throws:
CycleException
JEANInvalidHandleException

merge

public void merge(NodeType type,
                  long[] nodes,
                  long parentNode,
                  java.lang.String newNodeName,
                  NodeType newType)
           throws CycleException,
                  JEANInvalidHandleException
merge the children of a set of nodes into one new node

Parameters:
nodes - a set of nodes
parentNode - the node to have a new child that will have links to all the children of the nodes in the set
type - the type of children to be merged, if null then all.
Throws:
CycleException
JEANInvalidHandleException

merge

protected void merge(NodeType type,
                     Node[] nodes,
                     Node node)
              throws CycleException
merge the children of a set of nodes into one node

Parameters:
nodes - a set of nodes
node - the node to have links to all the children of the nodes in the set
type - the type of children to be merged, if null then all.
Throws:
CycleException

merge

protected void merge(NodeType type,
                     Node[] nodes,
                     Node parentNode,
                     java.lang.String newNodeName,
                     NodeType newNodeType)
              throws CycleException
merge the children of a set of nodes into one new node

Parameters:
nodes - a set of nodes
parentNode - the node to have a new child that will have links to all the children of the nodes in the set
type - the type of children to be merged, if null then all.
Throws:
CycleException

importCatalog

public void importCatalog()

hideNode

public void hideNode(long node)

hideNode

protected void hideNode(Node node)

unhideNode

public void unhideNode(long node)

unhideNode

protected void unhideNode(Node node)

setPreloadLevel

public void setPreloadLevel(int preloadLevel)

isPreloading

public boolean isPreloading()

getPreloadLevel

public int getPreloadLevel()

loadXMLDocument

public org.w3c.dom.Document loadXMLDocument(java.lang.String[] key)

saveXMLDocument

public void saveXMLDocument(java.lang.String[] key,
                            org.w3c.dom.Document doc)

subKeys

public java.lang.String[] subKeys(java.lang.String[] key,
                                  java.lang.String type)

help

public void help()

getValueForAttributes

public java.lang.Object[] getValueForAttributes(long nodeID,
                                                java.lang.String[] attributeNames,
                                                java.lang.String dialogName)
opens a dialog to get values for several attributes of a node

Parameters:
nodeID - the handle of the node of which attribute values are to be obtained
attributeNames - the full names of all the attributes whose values are required
dialogName - a name for the dialog to be used in the Frame manager
Returns:
a list of Objects corresponding in type to the attributes requested

setDefaultValue

public void setDefaultValue(NodeType type,
                            java.lang.String attributeName,
                            java.lang.Object defaultValue)

setDefaultValueFromString

public void setDefaultValueFromString(NodeType type,
                                      java.lang.String attributeName,
                                      java.lang.String defaultValue)

getUserValue

public java.lang.String getUserValue(java.lang.String name,
                                     java.lang.String defaultValue)
retrieve a User saved value of the same type as the default

Parameters:
name - the name of the saved value
defaultValue - the value to be returned if there is currently no saved value under this name.
Returns:
a User saved value of the same type as the default

setUserValue

public void setUserValue(java.lang.String name,
                         java.lang.String value)

getUserValue

public java.awt.Color getUserValue(java.lang.String name,
                                   java.awt.Color defaultValue)
retrieve a User saved value of the same type as the default

Parameters:
name - the name of the saved value
defaultValue - the value to be returned if there is currently no saved value under this name.
Returns:
a User saved value of the same type as the default

setUserValue

public void setUserValue(java.lang.String name,
                         java.awt.Color value)

getUserValue

public boolean getUserValue(java.lang.String name,
                            boolean defaultValue)
retrieve a User saved value of the same type as the default

Parameters:
name - the name of the saved value
defaultValue - the value to be returned if there is currently no saved value under this name.
Returns:
a User saved value of the same type as the default

setUserValue

public void setUserValue(java.lang.String name,
                         boolean value)

getUserValue

public byte[] getUserValue(java.lang.String name,
                           byte[] defaultValue)
retrieve a User saved value of the same type as the default

Parameters:
name - the name of the saved value
defaultValue - the value to be returned if there is currently no saved value under this name.
Returns:
a User saved value of the same type as the default

setUserValue

public void setUserValue(java.lang.String name,
                         byte[] value)

getUserValue

public int getUserValue(java.lang.String name,
                        int defaultValue)
retrieve a User saved value of the same type as the default

Parameters:
name - the name of the saved value
defaultValue - the value to be returned if there is currently no saved value under this name.
Returns:
a User saved value of the same type as the default

setUserValue

public void setUserValue(java.lang.String name,
                         int value)
set a User saved value

Parameters:
name - the name of the saved value
value - the value to be saved under this name.

getUserValue

public long getUserValue(java.lang.String name,
                         long defaultValue)
retrieve a User saved value of the same type as the default

Parameters:
name - the name of the saved value
defaultValue - the value to be returned if there is currently no saved value under this name.
Returns:
a User saved value of the same type as the default

setUserValue

public void setUserValue(java.lang.String name,
                         long value)
set a User saved value

Parameters:
name - the name of the saved value
value - the value to be saved under this name.

getUserValue

public float getUserValue(java.lang.String name,
                          float defaultValue)
retrieve a User saved value of the same type as the default

Parameters:
name - the name of the saved value
defaultValue - the value to be returned if there is currently no saved value under this name.
Returns:
a User saved value of the same type as the default

setUserValue

public void setUserValue(java.lang.String name,
                         float value)
set a User saved value

Parameters:
name - the name of the saved value
value - the value to be saved under this name.

getUserValue

public double getUserValue(java.lang.String name,
                           double defaultValue)
retrieve a User saved value of the same type as the default

Parameters:
name - the name of the saved value
defaultValue - the value to be returned if there is currently no saved value under this name.
Returns:
a User saved value of the same type as the default

setUserValue

public void setUserValue(java.lang.String name,
                         double value)
set a User saved value

Parameters:
name - the name of the saved value
value - the value to be saved under this name.

getSystemValue

public java.lang.String getSystemValue(java.lang.String name,
                                       java.lang.String defaultValue)
retrieve a System saved value of the same type as the default

Parameters:
name - the name of the saved value
defaultValue - the value to be returned if there is currently no saved value under this name.
Returns:
a System saved value of the same type as the default

setSystemValue

public void setSystemValue(java.lang.String name,
                           java.lang.String value)
set a System saved value

Parameters:
name - the name of the saved value
value - the value to be saved under this name.

getSystemValue

public boolean getSystemValue(java.lang.String name,
                              boolean defaultValue)
retrieve a System saved value of the same type as the default

Parameters:
name - the name of the saved value
defaultValue - the value to be returned if there is currently no saved value under this name.
Returns:
a System saved value of the same type as the default

setSystemValue

public void setSystemValue(java.lang.String name,
                           boolean value)
set a System saved value

Parameters:
name - the name of the saved value
value - the value to be saved under this name.

getSystemValue

public byte[] getSystemValue(java.lang.String name,
                             byte[] defaultValue)
retrieve a System saved value of the same type as the default

Parameters:
name - the name of the saved value
defaultValue - the value to be returned if there is currently no saved value under this name.
Returns:
a System saved value of the same type as the default

setSystemValue

public void setSystemValue(java.lang.String name,
                           byte[] value)
set a System saved value

Parameters:
name - the name of the saved value
value - the value to be saved under this name.

getSystemValue

public int getSystemValue(java.lang.String name,
                          int defaultValue)
retrieve a System saved value of the same type as the default

Parameters:
name - the name of the saved value
defaultValue - the value to be returned if there is currently no saved value under this name.
Returns:
a System saved value of the same type as the default

setSystemValue

public void setSystemValue(java.lang.String name,
                           int value)
set a System saved value

Parameters:
name - the name of the saved value
value - the value to be saved under this name.

getSystemValue

public long getSystemValue(java.lang.String name,
                           long defaultValue)
retrieve a System saved value of the same type as the default

Parameters:
name - the name of the saved value
defaultValue - the value to be returned if there is currently no saved value under this name.
Returns:
a System saved value of the same type as the default

setSystemValue

public void setSystemValue(java.lang.String name,
                           long value)
set a System saved value

Parameters:
name - the name of the saved value
value - the value to be saved under this name.

getSystemValue

public float getSystemValue(java.lang.String name,
                            float defaultValue)
retrieve a System saved value of the same type as the default

Parameters:
name - the name of the saved value
defaultValue - the value to be returned if there is currently no saved value under this name.
Returns:
a System saved value of the same type as the default

setSystemValue

public void setSystemValue(java.lang.String name,
                           float value)
set a System saved value

Parameters:
name - the name of the saved value
value - the value to be saved under this name.

getSystemValue

public double getSystemValue(java.lang.String name,
                             double defaultValue)
retrieve a System saved value of the same type as the default

Parameters:
name - the name of the saved value
defaultValue - the value to be returned if there is currently no saved value under this name.
Returns:
a System saved value of the same type as the default

setSystemValue

public void setSystemValue(java.lang.String name,
                           double value)
set a System saved value

Parameters:
name - the name of the saved value
value - the value to be saved under this name.

addFormatter

public void addFormatter(java.lang.String attributeName,
                         java.text.Format format)

setGlobal

public void setGlobal(java.lang.String name,
                      java.lang.String value)

setLogical

public static void setLogical(java.lang.String name,
                              java.lang.String value)

setLogical

public static void setLogical(java.lang.String name,
                              JEANFile value)

setLogical

public static void setLogical(java.lang.String appname,
                              java.lang.String logicalName,
                              java.lang.String value)

setLogical

public static void setLogical(java.lang.String appname,
                              java.lang.String logicalName,
                              JEANFile value)

getLocalLogical

public JEANFile getLocalLogical(java.lang.String localName)

setLocalLogical

public void setLocalLogical(java.lang.String localName,
                            java.lang.String value)

setLocalLogical

public void setLocalLogical(java.lang.String localName,
                            JEANFile value)

getLogical

public static JEANFile getLogical(java.lang.String name)

getLogical

public static JEANFile getLogical(java.lang.String appname,
                                  java.lang.String logicalName)

getLogicalNames

public java.lang.String[] getLogicalNames()

getLogicalNames

public static java.lang.String[] getLogicalNames(java.lang.String appname)

copyLogicals

public static void copyLogicals(java.lang.String appname)

getReferenceTarget

public JEANAttributeReference getReferenceTarget(long nodeID,
                                                 java.lang.String attributeName)

getWebDirectory

public java.io.File getWebDirectory()

getWebFile

public java.io.File getWebFile(java.lang.String name)

getTmpDirectory

public java.io.File getTmpDirectory()

getTmpFile

public java.io.File getTmpFile(java.lang.String type)

getTmpFile

public java.io.File getTmpFile(java.lang.String type,
                               boolean deleteOnExit)

getTmpWebFile

public java.io.File getTmpWebFile(java.lang.String type)

getConfigFile

public java.io.File getConfigFile(java.lang.String[] path)

getConfigDocument

public org.w3c.dom.Document getConfigDocument()

saveConfigDocument

public void saveConfigDocument(org.w3c.dom.Document doc)

getCreationDate

public java.util.Date getCreationDate(long node)

getCreationDate

protected java.util.Date getCreationDate(Node node)

getCacheDirectory

public java.io.File getCacheDirectory()

enableJavaMenuItem

public void enableJavaMenuItem(java.lang.String name,
                               boolean enabled)

setJavaAskForInput

public void setJavaAskForInput(java.lang.String name,
                               boolean askForInput)

addDisplayMouseListener

public void addDisplayMouseListener(NodeType type,
                                    java.lang.String attributeName,
                                    java.awt.event.MouseListener listener)

search

public long[] search(long[] startNodes,
                     Criterion criterion)

search

public long[] search(NodeType type,
                     long[] startNodes,
                     Criterion criterion)

search

protected Node[] search(Node[] startNodes,
                        Criterion criterion)

search

protected Node[] search(NodeType type,
                        Node[] startNodes,
                        Criterion criterion)

getNewAttributeValue

public java.lang.Object getNewAttributeValue(java.lang.String prompt,
                                             long nodeHandle,
                                             java.lang.String attributeName)
open a dialog to get a value suitable for the given attribute, typically this will be used with an attribute from a template with a default value set.

Parameters:
prompt - the prompt for the user to provide a value
typei - the attribute type
initialValue - and initialValue to be set in the dialog, may be null
Returns:
an object of the appropriate type or null if cancelled

getAttributeTypeValue

public java.lang.Object getAttributeTypeValue(java.lang.String prompt,
                                              AttributeType type,
                                              java.lang.Object initialValue)
open a dialog to obtain a value of the correct type for a given attribute type

Parameters:
prompt - the prompt for the user to provide a value
typei - the attribute type
initialValue - and initialValue to be set in the dialog, may be null
Returns:
an object of the appropriate type or null if cancelled

getAttributeTypeValues

public java.lang.Object[] getAttributeTypeValues(NodeType type,
                                                 java.lang.String[] attributeNames)

getAttributeTypeValues

public java.lang.Object[] getAttributeTypeValues(java.lang.String msg,
                                                 NodeType type,
                                                 java.lang.String[] attributeNames)

getAttributeTypeValues

public java.lang.Object[] getAttributeTypeValues(java.lang.String[] prompts,
                                                 AttributeType[] type,
                                                 java.lang.Object[] initialValue)
open a dialog to obtain a value of the correct type for a given attribute type

Parameters:
typei - the attribute type
initialValue - and initialValue to be set in the dialog, may be null
Returns:
an object of the appropriate type or null if cancelled

getAttributeTypeValues

public java.lang.Object[] getAttributeTypeValues(java.lang.String msg,
                                                 java.lang.String[] prompts,
                                                 int[] typei,
                                                 java.lang.Object[] initialValue)
open a dialog to obtain a value of the correct type for a given attribute type

Parameters:
typei - the attribute type
initialValue - and initialValue to be set in the dialog, may be null
Returns:
an object of the appropriate type or null if cancelled

getInputPanel

public InputPanel getInputPanel(java.lang.String[] prompts,
                                AttributeType[] type,
                                java.lang.Object[] initialValue)

getDisplayPanel

public DisplayPanel getDisplayPanel(java.lang.String[] labels,
                                    AttributeType[] types,
                                    java.lang.Object[] values)

showDisplayDialog

public static void showDisplayDialog(java.lang.String name,
                                     java.lang.String msg,
                                     java.lang.String[] labels,
                                     AttributeType[] types,
                                     java.lang.Object[] values)

getCatalogValues

public long[] getCatalogValues(java.lang.String msg,
                               long[] selectedNodes)
get a set of node ids by showing a dialog containg a catalog from which nodes can be selected in the usual way.

Parameters:
msg - a message to display with the catalog, may be null
selectedNodes - any nodes that you wish to see preselected, may be null
Returns:
the nodes selected when OK is pressed, or null

getCatalogValues

public long[] getCatalogValues(java.lang.String title,
                               java.lang.String msg,
                               long[] selectedNodes)
get a set of node ids by showing a dialog containg a catalog from which nodes can be selected in the usual way.

Parameters:
msg - a message to display with the catalog, may be null
selectedNodes - any nodes that you wish to see preselected, may be null
Returns:
the nodes selected when OK is pressed, or null

getCatalogValue

public long getCatalogValue(java.lang.String msg,
                            long selectedNode)
get a set of node ids by showing a dialog containg a catalog from which nodes can be selected in the usual way.

Parameters:
msg - a message to display with the catalog, may be null
selectedNodes - any nodes that you wish to see preselected, may be null
Returns:
the nodes selected when OK is pressed, or null

getCatalogValue

public long getCatalogValue(java.lang.String title,
                            java.lang.String msg,
                            long selectedNode)
get a set of node ids by showing a dialog containg a catalog from which nodes can be selected in the usual way.

Parameters:
msg - a message to display with the catalog, may be null
selectedNodes - any nodes that you wish to see preselected, may be null
Returns:
the nodes selected when OK is pressed, or null

getNodeTypeRadioPanel

public static InputPanel getNodeTypeRadioPanel(NodeType initialSelection)

getAttributeTypeValues

public java.lang.Object[] getAttributeTypeValues(java.lang.String msg,
                                                 java.lang.String[] prompts,
                                                 AttributeType[] type,
                                                 java.lang.Object[] initialValue)
open a dialog to obtain values of the correct type for a given set of attribute types

Parameters:
typei - the attribute type
initialValue - and initialValue to be set in the dialog, may be null
Returns:
an object of the appropriate type or null if cancelled

iterator

public java.util.Iterator iterator(NodeType type)

iterator

public java.util.Iterator iterator(NodeType[] type)

iterator

protected java.util.Iterator iterator(NodeType type,
                                      Node startingAt)

iterator

protected java.util.Iterator iterator(NodeType[] type,
                                      Node startingAt)

iterator

public java.util.Iterator iterator(NodeType type,
                                   long startingAt)

iterator

public java.util.Iterator iterator(NodeType[] type,
                                   long startingAt)

processNodes

protected void processNodes(NodeType type,
                            Node startingAt,
                            NodeProcessor processor)

processNodes

protected void processNodes(NodeType[] type,
                            Node startingAt,
                            NodeProcessor processor)

processNodes

public void processNodes(NodeType type,
                         long startingAt,
                         NodeProcessor processor)

processNodes

public void processNodes(NodeType[] type,
                         long startingAt,
                         NodeProcessor processor)

addValueToEnumeration

public void addValueToEnumeration(NodeType nodeType,
                                  java.lang.String attributeName,
                                  java.lang.String newEnumerationValue)

removeValueFromEnumeration

public void removeValueFromEnumeration(NodeType nodeType,
                                       java.lang.String attributeName,
                                       java.lang.String newEnumerationValue)

removeAttribute

public void removeAttribute(NodeType type,
                            java.lang.String attributeName)

addAttributeToNode

public void addAttributeToNode(long node,
                               java.lang.String attributeName,
                               AttributeType atype,
                               java.lang.Object val)

addAttributeToNode

protected void addAttributeToNode(Node node,
                                  java.lang.String attributeName,
                                  AttributeType atype,
                                  java.lang.Object val)

addAttribute

public void addAttribute(NodeType type,
                         java.lang.String attributeName,
                         AttributeType atype,
                         java.lang.Object value,
                         boolean visible)

addAttribute

public void addAttribute(NodeType type,
                         java.lang.String pageName,
                         NamedTypedValue att,
                         boolean visible)

addAttribute

public void addAttribute(NodeType type,
                         java.lang.String pageName,
                         NamedTypedValue ntv,
                         int ordinal,
                         boolean visible)

addAttribute

public void addAttribute(NodeType type,
                         java.lang.String pageName,
                         NamedTypedValue att)

addAttribute

public void addAttribute(NodeType type,
                         java.lang.String pageName,
                         NamedTypedValue ntv,
                         int ordinal)

addPage

public void addPage(NodeType type,
                    java.lang.String name,
                    NamedTypedValue[] attributes)

addPage

public void addPage(NodeType type,
                    java.lang.String name,
                    NamedTypedValue[] attributes,
                    boolean editable)

addPage

public void addPage(NodeType type,
                    java.lang.String name,
                    NamedTypedValue[] attributes,
                    int ordinal,
                    boolean editable)

addPage

public void addPage(NodeType type,
                    java.lang.String name,
                    NamedTypedValue[] attributes,
                    java.lang.String privateToApplicationName)

addPage

public void addPage(NodeType type,
                    java.lang.String name,
                    NamedTypedValue[] attributes,
                    boolean editable,
                    java.lang.String privateToApplicationName)

addPage

public void addPage(NodeType type,
                    java.lang.String name,
                    NamedTypedValue[] attributes,
                    int ordinal,
                    boolean editable,
                    java.lang.String privateToApplicationName)

addAttribute

public void addAttribute(NodeType type,
                         java.lang.String pageName,
                         Attribute att)

addAttributes

public void addAttributes(NodeType type,
                          java.lang.String pageName,
                          Attribute[] att)

addAttributes

public void addAttributes(NodeType type,
                          java.lang.String pageName,
                          NamedTypedValue[] att)

addAttributes

public void addAttributes(NodeType type,
                          java.lang.String pageName,
                          NamedTypedValue[] att,
                          int ordinal)

setLinkComparator

public boolean setLinkComparator(NodeType type)

setLinkComparator

public boolean setLinkComparator(NodeType type,
                                 java.lang.String descriptor)

setLinkComparator

public boolean setLinkComparator(long node,
                                 java.lang.String descriptor)

setLinkComparator

protected boolean setLinkComparator(Node node,
                                    java.lang.String descriptor)

setNodeValueComparator

public void setNodeValueComparator(long node,
                                   java.lang.String attributeName,
                                   java.util.Comparator comparator)

setNodeValueComparator

public void setNodeValueComparator(long node,
                                   java.lang.String attributeName,
                                   java.util.Comparator comparator,
                                   java.lang.String attributeName2,
                                   java.util.Comparator comparator2)

setNodeValueComparator

protected void setNodeValueComparator(Node node,
                                      java.lang.String attributeName,
                                      java.util.Comparator comparator)

setNodeValueComparator

protected void setNodeValueComparator(Node node,
                                      java.lang.String attributeName,
                                      java.util.Comparator comparator,
                                      java.lang.String attributeName2,
                                      java.util.Comparator comparator2)

setInputPrompt

public void setInputPrompt(NodeType type,
                           java.lang.String attributeName,
                           java.lang.String newPrompt)

setReadOnly

public void setReadOnly(NodeType type,
                        java.lang.String attributeName,
                        boolean newReadOnly)

setReadOnly

protected void setReadOnly(Node node,
                           java.lang.String attributeName,
                           boolean newReadOnly)

setReadOnly

public void setReadOnly(long nodei,
                        java.lang.String attributeName,
                        boolean newReadOnly)

setReadOnly

public void setReadOnly(NodeType type,
                        NamedValue[] nv)

setReadOnly

protected void setReadOnly(Node node,
                           NamedValue[] nv)

setReadOnly

public void setReadOnly(long nodei,
                        NamedValue[] nv)

setVisible

public void setVisible(NodeType type,
                       java.lang.String attributeName,
                       boolean newVisible)

setVisible

public void setVisible(long node,
                       java.lang.String attributeName,
                       boolean newVisible)

setVisible

protected void setVisible(Node node,
                          java.lang.String attributeName,
                          boolean newVisible)

setPageVisible

public void setPageVisible(long node,
                           java.lang.String pageName,
                           boolean newVisible)

setPageVisible

protected void setPageVisible(Node node,
                              java.lang.String pageName,
                              boolean newVisible)

importDirectory

public void importDirectory(long container,
                            java.io.File directory,
                            java.lang.String type,
                            java.lang.String attributeName,
                            java.util.Comparator fileComparator)

importDirectory

protected void importDirectory(Node container,
                               java.io.File directory,
                               java.lang.String type,
                               java.lang.String attributeName,
                               java.util.Comparator fileComparator)

hasAttribute

public boolean hasAttribute(NodeType type,
                            java.lang.String attributeName)

hasAttribute

public boolean hasAttribute(NodeType type,
                            java.lang.String attributeName,
                            int attributeTypei)

hasAttribute

public boolean hasAttribute(NodeType type,
                            java.lang.String attributeName,
                            int[] attributeTypei)

toXML

public org.w3c.dom.Document toXML(long[] ids,
                                  long[] selectedIds,
                                  java.lang.String transformerName,
                                  java.lang.String[] key)

toXML

protected org.w3c.dom.Document toXML(Node[] nodes,
                                     Node[] selectedNodes,
                                     java.lang.String transformerName,
                                     java.lang.String[] key)

toXML

protected org.w3c.dom.Document toXML(Node[] nodes,
                                     Node[] selectedNodes,
                                     java.lang.String transformerName,
                                     java.lang.String[] key,
                                     java.lang.String param,
                                     boolean isETV)

export

public void export(Node[] nodes)

getConfigXMLNode

public org.w3c.dom.Node getConfigXMLNode()

archive

public void archive(long node)

archive

protected void archive(Node node)

loadArchive

public void loadArchive(long node)

loadArchive

protected void loadArchive(Node node)

importActualNodes

protected Node[] importActualNodes(boolean ask)

importNodes

public long[] importNodes(boolean ask)

saveWebDocument

public void saveWebDocument(org.w3c.dom.Document doc,
                            java.lang.String name,
                            java.lang.String extension)
save a document into the webfiles directory


loadWebDocument

public org.w3c.dom.Document loadWebDocument(java.lang.String name)

browseETV

public void browseETV(java.lang.String transformerName,
                      long[] ids)

browseETV

public void browseETV(java.lang.String transformerName,
                      long[] ids,
                      long[] selectedIds)

browseETV

public void browseETV(java.lang.String transformerName,
                      long[] ids,
                      java.lang.String param)

browseETV

public void browseETV(java.lang.String transformerName,
                      long[] ids,
                      long[] selectedIds,
                      java.lang.String param)

browseETV

protected void browseETV(java.lang.String transformerName,
                         Node[] nodes)

browseETV

protected void browseETV(java.lang.String transformerName,
                         Node[] nodes,
                         Node[] selectedNodes)

browseETV

protected void browseETV(java.lang.String transformerName,
                         Node[] nodes,
                         java.lang.String param)

browseETV

protected void browseETV(java.lang.String transformerName,
                         Node[] nodes,
                         Node[] selectedNodes,
                         java.lang.String param)

browseETV

protected void browseETV(java.lang.String transformerName,
                         Node[] nodes,
                         Node[] selectedNodes,
                         java.lang.String param,
                         java.lang.String subdirName)

transformETV

protected java.net.URL transformETV(java.lang.String transformerName,
                                    Node[] nodes,
                                    Node[] selectedNodes,
                                    java.lang.String param)

transformETV

protected java.net.URL transformETV(java.lang.String transformerName,
                                    Node[] nodes,
                                    Node[] selectedNodes,
                                    java.lang.String param,
                                    java.lang.String subdirName)

listETVs

public java.lang.String[] listETVs()

getTransparentGifURL

public java.lang.String getTransparentGifURL()

setUser

public void setUser(JEANUser user)

saveUser

public void saveUser(JEANUser user)

getUser

public static JEANUser getUser()
gets the current user


getUserName

public static java.lang.String getUserName()
gets the current user


getUserFullName

public static java.lang.String getUserFullName()
gets the current user


loadUser

protected JEANUser loadUser(java.lang.String userName)

getUsers

public JEANUser[] getUsers()

getUserNames

public java.lang.String[] getUserNames()

getUser

public JEANUser getUser(java.lang.String userName)

setETVGetAttributeName

public void setETVGetAttributeName(java.lang.String transformerName,
                                   java.lang.String name)

setETVGetAttributeName

public void setETVGetAttributeName(java.lang.String transformerName,
                                   java.lang.String name,
                                   java.lang.String msg)

setETVComparator

public void setETVComparator(java.lang.String transformerName,
                             java.util.Comparator comparator)

setTimeGranularity

public void setTimeGranularity(int timeGranularity)

getTimeGranularity

public int getTimeGranularity()

isGranularitySet

public boolean isGranularitySet()

isCategory

public boolean isCategory(long id)

isGroup

public boolean isGroup(long id)

isItem

public boolean isItem(long id)

getEnumerationValues

public java.lang.String[] getEnumerationValues(long id,
                                               java.lang.String attributeName)

getEnumerationValues

public java.lang.String[] getEnumerationValues(NodeType type,
                                               java.lang.String attributeName)

getEnumerationValues

protected java.lang.String[] getEnumerationValues(Node node,
                                                  java.lang.String attributeName)

addJEANMenuEnabler

public void addJEANMenuEnabler(java.lang.String name,
                               JEANMenuEnabler menuEnabler)
add a new Menu Enabler for a named Menu Item, whenever the selection in a catalog or node list changes any menu enablers will be checked to see if the corresponding menu item should be enabled or not

Parameters:
name - the text of the menu item
menuEnabler - a JEANMenuEnabler

getPageNames

public java.lang.String[] getPageNames(NodeType type)

hasPage

public boolean hasPage(long node,
                       java.lang.String pageName)

hasPage

protected boolean hasPage(Node node,
                          java.lang.String pageName)

hasPage

public boolean hasPage(NodeType type,
                       java.lang.String pageName)

hasXrefPage

public boolean hasXrefPage(long node)

setName

protected void setName(NodeType type,
                       java.lang.String name)

addParentChildDataTransfer

public void addParentChildDataTransfer(NodeType type,
                                       java.lang.String parentAttributeName,
                                       java.lang.String childAttributeName)

isAdmin

public boolean isAdmin()

addETVListener

public void addETVListener(java.lang.String etvName,
                           ETVListener listener)

setETVDestinationName

public void setETVDestinationName(java.lang.String etvDestinationName)

getETVDestinationName

public java.lang.String getETVDestinationName()

firePreETVListeners

protected ETVWrapper firePreETVListeners(java.lang.String etvName,
                                         Node[] nodes)

firePostETVListeners

protected void firePostETVListeners(java.lang.String etvName,
                                    Node[] nodes)

getExternalMethod

public java.lang.reflect.Method getExternalMethod(java.lang.String name)

getRunnableAttributeNamesAndCommands

protected NamedValue[] getRunnableAttributeNamesAndCommands(NodeType type)

setNodeEditorOption

protected void setNodeEditorOption(java.lang.String name,
                                   java.lang.Object obj)

auditETV

public void auditETV(java.lang.String transformerName,
                     java.lang.String auditAttribute)
save a copy of the XML output from an ETV transformation. The copy will be saved in the database using the key applications/applicationName/transformerName + 's'/transformerName + '-' + value where the final value is either the value of the attribute named here, on the nofde or the first of the node set being transformed, or the current system time in millseconds if auditAttribute is null, or nothing if auditAttribute is an empty string

Parameters:
transformerName - the name of the transformer that is to be audited
auditAttribute - the name of the attribute whose value is to be appended to the saved XML document when a transformation is saved.

getDateFormatter

public java.text.DateFormat getDateFormatter()

getDateTimeFormatter

public java.text.DateFormat getDateTimeFormatter()

viewNodes

public void viewNodes(long[] nodes)

viewNodes

public void viewNodes(Node[] nodes)

setSelectedNodes

public void setSelectedNodes(JEANPath[] paths)

setSelectedNodes

public void setSelectedNodes(JEANPath path)

setSelectedNodes

public void setSelectedNodes(long[] nodes)

setSelectedNodes

public void setSelectedNodes(Node[] nodes)

setSelectedNodes

public void setSelectedNodes(NodeSelector selector,
                             Node[] nodes)

setSelectedNodes

public void setSelectedNodes(NodeSelector selector,
                             JEANPath[] paths)

setSelectedNode

public void setSelectedNode(java.lang.String absolutePath)

setSelectedNode

public void setSelectedNode(long node)

setSelectedNode

protected void setSelectedNode(Node node)

resetCatalogSelection

public void resetCatalogSelection()

saveCurrentSelectedNodes

public void saveCurrentSelectedNodes()

restoreCurrentSelectedNodes

public void restoreCurrentSelectedNodes()

expandNodes

public void expandNodes(long[] nodes)

expandNodes

public void expandNodes(Node[] nodes)

nodeExists

public boolean nodeExists(long node)

copyNode

public long copyNode(long node,
                     long parent)
make a copy of a given node and insert it as a child of the given parent. The new node has the same type, name and attribute values but no links apart from those back to its new parent.

Parameters:
node - the node to copy
parent - the parent for the copy node
Returns:
the newly created copy node

addTick

protected boolean addTick(java.lang.String name,
                          NodeType type)
add a tick to the tick page. If the tick page does not exist it is created

Parameters:
name - the name of the tick
type - the node type on which to add the tick
Returns:
true if a tick attribute was successfully added, false if not.

tick

public void tick(long node,
                 java.lang.String name)
tick a tick value, i.e. set the value of a tick page attribute to true

Parameters:
name - the name of the tick
type - the node type on which to find the tick page

tick

protected void tick(Node node,
                    java.lang.String name)
tick a tick value, i.e. set the value of a tick page attribute to true

Parameters:
name - the name of the tick
type - the node type on which to find the tick page

untick

public void untick(long node,
                   java.lang.String name)
untick a tick value, i.e. set the value of a tick page attribute to false

Parameters:
name - the name of the tick
type - the node type on which to find the tick page

untick

protected void untick(Node node,
                      java.lang.String name)
untick a tick value, i.e. set the value of a tick page attribute to false

Parameters:
name - the name of the tick
type - the node type on which to find the tick page

isTicked

public java.lang.Boolean isTicked(long node,
                                  java.lang.String name)
check if a tick value is ticked or not

Parameters:
name - the name of the tick
type - the node type on which to find the tick page
Returns:
the Boolean value of the tick attribute, null if their is no such attribute

isTicked

protected java.lang.Boolean isTicked(Node node,
                                     java.lang.String name)
check if a tick value is ticked or not

Parameters:
name - the name of the tick
type - the node type on which to find the tick page
Returns:
the Boolean value of the tick attribute, null if their is no such attribute

toggleTick

public void toggleTick(long node,
                       java.lang.String name)
toggle a tick value, if true it becomes false and vice versa

Parameters:
name - the name of the tick
type - the node type on which to find the tick page

toggleTick

protected void toggleTick(Node node,
                          java.lang.String name)
toggle a tick value, if true it becomes false and vice versa

Parameters:
name - the name of the tick
type - the node type on which to find the tick page

getTickNames

protected java.lang.String[] getTickNames(NodeType type)
list the names of all ticks for a node type

Parameters:
type - the node type on which to find the tick page
Returns:
an array of all tick attribute names for the given type, null if there is no tick page

hasTickPage

public boolean hasTickPage(NodeType type)

hasXrefPage

public boolean hasXrefPage(NodeType type)

getTickNamedValues

protected NamedValue[] getTickNamedValues(NodeType type)
list the names of all ticks for a node type

Parameters:
type - the node type on which to find the tick page
Returns:
an array of all tick attribute names for the given type, null if there is no tick page

addTickPage

public void addTickPage(NodeType type)

addTickPage

public void addTickPage(NodeType type,
                        java.lang.String pageName)

addXrefPage

public void addXrefPage(NodeType type)

addPlusPage

public void addPlusPage(NodeType type)

addNotesPage

public void addNotesPage(NodeType type)

addUserPage

public void addUserPage(NodeType type,
                        AttributeSet aset)

addXrefPage

public void addXrefPage(NodeType type,
                        java.lang.String pageName)

addPlusPage

public void addPlusPage(NodeType type,
                        java.lang.String pageName)

addNotesPage

public void addNotesPage(NodeType type,
                         java.lang.String pageName)

addUserPage

public void addUserPage(NodeType type,
                        AttributeSet aset,
                        java.lang.String pageName)

removePage

public void removePage(NodeType nodeType,
                       java.lang.String pageName)

removePage

protected void removePage(Node node,
                          java.lang.String pageName)

removePage

public void removePage(long node,
                       java.lang.String pageName)

addAttributesToSet

protected void addAttributesToSet(Node node,
                                  java.lang.String setAttributeName,
                                  NamedTypedValue[] atts,
                                  boolean editable)
adds or edits an attribute in a set.


addAttributesToSet

public void addAttributesToSet(long node,
                               java.lang.String setAttributeName,
                               NamedTypedValue[] atts,
                               boolean editable)

removeAttributeFromSet

protected void removeAttributeFromSet(Node node,
                                      java.lang.String setAttributeName,
                                      java.lang.String attributeName)

removeAttributeFromSet

public void removeAttributeFromSet(long node,
                                   java.lang.String setAttributeName,
                                   java.lang.String attributeName)

removeAttributeFromSet

public void removeAttributeFromSet(NodeType type,
                                   java.lang.String setAttributeName,
                                   java.lang.String attributeName)

getSetAttributeSize

public int getSetAttributeSize(long node,
                               java.lang.String setAttributeName)

getSetAttributeContents

public NamedTypedValue[] getSetAttributeContents(long node,
                                                 java.lang.String setAttributeName)

getSetAttributeContents

protected NamedTypedValue[] getSetAttributeContents(Node node,
                                                    java.lang.String setAttributeName)

getSetAttributeContentNames

public java.lang.String[] getSetAttributeContentNames(long node,
                                                      java.lang.String setAttributeName)

getSetAttributeContentNames

protected java.lang.String[] getSetAttributeContentNames(Node node,
                                                         java.lang.String setAttributeName)

removeXref

public void removeXref(long node,
                       java.lang.String xrefName)

removeXref

protected void removeXref(Node node,
                          java.lang.String xrefName)

getXrefNames

public java.lang.String[] getXrefNames(long node)

getXrefNames

protected java.lang.String[] getXrefNames(Node node)

getSavedXrefNames

public java.lang.String[] getSavedXrefNames()

getSetAttributeSize

public int getSetAttributeSize(Node node,
                               java.lang.String setAttributeName)
Returns:
-3 if node is not a valid node, -2 if there is no such attribute with the given name -1 if there is an attribute with that name but it is a set, otherwise the size of the set.

setFileApplication

public void setFileApplication(NodeType type,
                               java.lang.String fileAttributeName,
                               java.lang.String appname,
                               Application app)

saveSearch

public void saveSearch(Criterion criterion)
save a search

Parameters:
criterion - the Criterion of the search to be saved

loadSearch

public Criterion loadSearch(java.lang.String name)

listSavedSearches

public java.lang.String[] listSavedSearches()

sortAttributes

public void sortAttributes(NodeType type,
                           java.lang.String pageName,
                           java.lang.String[] attributeNames)

sortPages

public void sortPages(NodeType type,
                      java.lang.String[] pageNames)

setEnumerationValues

public void setEnumerationValues(NodeType nodeType,
                                 java.lang.String attributeName,
                                 java.lang.String[] newEnumerationValues)

checkSearches

protected void checkSearches(Node node)

getNode

protected Node getNode(long id)
get a node given its id

Returns:
the node with the given id or null if no such node exists

isEvery

public boolean isEvery(long id)

isEvery

protected boolean isEvery(Node node)

getNodeTemplate

protected Node getNodeTemplate(NodeType type)

containsAnEvery

protected boolean containsAnEvery(Node[] nodes)

containsAnIndex

protected boolean containsAnIndex(Node[] nodes)

deleteNode

public boolean deleteNode(long id,
                          boolean confirm)

deleteNodes

public boolean[] deleteNodes(long[] id,
                             boolean confirm)

deleteNode

protected boolean deleteNode(Node node,
                             boolean confirm)

deleteNodes

protected boolean[] deleteNodes(Node[] nodes,
                                boolean confirm)

deleteRecursive

public long[] deleteRecursive(long parent,
                              long node)

deleteRecursive

protected Node[] deleteRecursive(Node parent,
                                 Node node)

getParentApplication

public java.lang.String getParentApplication()

getJEANDirectory

public java.io.File getJEANDirectory()

getWebfilesDirectory

public java.io.File getWebfilesDirectory()

getSystemlibDirectory

public java.io.File getSystemlibDirectory()

getListsDirectory

public java.io.File getListsDirectory()

getApplicationWebfilesDirectory

public java.io.File getApplicationWebfilesDirectory()

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

sameJEANDirectory

public boolean sameJEANDirectory(JEANAPI api)

sameApplication

public boolean sameApplication(JEANAPI api)

setConfirmUpdates

public void setConfirmUpdates(boolean confirmUpdates)

getConfirmUpdates

public boolean getConfirmUpdates()

setDebugMode

public void setDebugMode(boolean debugMode)

isDebugMode

public boolean isDebugMode()
check if this application is running in debug mode

Returns:
true if this application is running in debug mode, false otherwise

getReferencesFrom

public java.lang.String[] getReferencesFrom()
get a list of applications that reference this application.

Returns:
a list of applications that reference this application, null if there are none

getReferencesTo

public java.lang.String[] getReferencesTo()
get a list of applications that are referenced by this application.

Returns:
a list of applications that are referenced by this application, null if there are none

addReferenceTo

public void addReferenceTo(java.lang.String applicationName)

addReferenceFrom

public void addReferenceFrom(java.lang.String applicationName)

getAbsolutePath

public java.lang.String getAbsolutePath(long nodeID)

getAbsolutePath

protected java.lang.String getAbsolutePath(Node node)

canBeClosed

public boolean canBeClosed()
check if the application can be closed. It can be closed if there are no applications loaded that refer to it and it is not the last loaded application.

Returns:
true if the application can be closed, false otherwise.

getRecycledNodes

public long[] getRecycledNodes(NodeType type)

getRecycledActualNodes

protected Node[] getRecycledActualNodes(NodeType type)

getMenuComponents

protected JEANMenuComponent[] getMenuComponents()

getRunOnDoubleClick

public java.lang.String[] getRunOnDoubleClick(NodeType type)

setRunOnDoubleClick

public void setRunOnDoubleClick(NodeType type,
                                java.lang.String attributeName)

addDoubleClickListener

public void addDoubleClickListener(CatalogDoubleClickListener listener)

removeDoubleClickListener

public void removeDoubleClickListener(CatalogDoubleClickListener listener)

setHistoryAttributeNameAndNode

public void setHistoryAttributeNameAndNode(java.lang.String runnableAttributeName,
                                           NodeType type,
                                           java.lang.String pathname,
                                           int numberAllowed)

setHistoryAttributeNameAndNode

public void setHistoryAttributeNameAndNode(java.lang.String runnableAttributeName,
                                           NodeType type,
                                           long nodeid,
                                           int numberAllowed)

noteRunning

public void noteRunning(java.lang.String runnableAttributeName,
                        NodeType type,
                        long nodeid)

pushHistoryNode

public void pushHistoryNode(long id)

popHistoryNode

public long popHistoryNode()

peekHistoryNode

public long peekHistoryNode()

historySize

public int historySize()

setPrompt

public void setPrompt(long node,
                      java.lang.String attributeName,
                      java.lang.String prompt)

setPrompts

public void setPrompts(long node,
                       NamedValue[] prompt)

setPrompt

protected void setPrompt(Node node,
                         java.lang.String attributeName,
                         java.lang.String prompt)

setPrompts

protected void setPrompts(Node template,
                          Node node,
                          NamedValue[] prompt)

setAllPrompts

public void setAllPrompts(NodeType type,
                          NamedValue[] prompt)

getPrompts

public NamedValue[] getPrompts(NodeType type)

resetAllPrompts

public void resetAllPrompts(NodeType type)

selectPrompts

public NamedValue[] selectPrompts(NodeType type)

setSetAttributeDisplayType

public void setSetAttributeDisplayType(long handle,
                                       java.lang.String setAttributeName,
                                       SetDisplayType type)

setSetAttributeDisplayType

protected void setSetAttributeDisplayType(Node node,
                                          java.lang.String setAttributeName,
                                          SetDisplayType type)

setSetAttributeDisplayType

public void setSetAttributeDisplayType(NodeType ntype,
                                       java.lang.String setAttributeName,
                                       SetDisplayType stype)

getSetAttributeDisplayType

public SetDisplayType getSetAttributeDisplayType(long handle,
                                                 java.lang.String setAttributeName)

reindexNode

public void reindexNode(long id)

reindexNode

protected void reindexNode(Node node)

peekAtNextID

protected long peekAtNextID()

getSearchListComparator

public java.util.Comparator getSearchListComparator()

setSearchListComparator

public void setSearchListComparator(java.util.Comparator searchListComparator)

sort

protected void sort(Node[] nodes,
                    java.lang.String attributeName,
                    java.util.Comparator attributeValueComparator)

sort

public void sort(long[] nodes,
                 java.lang.String attributeName,
                 java.util.Comparator attributeValueComparator)
          throws JEANInvalidHandleException
Throws:
JEANInvalidHandleException

splash

public void splash(java.io.File splashTextFile)

splash

public void splash()

setNoSplash

public void setNoSplash(boolean noSplash)

getNoSplash

public boolean getNoSplash()

setNewDistribution

public void setNewDistribution(boolean newDistribution)

isNewDistribution

public boolean isNewDistribution()

setApplicationFullName

public void setApplicationFullName(java.lang.String applicationFullName)

getApplicationFullName

public java.lang.String getApplicationFullName()

hasFileAttribute

public boolean hasFileAttribute(NodeType type)

repairReferencesFrom

protected void repairReferencesFrom()

renameNode

public void renameNode(long node,
                       java.lang.String newName)

renameNode

protected void renameNode(Node node,
                          java.lang.String newName)

setImageRotateAttributeName

public void setImageRotateAttributeName(java.lang.String imageRotateAttributeName)

getImageRotateAttributeName

public java.lang.String getImageRotateAttributeName()

inputDate

public java.lang.String inputDate(java.lang.String msg,
                                  java.lang.Object dateAsStringO)

addXref

public void addXref(long node,
                    java.lang.String name,
                    java.lang.String targetApplicationName,
                    long targetNode,
                    NodeType targetNodeType,
                    java.lang.String targetAttributeName)

addXref

protected void addXref(Node node,
                       java.lang.String name,
                       JEANAttributeReference attref)

addXrefs

protected void addXrefs(Node node,
                        NamedValue[] xrefs)

getXrefs

protected NamedValue[] getXrefs(Node node)

copyXrefs

public void copyXrefs(long from,
                      long to)

copyXrefs

protected void copyXrefs(Node from,
                         Node to)

addNote

public void addNote(long node,
                    java.lang.String[] text)

addNote

protected void addNote(Node node,
                       java.lang.String[] text)

getNote

public java.lang.String[] getNote(long node)

getNote

protected java.lang.String[] getNote(Node node)

createIndex

public void createIndex(long category,
                        NodeType type,
                        java.lang.String attributeName,
                        Indexer indexer)

setNodeDescriptionMethod

public void setNodeDescriptionMethod(java.lang.reflect.Method nodeDescriptionMethod)

setNodeDescription

public void setNodeDescription(long node,
                               java.lang.String description)

setNodeDescription

protected void setNodeDescription(Node node,
                                  java.lang.String description)

getNodeDescription

protected java.lang.String getNodeDescription(Node node)

getNodeDescription1

public java.lang.String getNodeDescription1(long id)

setNodeTitle

public void setNodeTitle(long node,
                         java.lang.String title)

setNodeTitle

protected void setNodeTitle(Node node,
                            java.lang.String title)

getNodeTitle

protected java.lang.String getNodeTitle(Node node)

getNodeTitle

public java.lang.String getNodeTitle(long id)

getActualNodeTitle

protected java.lang.String getActualNodeTitle(Node node)

getActualNodeTitle

public java.lang.String getActualNodeTitle(long id)

getNodeDescriptionFromMethod

public java.lang.String getNodeDescriptionFromMethod(long id)
if an application has registered a nodeDescriptionMethod then it will be called to provide a description for the given type

Parameters:
type - a node type
Returns:
a description obtained by calling the nodeDescriptionMethod or null

saveXref

public void saveXref(java.lang.String xrefName,
                     XrefSpecification spec)

loadXref

public XrefSpecification loadXref(java.lang.String xrefName)

deleteSavedXref

protected void deleteSavedXref(java.lang.String name)

deleteSavedXrefs

protected void deleteSavedXrefs(java.lang.String[] names)

setIncludeYears

public void setIncludeYears(long node,
                            java.lang.String dateAttributeName,
                            boolean includeYears)

isAutoBackup

public boolean isAutoBackup()

getDefaultFTPDetails

public FTPDetails getDefaultFTPDetails()

getSavedFTPDetails

public FTPDetails getSavedFTPDetails()

getFTPDetails

public FTPDetails getFTPDetails()

ftpFile

public boolean ftpFile(java.io.File distributionFile,
                       java.lang.String[] destinationPath)

ftpFile

public boolean ftpFile(java.io.File distributionFile,
                       java.lang.String[] destinationPath,
                       boolean ask)

ftpFile

public boolean ftpFile(java.io.File distributionFile,
                       boolean binary,
                       java.lang.String[] destinationPath)

ftpFile

public boolean ftpFile(java.io.File distributionFile,
                       boolean binary,
                       java.lang.String[] destinationPath,
                       boolean ask)

ftpFile

public boolean ftpFile(java.io.File[] distributionFile,
                       boolean binary,
                       java.lang.String[] destinationPath,
                       boolean ask)

setCurrentSelectionPath

protected void setCurrentSelectionPath(Node[] currentSelectionPath)

getCurrentSelectionPath

protected java.lang.Object[] getCurrentSelectionPath()

getSelectionPath

public long[] getSelectionPath()

getSelectedNodes

public long[] getSelectedNodes()

getSelectedNode

public long getSelectedNode()

getCurrentSelectedNodePath

public NamedTyped[] getCurrentSelectedNodePath()

isSelected

public boolean isSelected(long node)

isOnlySelected

public boolean isOnlySelected(long node)

convertRelativeToAbsolutePath

public java.lang.String convertRelativeToAbsolutePath(java.lang.String relativePath)

setTicker

public void setTicker(Tickable tickable)

removeTicker

public void removeTicker(Tickable tickable)

setDeleteAllowed

public void setDeleteAllowed(boolean deleteAllowed)

isDeleteAllowed

public boolean isDeleteAllowed()

editPage

public void editPage(long nodeID,
                     java.lang.String pageName)

editAttribute

public void editAttribute(long nodeID,
                          java.lang.String attributeName)

editAttribute

protected void editAttribute(Node node,
                             java.lang.String attributeName)

setAttributeDescription

public void setAttributeDescription(long node,
                                    java.lang.String attributeName,
                                    java.lang.String description)

setAttributeDescription

protected void setAttributeDescription(Node node,
                                       java.lang.String attributeName,
                                       java.lang.String description)

setAttributeDescription

public void setAttributeDescription(NodeType type,
                                    java.lang.String attributeName,
                                    java.lang.String description)

setAttributeDescription

public void setAttributeDescription(long node,
                                    NamedValue[] nameAndDescription)

setAttributeDescription

protected void setAttributeDescription(Node node,
                                       NamedValue[] nameAndDescription)

setAttributeDescription

public void setAttributeDescription(NodeType type,
                                    NamedValue[] nameAndDescription)

setDisplayColor

public void setDisplayColor(long node,
                            java.awt.Color displayColor)

setDisplayColor

public void setDisplayColor(Node node,
                            java.awt.Color displayColor)

getEnumerationAttributeColors

public java.awt.Color[] getEnumerationAttributeColors(NodeType type,
                                                      java.lang.String enumerationAttributeName,
                                                      java.lang.String[] enumerationAttributeValues)

setEnumerationAttributeColor

public void setEnumerationAttributeColor(NodeType type,
                                         java.lang.String enumerationAttributeName,
                                         java.lang.String enumerationAttributeValue,
                                         java.awt.Color color)

getEnumerationAttributeColor

public java.awt.Color getEnumerationAttributeColor(NodeType type,
                                                   java.lang.String enumerationAttributeName,
                                                   java.lang.String enumerationAttributeValue)

setEnumerationColorAttribute

public void setEnumerationColorAttribute(NodeType type,
                                         java.lang.String enumerationAttributeName)

getEnumerationColorAttribute

public java.lang.String getEnumerationColorAttribute(NodeType type)

getEnumerationAttributeColor

public java.awt.Color getEnumerationAttributeColor(NodeType type,
                                                   java.lang.String enumerationAttributeValue)

setCatalogPaneForeground

public void setCatalogPaneForeground(java.awt.Color color)

getCatalogPaneForeground

public java.awt.Color getCatalogPaneForeground()

addDatedInformationProvider

public void addDatedInformationProvider(DatedInformationProvider datedInformationProvider)

expandNodesInCatalog

public void expandNodesInCatalog(long[] nodes)

getDatedInformationProviders

public DatedInformationProvider[] getDatedInformationProviders()

addMediaPlayer

public void addMediaPlayer(java.lang.String type,
                           Application application)

getMediaPlayer

public Application getMediaPlayer(java.lang.String type)

getMediaPlayerTypes

public java.lang.String[] getMediaPlayerTypes()

resort

public void resort(long node)

resort

protected void resort(Node node)

isAncestor

public boolean isAncestor(long ancestor,
                          long descendant)

isAncestor

protected boolean isAncestor(Node ancestor,
                             Node descendant)

repairCatalog

protected void repairCatalog()

getTreeModelListeners

public java.util.Vector getTreeModelListeners()

hasSystemTray

public boolean hasSystemTray()

isCurrent

public boolean isCurrent()

print

public void print(java.lang.String[] text)

setUseBase64

public void setUseBase64(boolean useBase64)

isUseBase64

public boolean isUseBase64()

expandRoot

public void expandRoot()

collapseRoot

public void collapseRoot()

setDragAndDropShouldMove

public void setDragAndDropShouldMove(boolean dndmove)
If this is set to true then a drag and drop on the catalog will unlink from the source as well as linking to the target


isDragAndDropShouldMove

public boolean isDragAndDropShouldMove()
If this is set to true then a drag and drop on the catalog will unlink from the source as well as linking to the target


setDragAndDropShouldAsk

public void setDragAndDropShouldAsk(boolean dndask)
If this is set to true then a drag and drop on the catalog will ask whether to unlink from the source as well as linking to the target


isDragAndDropShouldAsk

public boolean isDragAndDropShouldAsk()
If this is set to true then a drag and drop on the catalog will ask whether to unlink from the source as well as linking to the target


getImageIcon

public javax.swing.ImageIcon getImageIcon(NodeType type,
                                          long id)

loadImageIcon

public javax.swing.ImageIcon loadImageIcon(NodeType type,
                                           java.lang.String name)

setIconSupplier

public void setIconSupplier(NodeType type,
                            IconSupplier is)

getTreePaths

public javax.swing.tree.TreePath[] getTreePaths(long node)

getTreePaths

protected javax.swing.tree.TreePath[] getTreePaths(Node node)

getVisibleTreePaths

public javax.swing.tree.TreePath[] getVisibleTreePaths(long node)

getVisibleTreePaths

protected javax.swing.tree.TreePath[] getVisibleTreePaths(Node node)

getNumberOfPathsToNode

public int getNumberOfPathsToNode(long node)

getPathToNode

public java.lang.String[] getPathToNode(long node)

getPathToNode

public java.lang.String[] getPathToNode(long node,
                                        int index)

setStringAttributeProType

public void setStringAttributeProType(long node,
                                      java.lang.String stringAttributeName,
                                      AttributeType atype)
The proType of a String attribute means that the string value held is convertible into that type; its display will therefore be appropriate for the pro type, e.g. an AttributeType.COLOUR will be displayed in the colour rather than just a straight label with the rgb value


addLinkInformationProvider

public void addLinkInformationProvider(LinkInformationProvider linkInformationProvider)

getLinkInformationProvider

public LinkInformationProvider getLinkInformationProvider()

restoreCatalog

public void restoreCatalog()

setTrash

public void setTrash(NodeType type,
                     long trash)
set the trash node. If this is set and the last link to a node (apart from an every) is removed then the node will automatically be placed in this trash (container) node.


getTrash

public long getTrash(NodeType type)

setAll

public void setAll(long all)
set the all node, if this is set then all new nodes will automatically be added to it, and when the last non-every and non-all link is removed, the link to all will be removed as well.


getAll

public long getAll()

getAncestorCategories

public long[] getAncestorCategories(long nodeID)

getAncestorContainers

public long[] getAncestorContainers(long nodeID)

setAllInsideSetPromptsToSameAsName

public void setAllInsideSetPromptsToSameAsName(NodeType type)