|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.channels.groupsmanager.Utility
@Deprecated public class Utility
A class holding utility functions used by the Groups Manager channel.
| Field Summary |
|---|
| Fields inherited from interface org.jasig.portal.channels.groupsmanager.GroupsManagerConstants |
|---|
ADD_REMOVE_PERMISSION, ASSIGN_PERMISSION, BASE_PACKAGE, BROWSE_MODE, COMMANDS_PACKAGE, CREATE_PERMISSION, DELETE_PERMISSION, EDIT_MODE, ENTITY_CLASSNAME, ENTITY_TAGNAME, GROUP_CLASSNAME, GROUP_TAGNAME, GROUPS_PACKAGE, MEMBERS_ONLY_MODE, OWNER, PROPERTIES_TAGNAME, ROOT_GROUP_DESCRIPTION, ROOT_GROUP_TITLE, SECURITY_PACKAGE, SELECT_MODE, SELECT_PERMISSION, UPDATE_PERMISSION, VIEW_PERMISSION, WRAPPERS_PACKAGE |
| Constructor Summary | |
|---|---|
Utility()
Deprecated. Creates new Utility |
|
| Method Summary | |
|---|---|
static boolean |
areEqual(String one,
String two)
Deprecated. Compares 2 strings to determine if they are functionally the same. |
static boolean |
hasValue(Object o)
Deprecated. Determines if an object has a value other than null or blank. |
static boolean |
hasValue(Object o,
String test)
Deprecated. Determines if an object has a value other than null or blank and is equal to the test parameter. |
static void |
logMessage(String msgTypeStr,
String msg)
Deprecated. This method will prints to the log when an exception is not passed. |
static void |
logMessage(String msgTypeStr,
String msg,
Throwable th)
Deprecated. An attempt to extract all calls to logger to expedite assumed future upgrades. |
static boolean |
notEmpty(String aString)
Deprecated. Answers if testString has a value other that null and "". |
static String |
parseStringDelimitedBy(String fromDelim,
String source,
String toDelim)
Deprecated. Extracts the value of a key sandwiched by delimiters from a string. |
static void |
printDoc(Document aDoc,
String aMessage)
Deprecated. Prints a Document. |
static void |
printElement(Element anElem,
String aMessage)
Deprecated. Prints an Element. |
static IGroupMember |
retrieveGroupMemberForKeyAndType(String key,
String type)
Deprecated. Retrieves a Group Member for the provided key and of the provided type. |
static String |
toString(Document aDoc)
Deprecated. Represents a document as a string. |
static String |
translateKeytoID(String grpKey,
CGroupsManagerUnrestrictedSessionData sd)
Deprecated. given a group key, return an xml group id that matches it in the provided document |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Utility()
| Method Detail |
|---|
public static boolean areEqual(String one,
String two)
one - Stringtwo - String
boolean objectpublic static boolean notEmpty(String aString)
aString - String
boolean object
public static void logMessage(String msgTypeStr,
String msg)
msgTypeStr - Stringmsg - String
public static void logMessage(String msgTypeStr,
String msg,
Throwable th)
msgTypeStr - Stringmsg - Stringth - Throwable
public static String parseStringDelimitedBy(String fromDelim,
String source,
String toDelim)
fromDelim - source - toDelim -
String object
public static void printDoc(Document aDoc,
String aMessage)
aDoc - aMessage -
public static void printElement(Element anElem,
String aMessage)
anElem - aMessage -
public static IGroupMember retrieveGroupMemberForKeyAndType(String key,
String type)
key - type -
IGroupMember objectpublic static String toString(Document aDoc)
aDoc -
public static String translateKeytoID(String grpKey,
CGroupsManagerUnrestrictedSessionData sd)
grpKey - Stringsd - CGroupsManagerUnrestrictedSessionData
String objectpublic static boolean hasValue(Object o)
o - Object
public static boolean hasValue(Object o,
String test)
o - Objecttest - String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||