com.infoengine.webject.grp
Class ConcatGroups

java.lang.Object
  extended bycom.infoengine.webject.Webject
      extended bycom.infoengine.webject.grp.GroupWebject
          extended bycom.infoengine.webject.grp.ConcatGroups

public class ConcatGroups
extends GroupWebject


Field Summary
(package private) static int ATTNOEXISTONE
           
(package private) static int ATTNOEXISTTWO
           
(package private) static int CONTINUE
           
(package private) static int INBOTH
           
(package private) static int INONE
           
(package private) static int INONEFIRSTKEY
           
(package private) static int INSECOND
           
protected static String RESOURCE
           
(package private) static String UNDEFINED_VAL
           
 
Constructor Summary
ConcatGroups()
           
 
Method Summary
protected static int compare(Element node1, Element node2, Vector by1, Vector by2, boolean numeric, boolean checkCase)
          Describe 'compare' method here.
protected static int compareCase(Object one, Object two)
          Describe 'compareCase' method here.
protected static int compareNoCase(Object one, Object two)
          Describe 'compareNoCase' method here.
protected static int compareNumeric(Object one, Object two)
          Describe 'compareNumeric' method here.
protected static Vector createCompareLists(String param, Webject webject)
          Describe 'createCompareLists' method here.
 Task invoke(Task task)
          Describe 'concatGroups' method here.
protected static int sortCompare(String key, String mid, boolean numeric, boolean checkCase)
          Describe 'sortCompare' method here.
protected static void sortGroup(Group group, int lo0, int hi0, String key, String undefined, boolean checkCase, boolean numeric, boolean ascending)
          Sorts the ieObjects in the obj_list
protected static void validateInputGroups(Task task, int count)
           
 
Methods inherited from class com.infoengine.webject.Webject
booleanParam
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ATTNOEXISTTWO

static final int ATTNOEXISTTWO
See Also:
Constant Field Values

ATTNOEXISTONE

static final int ATTNOEXISTONE
See Also:
Constant Field Values

CONTINUE

static final int CONTINUE
See Also:
Constant Field Values

INONE

static final int INONE
See Also:
Constant Field Values

INBOTH

static final int INBOTH
See Also:
Constant Field Values

INONEFIRSTKEY

static final int INONEFIRSTKEY
See Also:
Constant Field Values

INSECOND

static final int INSECOND
See Also:
Constant Field Values

UNDEFINED_VAL

static final String UNDEFINED_VAL
See Also:
Constant Field Values

RESOURCE

protected static final String RESOURCE
See Also:
Constant Field Values
Constructor Detail

ConcatGroups

public ConcatGroups()
Method Detail

invoke

public Task invoke(Task task)
            throws GroupWebjectException
Describe 'concatGroups' method here.

Specified by:
invoke in class Webject
Parameters:
task - a value of type 'Task'
Returns:
a value of type 'Task'
Throws:
GroupWebjectException

validateInputGroups

protected static void validateInputGroups(Task task,
                                          int count)
                                   throws GroupWebjectException
Throws:
GroupWebjectException

createCompareLists

protected static Vector createCompareLists(String param,
                                           Webject webject)
                                    throws GroupWebjectException
Describe 'createCompareLists' method here.

Parameters:
param - a value of type 'String'
webject - a value of type 'Webject'
Returns:
a value of type 'Vector'
Throws:
GroupWebjectException

sortGroup

protected static void sortGroup(Group group,
                                int lo0,
                                int hi0,
                                String key,
                                String undefined,
                                boolean checkCase,
                                boolean numeric,
                                boolean ascending)
                         throws GroupWebjectException
Sorts the ieObjects in the obj_list

Parameters:
group - The IeGroup to be sorted
lo0 - The index of the first element to be sorted
hi0 - The index of the last element to be sorted
key - The key name to be sorted on
numeric - boolean value, true if comparisons should be numeric, false if comparison should be alphanumeric
checkCase - boolean value, true if comparison should be case sensitive, false otherwise
Throws:
GroupWebjectException

sortCompare

protected static int sortCompare(String key,
                                 String mid,
                                 boolean numeric,
                                 boolean checkCase)
Describe 'sortCompare' method here.

Parameters:
key - a value of type 'String'
mid - a value of type 'String'
numeric - a value of type 'boolean'
checkCase - a value of type 'boolean'
Returns:
a value of type 'int'

compare

protected static int compare(Element node1,
                             Element node2,
                             Vector by1,
                             Vector by2,
                             boolean numeric,
                             boolean checkCase)
Describe 'compare' method here.

Parameters:
node1 - a value of type 'Element'
node2 - a value of type 'Element'
by1 - a value of type 'Vector'
by2 - a value of type 'Vector'
numeric - a value of type 'boolean'
checkCase - a value of type 'boolean'
Returns:
a value of type 'int'

compareCase

protected static int compareCase(Object one,
                                 Object two)
Describe 'compareCase' method here.

Parameters:
one - a value of type 'Object'
two - a value of type 'Object'
Returns:
a value of type 'int'

compareNoCase

protected static int compareNoCase(Object one,
                                   Object two)
Describe 'compareNoCase' method here.

Parameters:
one - a value of type 'Object'
two - a value of type 'Object'
Returns:
a value of type 'int'

compareNumeric

protected static int compareNumeric(Object one,
                                    Object two)
Describe 'compareNumeric' method here.

Parameters:
one - a value of type 'Object'
two - a value of type 'Object'
Returns:
a value of type 'int'