public abstract class NewDomainInfo extends DomainInfo
Modifier and Type | Method and Description |
---|---|
boolean |
canSignatureChangeAfterInit(MboValue value)
Can signature of the object be modified after the MBO value is initialized.
|
boolean |
contains(java.lang.String site,
java.lang.String org)
Check if a site level or org level domain values exists as detail.
|
java.lang.String |
getCacheName() |
java.lang.Object |
getDetail(java.lang.Object[] signature) |
abstract MboValueListener |
getDomainObject(MboValue mbv)
Return an object that will actually perform the validation
|
java.lang.String |
getName()
Get the name of the domain
|
boolean |
getNeverCache()
Getter method for Never Cache
|
java.lang.Object[] |
getSignature(MboValue value)
Get the signature of the passed in MboValue.
|
static java.util.Vector |
init(java.sql.Connection con,
java.lang.String sqlExpr)
All subclasses need to override this method.
|
boolean |
isDifferentSignature(java.lang.Object[] lastSignature,
java.lang.Object[] newSignature)
Compare the two signatures.
|
boolean |
needToConsiderSiteOrg()
Returns a true if there are any site or org specific values in this domain.
|
void |
setDetail(java.lang.String site,
java.lang.String org,
java.lang.Object detail) |
void |
setNeverCache(boolean neverCacheParam)
Setter method for Never Cache
|
java.lang.String |
toString()
Dump the domain info to a string for debugging purposes
|
getKey
public static java.util.Vector init(java.sql.Connection con, java.lang.String sqlExpr)
public java.lang.String getName()
getName
in class DomainInfo
public void setNeverCache(boolean neverCacheParam)
setNeverCache
in class DomainInfo
neverCacheParam
- Never Cache valuepublic boolean getNeverCache()
getNeverCache
in class DomainInfo
public abstract MboValueListener getDomainObject(MboValue mbv)
getDomainObject
in class DomainInfo
public java.lang.String toString()
toString
in class DomainInfo
public java.lang.Object getDetail(java.lang.Object[] signature)
getDetail
in class DomainInfo
public boolean contains(java.lang.String site, java.lang.String org)
contains
in class DomainInfo
site
- org
- public void setDetail(java.lang.String site, java.lang.String org, java.lang.Object detail)
setDetail
in class DomainInfo
public boolean needToConsiderSiteOrg()
needToConsiderSiteOrg
in class DomainInfo
public java.lang.Object[] getSignature(MboValue value) throws MXException, java.rmi.RemoteException
getSignature
in class DomainInfo
mbo
- MXException
java.rmi.RemoteException
public boolean canSignatureChangeAfterInit(MboValue value)
canSignatureChangeAfterInit
in class DomainInfo
value
- public boolean isDifferentSignature(java.lang.Object[] lastSignature, java.lang.Object[] newSignature)
isDifferentSignature
in class DomainInfo
lastSignature
- newSignature
- public java.lang.String getCacheName()