Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
RootFolder Class Reference
Inheritance diagram for RootFolder:
Asset MatrixConstants

Public Member Functions

 RootFolder (Element assetElement)
 
MatrixTreeNode processAssetXML (Element assetElement, MatrixTreeNode parent, int index)
 
MatrixTreeNode getRootNode ()
 
- Public Member Functions inherited from Asset
 Asset (String id)
 
 Asset (Element assetElement, MatrixTreeNode parent, int index)
 
void setTotalKidsLoaded (int kidsLoaded)
 
int getTotalKidsLoaded ()
 
String toString ()
 
String getId ()
 
String getName (String linkid)
 
boolean setName (String name, String linkid)
 
void addNode (MatrixTreeNode node, String linkid)
 
MatrixTreeNode getNode (String linkid)
 
String[] getLinkIds ()
 
Iterator getTreeNodes ()
 
AssetType getType ()
 
int getStatus ()
 
String getURL ()
 
String getWebPath ()
 
boolean isAccessible ()
 
int getNumKids ()
 
void update (Element assetElement)
 
String processAssetXML (Element assetElement)
 
MatrixTreeNode processAssetXML (Element assetElement, MatrixTreeNode parent, int index)
 
boolean childrenLoaded ()
 
void setChildrenLoaded (boolean loaded)
 
MatrixTreeNode[] getNodesWithLinkid (String linkid)
 
void propagateNode (Asset childAsset, String linkid, int linkType, int index)
 
void propagateChildren (MatrixTreeNode node)
 
Color getStatusColour ()
 

Additional Inherited Members

- Static Public Attributes inherited from MatrixConstants
static final int ARCHIVED = 1
 
static final int UNDER_CONSTRUCTION = 2
 
static final int PENDING_APPROVAL = 4
 
static final int APPROVED = 8
 
static final int LIVE = 16
 
static final int LIVE_APPROVAL = 32
 
static final int EDITING = 64
 
static final int EDITING_APPROVAL = 128
 
static final int EDITING_APPROVED = 256
 
static final Color ARCHIVED_COLOUR = new Color(0xC2B0A0)
 
static final Color UNDER_CONSTRUCTION_COLOUR = new Color(0xAACCDD)
 
static final Color PENDING_APPROVAL_COLOUR = new Color(0xDCD2E6)
 
static final Color APPROVED_COLOUR = new Color(0xF4D425)
 
static final Color LIVE_COLOUR = new Color(0xDBF18A)
 
static final Color LIVE_APPROVAL_COLOUR = new Color(0x50D000)
 
static final Color EDITING_COLOUR = new Color(0xF25C86)
 
static final Color EDITING_APPROVAL_COLOUR = new Color(0xCC7CC7)
 
static final Color EDITING_APPROVED_COLOUR = new Color(0xFF9A00)
 
static final Color UNKNOWN_STATUS_COLOUR = Color.white
 
static final Font PLAIN_FONT_10 = new Font("plain_font_10", Font.PLAIN, 10)
 
static final Font PLAIN_FONT_11 = new Font("plain_font_11", Font.PLAIN, 11)
 
static final Font PLAIN_FONT_12 = new Font("plain_font_12", Font.PLAIN, 12)
 
static final int LINK_TYPE_1 = 1
 
static final int LINK_TYPE_2 = 2
 
static final int LINK_TYPE_3 = 3
 
- Protected Member Functions inherited from Asset
String processAssetXML (Element assetElement, boolean create)
 
MatrixTreeNode createNode (String linkid, int linkType, MatrixTreeNode parent, int index)
 
MatrixTreeNode createNode (String linkid, int linkType, MatrixTreeNode parent)
 
int getLinkType (Element assetElement)
 
- Protected Attributes inherited from Asset
final String id
 
String initName = ""
 
Map nodes = null
 

Detailed Description

Definition at line 21 of file RootFolder.java.

Member Function Documentation

MatrixTreeNode processAssetXML ( Element  assetElement,
MatrixTreeNode  parent,
int  index 
)
inline

Processes the xml for the asset, and returns the MatrixTreeNode with the corresponding linkid from the xml

Definition at line 36 of file RootFolder.java.


The documentation for this class was generated from the following file: