com.solidstategroup.user
Class WebUserTypes
java.lang.Object
com.solidstategroup.user.WebUserTypes
public class WebUserTypes
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebUserTypes
public WebUserTypes()
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)