|
Rational Developer for i 7.5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.etools.systems.as400.debug.sep.internal.PhantomServiceEntryPointListManager
public class PhantomServiceEntryPointListManager
PhantomServiceEntryPointLocationListManager represents a model of service entry points. PhantomServiceEntryPointLocationListManager will fire events when a service entry point whenever service entry point(s) is(are) added, modified, removed , enabled/disabled.
| Nested Class Summary | |
|---|---|
static interface |
PhantomServiceEntryPointListManager.IPhantomServiceEntryPointModelListener
PhantomServiceEntryPointLocationModelListener is the interface that listening PhantomServiceEntryPointListManager events. |
| Field Summary | |
|---|---|
static String |
ALL
|
static String |
copyright
|
static int |
MODULELEVEL
|
static int |
PGMLEVEL
|
static int |
PROCEDURELEVEL
|
static int |
ROOTLEVEL
|
static int |
USERPROFILELEVEL
|
| Constructor Summary | |
|---|---|
PhantomServiceEntryPointListManager()
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
addServiceEntryPoint(int sepID,
String hostName,
String setterUserProfile,
String programDestination,
String programName,
String programType,
String moduleName,
String procedureName,
String connectionName,
String hitterUserProfile)
Add a new service entry point into model. |
boolean |
addServiceEntryPoint(int sepID,
String hostName,
String setterUserProfile,
String programDestination,
String programName,
String programType,
String moduleName,
String procedureName,
String connectionName,
String hitterUserProfile,
long timeStamp)
Add a new service entry point into model. |
void |
addServiceEntryPointListener(PhantomServiceEntryPointListManager.IPhantomServiceEntryPointModelListener listener)
Add a specific listener for SEP model event |
boolean |
enableServiceEntryPoint(PhantomServiceEntryPoint phantomServiceEntryPoint,
boolean enablement)
Update the enablement status of a service entry point. |
PhantomServiceEntryPoint |
findConflictSEPForThisOne(String hostName,
String setterUserProfile,
String programDestination,
String programName,
String programType,
String moduleName,
String procedureName,
List<PhantomServiceEntryPoint> conflictList)
Find conflict service entry points for a specific service entry point user wants to set. |
void |
findConflictServiceEntryPoints(List<PhantomServiceEntryPointInfo> futureServiceEntryPointInfoList,
List<PhantomServiceEntryPoint> explicitConflictList,
List<PhantomServiceEntryPoint> conflictList)
Find all the conflict service entry points It includes explicit conflict and implicit conflict. |
List<PhantomServiceEntryPoint> |
findServiceEntryPoints(String hostName,
String connectionName)
Find service entry points for specific host, setter and connection from model |
Object[] |
getALLServiceEntryPoints()
Get all service entry points in the model |
Object[] |
getALLServiceEntryPoints(String hostName,
String setterUserProfile,
String programDestination,
String programName,
String programType)
Get all service entry points in the model |
void |
getServiceEntryPointsFromID(String hostName,
String setterUserProfile,
String programDestination,
String programName,
String programType,
List<Integer> SEPIDs,
List<PhantomServiceEntryPoint> SEPs)
Get service entry points from corresponding service entry point IDs. |
boolean |
hasExistingServiceEntryPoint(String hostName,
String setterUserProfile,
String programDestination,
String programName,
String programType,
String moduleName,
String procedureName)
Check if the specific location has any existing Service entry point. |
boolean |
modifyServiceEntryPoint(PhantomServiceEntryPoint phantomServiceEntryPoint,
String newHitterserProfile,
String newModuleName,
String newProcedureName)
Modify attributes of a service entry point. |
boolean |
removeServiceEntryPoint(PhantomServiceEntryPoint phantomServiceEntryPoint)
Remove a service entry point from model. |
boolean |
removeServiceEntryPoint(String hostName,
String setterUserProfile)
Remove a new service entry point from model |
boolean |
removeServiceEntryPoint(String hostName,
String setterUserProfile,
String programDestination,
String programName,
String programType)
Remove a new service entry point from model |
boolean |
removeServiceEntryPoint(String hostName,
String setterUserProfile,
String programDestination,
String programName,
String programType,
String moduleName,
String procedureName)
Remove a new service entry point from model |
void |
removeServiceEntryPointListener(PhantomServiceEntryPointListManager.IPhantomServiceEntryPointModelListener listener)
Remove a specific listener for SEP model event |
void |
removeServiceEntryPoints(List<PhantomServiceEntryPoint> phantomServiceEntryPoints)
Remove a list of service entry points. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String copyright
public static final int ROOTLEVEL
public static final int USERPROFILELEVEL
public static final int PGMLEVEL
public static final int MODULELEVEL
public static final int PROCEDURELEVEL
public static final String ALL
| Constructor Detail |
|---|
public PhantomServiceEntryPointListManager()
| Method Detail |
|---|
public void findConflictServiceEntryPoints(List<PhantomServiceEntryPointInfo> futureServiceEntryPointInfoList,
List<PhantomServiceEntryPoint> explicitConflictList,
List<PhantomServiceEntryPoint> conflictList)
futureServiceEntryPointInfoList - : list contains information of all the service entry points user wants to set.explicitConflictList: - return value, will be populated by explicit conflict service entry points.conflictList: - return value, will be populated by all the conflict service entry points.
public List<PhantomServiceEntryPoint> findServiceEntryPoints(String hostName,
String connectionName)
hostName - : the hostconnectionName: - the connection name associated with the SEP
public PhantomServiceEntryPoint findConflictSEPForThisOne(String hostName,
String setterUserProfile,
String programDestination,
String programName,
String programType,
String moduleName,
String procedureName,
List<PhantomServiceEntryPoint> conflictList)
hostName - : the hostsetterUserProfile: - the user profile who sets the SEPprogramDestination: - the program path , i.e. library name for nowprogramName: - the program nameprogramType: - the program typemoduleName - : the module nameprocedureName: - the procedure name
public boolean hasExistingServiceEntryPoint(String hostName,
String setterUserProfile,
String programDestination,
String programName,
String programType,
String moduleName,
String procedureName)
hostName - : the hostsetterUserProfile: - the user profile who sets the SEPprogramDestination: - the program path , i.e. library name for nowprogramName: - the program nameprogramType: - the program typemoduleName - : the module nameprocedureName: - the procedure name
public boolean addServiceEntryPoint(int sepID,
String hostName,
String setterUserProfile,
String programDestination,
String programName,
String programType,
String moduleName,
String procedureName,
String connectionName,
String hitterUserProfile)
id: - the ID of service entry pointhostName - : the hostsetterUserProfile: - the user profile who sets the SEPprogramDestination: - the program path , i.e. library name for nowprogramName: - the program nameprogramType: - the program typemoduleName - : the module nameprocedureName: - the procedure nameconnectionName: - the connection namehitterUserProfile - : the user profile who will hit the service enty
public boolean addServiceEntryPoint(int sepID,
String hostName,
String setterUserProfile,
String programDestination,
String programName,
String programType,
String moduleName,
String procedureName,
String connectionName,
String hitterUserProfile,
long timeStamp)
id: - the ID of service entry pointhostName - : the hostsetterUserProfile: - the user profile who sets the SEPprogramDestination: - the program path , i.e. library name for nowprogramName: - the program nameprogramType: - the program typemoduleName - : the module nameprocedureName: - the procedure nameconnectionName: - the connection namehitterUserProfile - : the user profile who will hit the service entytimeStamp: - the timeStamp of program object when the SEP is set
public boolean removeServiceEntryPoint(PhantomServiceEntryPoint phantomServiceEntryPoint)
phantomServiceEntryPoint - : the service entry point object to be removed.
public boolean removeServiceEntryPoint(String hostName,
String setterUserProfile)
hostName - : the hostsetterUserProfile: - the user profile who sets the SEP
public boolean removeServiceEntryPoint(String hostName,
String setterUserProfile,
String programDestination,
String programName,
String programType)
hostName - : the hostsetterUserProfile: - the user profile who sets the SEPprogramDestination: - the program libraryprogramName - : the program nameprogramType - : the program type
public boolean removeServiceEntryPoint(String hostName,
String setterUserProfile,
String programDestination,
String programName,
String programType,
String moduleName,
String procedureName)
hostName - : the hostsetterUserProfile: - the user profile who sets the SEPprogramDestination: - the program path , i.e. library name for nowprogramName: - the program nameprogramType: - the program typemoduleName - : the module nameprocedureName: - the procedure name
public boolean modifyServiceEntryPoint(PhantomServiceEntryPoint phantomServiceEntryPoint,
String newHitterserProfile,
String newModuleName,
String newProcedureName)
phantomServiceEntryPoint - : the service entry point to be modifiednewHitterUserProfile - : new user profile to be hit for this service entry pointnewModuleName - : new module namenewProcedureName - : new procedure name
public boolean enableServiceEntryPoint(PhantomServiceEntryPoint phantomServiceEntryPoint,
boolean enablement)
phantomServiceEntryPoint - : the service entry point to be enabled/disabledenablement: - true to enable , false for disable
public Object[] getALLServiceEntryPoints()
public Object[] getALLServiceEntryPoints(String hostName,
String setterUserProfile,
String programDestination,
String programName,
String programType)
public void addServiceEntryPointListener(PhantomServiceEntryPointListManager.IPhantomServiceEntryPointModelListener listener)
listener - the listener to be addedpublic void removeServiceEntryPointListener(PhantomServiceEntryPointListManager.IPhantomServiceEntryPointModelListener listener)
listener - the listener to be removed
public void getServiceEntryPointsFromID(String hostName,
String setterUserProfile,
String programDestination,
String programName,
String programType,
List<Integer> SEPIDs,
List<PhantomServiceEntryPoint> SEPs)
public void removeServiceEntryPoints(List<PhantomServiceEntryPoint> phantomServiceEntryPoints)
|
Rational Developer for i 7.5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||