public class DmCollUtils
extends java.lang.Object
Constructor and Description |
---|
DmCollUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
findAppForGivenMboName(java.lang.String objectName,
UserInfo userInfo)
Find the Application name for the Mbo Name.
|
static int |
findLowestGroupOrderForGivenMos(java.lang.String mosName,
boolean internalOnly,
UserInfo userInfo)
Find the lowest group for a given MOS.
|
static java.lang.String |
findMos(java.lang.String objectName,
boolean systemDefinedOnly,
UserInfo userInfo)
Find Migration Object Structure for a given Object.
|
static java.lang.String |
findMosWithLowestMigrationGroup(java.lang.String objectName,
boolean systemDefinedOnly,
UserInfo userInfo)
Find Migration Object Structure for a given Object which has lowest migration group.
|
static GroupAndMosOrder |
getGroupAndMosOrder(java.lang.String mosName,
UserInfo userInfo)
Finds the Group and Mos order for the mos.
|
static java.lang.String |
getMigrationGroupforMos(java.lang.String mosName,
boolean internamOnly,
UserInfo userInfo)
Find the Migration Group for a given Object Structure.
|
static java.util.List |
getUserListForRole(java.lang.String roleName,
UserInfo userInfo)
Find all users for the given role.
|
static boolean |
isFirstMosHigherOrder(java.lang.String firstMos,
java.lang.String secondMos,
UserInfo userInfo)
Find if Group order and Mos order of the first mos has higher values than the second.
|
public static java.lang.String getMigrationGroupforMos(java.lang.String mosName, boolean internamOnly, UserInfo userInfo) throws MXException, java.rmi.RemoteException
mosName
- name of the Object StructureinternamOnly
- find olny internal groupuserInfo
- UserInfo of current userMXException
java.rmi.RemoteException
public static java.lang.String findMos(java.lang.String objectName, boolean systemDefinedOnly, UserInfo userInfo) throws MXException, java.rmi.RemoteException
objectName
- Object NamesystemDefinedOnly
- find only a system defined Object StructureuserInfo
- UserInfo of current userMXException
java.rmi.RemoteException
public static java.lang.String findMosWithLowestMigrationGroup(java.lang.String objectName, boolean systemDefinedOnly, UserInfo userInfo) throws MXException, java.rmi.RemoteException
objectName
- Object NamesystemDefinedOnly
- find only a system defined Object StructureuserInfo
- UserInfo of current userMXException
java.rmi.RemoteException
public static int findLowestGroupOrderForGivenMos(java.lang.String mosName, boolean internalOnly, UserInfo userInfo) throws MXException, java.rmi.RemoteException
mosName
- internalOnly
- userInfo
- MXException
java.rmi.RemoteException
public static java.lang.String findAppForGivenMboName(java.lang.String objectName, UserInfo userInfo) throws MXException, java.rmi.RemoteException
objectName
- Object NameuserInfo
- UserInfo of current userMXException
java.rmi.RemoteException
public static java.util.List getUserListForRole(java.lang.String roleName, UserInfo userInfo) throws MXException, java.rmi.RemoteException
roleName
- userInfo
- MXException
java.rmi.RemoteException
public static boolean isFirstMosHigherOrder(java.lang.String firstMos, java.lang.String secondMos, UserInfo userInfo) throws MXException, java.rmi.RemoteException
firstMos
- secondMos
- userInfo
- MXException
java.rmi.RemoteException
public static GroupAndMosOrder getGroupAndMosOrder(java.lang.String mosName, UserInfo userInfo) throws MXException, java.rmi.RemoteException
mosName
- userInfo
- MXException
java.rmi.RemoteException