public class RulesCache extends AbstractMaximoMTEnabledCache
Modifier and Type | Method and Description |
---|---|
static RulesCache |
getInstance()
Always use one instance of RulesCache
|
java.lang.String |
getName()
Return name to be registered in the cashe to reload
|
java.util.List |
getProcessingRules(java.lang.String useWith,
java.lang.String entityName,
java.lang.String objStructName,
java.lang.String hpath)
Returns a boolean that indicates whether any Rules enabled for a given
Object Structure name and Map of MaxIfaceProcInfo.
|
java.util.List |
getTableProcsMboIn(java.lang.String ifacename,
java.lang.String mosname,
java.lang.String hpath)
Return Inbound MBO Rules of the Given Table
|
java.util.List |
getTableProcsObjIn(java.lang.String ifacename,
java.lang.String mosname,
java.lang.String hpath)
Return Inbound Object Rules of the Given Table
|
java.util.List |
getTableProcsOut(java.lang.String ifacename,
java.lang.String mosname,
java.lang.String hpath)
Return Outbound Rules of the Given Table
|
boolean |
hasInboundMboRules(java.lang.String ifacename)
Evaluates does Interface has Inbound MBO Rules
|
boolean |
hasInboundMboRules(java.lang.String ifacename,
java.lang.String mosname)
Evaluates does Interface has Inbound MBO Rules
|
boolean |
hasInboundObjectRules(java.lang.String ifacename)
Evaluates does Interface has Inbound Object Rules
|
boolean |
hasInboundObjectRules(java.lang.String ifacename,
java.lang.String mosname)
Evaluates does Interface has Inbound Object Rules
|
boolean |
hasMigrationObjectRules(java.lang.String mosname)
Evaluates does Migration Manager Object has processing rules
|
boolean |
hasMigrationPackageRules(java.lang.String packageName)
Evaluates does Migration Manager Object has processing rules
|
boolean |
hasMigrationPackageRulesForObject(java.lang.String packageName,
java.lang.String mosname)
Evaluates does Migration Manager Object has processing rules
|
boolean |
hasOutboundRules(java.lang.String ifacename)
Evaluates does Interface has Outbound Rules
|
boolean |
hasOutboundRules(java.lang.String ifacename,
java.lang.String mosname)
Evaluates does Interface has Outbound Rules
|
boolean |
isAnyInBoundMBORulesEnabled(java.lang.String ifacename)
Returns a boolean that indicates whether any Inbound MBO Rules enabled for a given
Enterprise Service name.
|
boolean |
isAnyInBoundObjectRulesEnabled(java.lang.String ifacename)
Returns a boolean that indicates whether any Inbound Object Rules enabled for a given
Enterprise Service name.
|
boolean |
isAnyOutBoundRulesEnabled(java.lang.String ifacename)
Returns a boolean that indicates whether any Outbound Rules enabled for a given
Publish Channel name.
|
void |
refresh()
Refresh the Cache
|
public static RulesCache getInstance() throws MXException, java.rmi.RemoteException
MXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic java.lang.String getName()
MXException
- MAXIMO exceptionpublic boolean hasOutboundRules(java.lang.String ifacename)
ifacename
- Service/ Channel namepublic boolean hasOutboundRules(java.lang.String ifacename, java.lang.String mosname)
ifacename
- Channel namemosname
- Object Structure namepublic boolean hasInboundMboRules(java.lang.String ifacename)
ifacename
- Service namepublic boolean hasInboundMboRules(java.lang.String ifacename, java.lang.String mosname)
ifacename
- Service namemosname
- Object Structure namepublic boolean hasInboundObjectRules(java.lang.String ifacename)
ifacename
- Service/ Channel namepublic boolean hasInboundObjectRules(java.lang.String ifacename, java.lang.String mosname)
ifacename
- Service/ Channel namemosname
- Object Structure namepublic boolean hasMigrationObjectRules(java.lang.String mosname)
mosname
- Oject Structure namepublic boolean hasMigrationPackageRules(java.lang.String packageName)
packageName
- Package namepublic boolean hasMigrationPackageRulesForObject(java.lang.String packageName, java.lang.String mosname)
packageName
- Package namemosname
- Oject Structure namepublic java.util.List getTableProcsObjIn(java.lang.String ifacename, java.lang.String mosname, java.lang.String hpath)
ifacename
- Service/ Channel namemosname
- Object Structure namehpath
- Location pathpublic java.util.List getTableProcsMboIn(java.lang.String ifacename, java.lang.String mosname, java.lang.String hpath)
ifacename
- Service/ Channel namemosname
- Object Structure namehpath
- Location pathpublic java.util.List getTableProcsOut(java.lang.String ifacename, java.lang.String mosname, java.lang.String hpath)
ifacename
- Service/ Channel namemosname
- Object Structure namehpath
- Location pathpublic java.util.List getProcessingRules(java.lang.String useWith, java.lang.String entityName, java.lang.String objStructName, java.lang.String hpath)
useWith
- use with indentifierentityName
- entity NameobjStructName
- object Structure Namehpath
- x-pathpublic boolean isAnyOutBoundRulesEnabled(java.lang.String ifacename) throws MXException
ifacename
- Publish Channel nameMXException
- Throws MXApplicationExceptionpublic boolean isAnyInBoundMBORulesEnabled(java.lang.String ifacename) throws MXException
ifacename
- Enterprise Service nameMXException
- Throws MXApplicationExceptionpublic boolean isAnyInBoundObjectRulesEnabled(java.lang.String ifacename) throws MXException
ifacename
- Enterprise Service nameMXException
- Throws MXApplicationExceptionpublic void refresh() throws MXException
MXException
- MAXIMO Exception