com.solidstategroup.user
Class WebUserTypes

java.lang.Object
  extended by com.solidstategroup.user.WebUserTypes

public class WebUserTypes
extends java.lang.Object


Constructor Summary
WebUserTypes()
           
 
Method Summary
static boolean checkCircularReference(WebUserType thisWebUserType, int parentWebUserTypeId)
           
 boolean delete(int uniqueId)
           
static java.util.Vector getAllChildren()
           
static java.util.Vector getAllChildren(int userTypeId)
           
static java.util.Vector getAllChildren(java.lang.String userTypeDescription)
           
static java.util.Vector getAllDescendants(int userTypeId)
           
static java.util.Vector getAllWebUserTypes()
           
static int getDepth(int userTypeId)
           
 java.lang.String getDescription()
           
static WebUserType getParentArticleType(int childArticleTypeId)
           
static java.util.Vector getPathToRoot(int userTypeId)
           
static WebUserType getUserType(int thisWebUserTypeId)
           
static WebUserType getUserType(java.lang.String description)
           
static javax.swing.tree.DefaultMutableTreeNode getUserTypeNode(int userTypeId)
           
static javax.swing.tree.DefaultMutableTreeNode getUserTypeNode(java.lang.String description)
           
 java.util.Vector getWebUserTypes()
           
static void inheritCustomFields(WebUserType parent, WebUserType child)
           
 boolean isShowNewsLetterTypesOnly()
           
static void populateWebUserTypes()
           
static javax.swing.tree.DefaultMutableTreeNode searchTreeForUserType(int thisWebUserTypeId)
           
 void setDescription(java.lang.String description)
           
static void setPopulatedTree(boolean populatedTree)
           
 void setShowNewsLetterTypesOnly(boolean showNewsLetterTypesOnly)
           
 void setWebUserTypes(java.util.Vector webUserTypes)
           
 boolean userTypeExists(java.lang.String userTypeDescription)
           
 boolean userTypeIdExists(int userTypeId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebUserTypes

public WebUserTypes()
Method Detail

populateWebUserTypes

public static void populateWebUserTypes()

inheritCustomFields

public static void inheritCustomFields(WebUserType parent,
                                       WebUserType child)

searchTreeForUserType

public static javax.swing.tree.DefaultMutableTreeNode searchTreeForUserType(int thisWebUserTypeId)

getDepth

public static int getDepth(int userTypeId)

getAllChildren

public static java.util.Vector getAllChildren(java.lang.String userTypeDescription)

getAllChildren

public static java.util.Vector getAllChildren(int userTypeId)

getAllChildren

public static java.util.Vector getAllChildren()

getAllDescendants

public static java.util.Vector getAllDescendants(int userTypeId)

checkCircularReference

public static boolean checkCircularReference(WebUserType thisWebUserType,
                                             int parentWebUserTypeId)

getUserType

public static WebUserType getUserType(int thisWebUserTypeId)

getUserType

public static WebUserType getUserType(java.lang.String description)

getAllWebUserTypes

public static java.util.Vector getAllWebUserTypes()

getParentArticleType

public static WebUserType getParentArticleType(int childArticleTypeId)

getUserTypeNode

public static javax.swing.tree.DefaultMutableTreeNode getUserTypeNode(java.lang.String description)

getUserTypeNode

public static javax.swing.tree.DefaultMutableTreeNode getUserTypeNode(int userTypeId)

getPathToRoot

public static java.util.Vector getPathToRoot(int userTypeId)

delete

public boolean delete(int uniqueId)

getWebUserTypes

public java.util.Vector getWebUserTypes()

setWebUserTypes

public void setWebUserTypes(java.util.Vector webUserTypes)

userTypeExists

public boolean userTypeExists(java.lang.String userTypeDescription)

userTypeIdExists

public boolean userTypeIdExists(int userTypeId)

isShowNewsLetterTypesOnly

public boolean isShowNewsLetterTypesOnly()

setShowNewsLetterTypesOnly

public void setShowNewsLetterTypesOnly(boolean showNewsLetterTypesOnly)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

setPopulatedTree

public static void setPopulatedTree(boolean populatedTree)