|
Project Wonder 5.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecter.extensions.ERXFrameworkPrincipal
er.corebusinesslogic.ERCoreBusinessLogic
public class ERCoreBusinessLogic
Nested Class Summary |
---|
Nested classes/interfaces inherited from class er.extensions.ERXFrameworkPrincipal |
---|
ERXFrameworkPrincipal.Observer |
Field Summary | |
---|---|
protected com.webobjects.foundation.NSArray |
_emailsForProblemRecipients
caches the email addresses to send to in the case of problems |
protected java.lang.String |
_problemEmailDomain
caches the problem email address domain |
static org.apache.log4j.Logger |
log
logging support |
static java.lang.String |
ProblemEmailDomainPropertyKey
property key that holds the email domain of the generated from email |
static java.lang.String |
ProblemEmailRecipientsPropertyKey
property key that holds the emails of those who recieve problem emails |
static java.lang.Class[] |
REQUIRES
|
protected static ERCoreBusinessLogic |
sharedInstance
holds the shared instance reference |
Fields inherited from class er.extensions.ERXFrameworkPrincipal |
---|
initializedFrameworks, launchingFrameworks |
Constructor Summary | |
---|---|
ERCoreBusinessLogic()
|
Method Summary | |
---|---|
static com.webobjects.eocontrol.EOEnterpriseObject |
actor()
Gets the actor. |
static com.webobjects.eocontrol.EOEnterpriseObject |
actor(com.webobjects.eocontrol.EOEditingContext ec)
Gets the actor as a local instance in the given context. |
void |
addPreferenceRelationshipToActorEntity(java.lang.String entityName)
|
void |
addPreferenceRelationshipToActorEntity(java.lang.String entityName,
java.lang.String attributeNameToJoin)
Registers a run-time relationship called "preferences" on the actor entity of your business logic. |
void |
createTables(com.webobjects.eocontrol.EOEditingContext ec)
|
void |
createTables(com.webobjects.eocontrol.EOEditingContext ec,
java.lang.String modelName)
|
com.webobjects.foundation.NSArray |
emailsForProblemRecipients()
Gets the array of email addresses to send emails about problems to. |
java.lang.String |
extraInfoString(com.webobjects.foundation.NSDictionary extraInfo,
int indent)
|
void |
finishInitialization()
Called when it is time to finish the initialization of the framework. |
void |
initializeSharedData()
Initializes the shared eof data. |
static void |
invalidateStaticValueForKeyCache()
|
java.lang.String |
problemEmailDomain()
Gets the problem email domain. |
void |
reportException(java.lang.Throwable exception,
com.webobjects.foundation.NSDictionary extraInfo)
Reports an exception. |
static void |
setActor(com.webobjects.eocontrol.EOEnterpriseObject actor)
Sets the actor in the current thread storage. |
void |
setEmailsForProblemRecipients(com.webobjects.foundation.NSArray a)
Sets the emails for problem recipients. |
void |
setProblemEmailDomain(java.lang.String value)
Sets the problem email domain. |
static ERCoreBusinessLogic |
sharedInstance()
Gets the shared instance of the ERCoreBusinessLogic. |
boolean |
shouldMailReportedExceptions()
|
static int |
staticStoredIntValueForKey(java.lang.String key)
|
static int |
staticStoredIntValueForKey(java.lang.String key,
boolean noCache)
|
static int |
staticStoredIntValueForKey(java.lang.String key,
com.webobjects.eocontrol.EOEditingContext ec)
|
static java.lang.String |
staticStoredValueForKey(java.lang.String key)
|
static java.lang.String |
staticStoredValueForKey(java.lang.String key,
boolean noCache)
|
static java.lang.String |
staticStoredValueForKey(java.lang.String key,
com.webobjects.eocontrol.EOEditingContext ec)
|
static void |
takeStaticStoredValueForKey(java.lang.String value,
java.lang.String key)
|
static void |
takeStaticStoredValueForKey(java.lang.String value,
java.lang.String key,
com.webobjects.eocontrol.EOEditingContext editingContext)
|
Methods inherited from class er.extensions.ERXFrameworkPrincipal |
---|
didFinishInitialization, initialize, setUpFrameworkPrincipalClass, sharedInstance, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final org.apache.log4j.Logger log
public static final java.lang.String ProblemEmailDomainPropertyKey
public static final java.lang.String ProblemEmailRecipientsPropertyKey
protected static ERCoreBusinessLogic sharedInstance
public static final java.lang.Class[] REQUIRES
protected com.webobjects.foundation.NSArray _emailsForProblemRecipients
protected java.lang.String _problemEmailDomain
Constructor Detail |
---|
public ERCoreBusinessLogic()
Method Detail |
---|
public static ERCoreBusinessLogic sharedInstance()
public static void setActor(com.webobjects.eocontrol.EOEnterpriseObject actor)
actor
- current user for this threadpublic static com.webobjects.eocontrol.EOEnterpriseObject actor(com.webobjects.eocontrol.EOEditingContext ec)
ec
- editing context to pull a local copy of the actor
into
public static com.webobjects.eocontrol.EOEnterpriseObject actor()
public static java.lang.String staticStoredValueForKey(java.lang.String key)
public static int staticStoredIntValueForKey(java.lang.String key)
public static java.lang.String staticStoredValueForKey(java.lang.String key, boolean noCache)
public static int staticStoredIntValueForKey(java.lang.String key, boolean noCache)
public static java.lang.String staticStoredValueForKey(java.lang.String key, com.webobjects.eocontrol.EOEditingContext ec)
public static int staticStoredIntValueForKey(java.lang.String key, com.webobjects.eocontrol.EOEditingContext ec)
public static void takeStaticStoredValueForKey(java.lang.String value, java.lang.String key, com.webobjects.eocontrol.EOEditingContext editingContext)
public static void takeStaticStoredValueForKey(java.lang.String value, java.lang.String key)
public static void invalidateStaticValueForKeyCache()
public void finishInitialization()
finishInitialization
in class ERXFrameworkPrincipal
public void initializeSharedData()
public boolean shouldMailReportedExceptions()
public void addPreferenceRelationshipToActorEntity(java.lang.String entityName)
public void addPreferenceRelationshipToActorEntity(java.lang.String entityName, java.lang.String attributeNameToJoin)
entityName
- String name for your actor entityattributeNameToJoin
- String attribute name on the actor
entity; used by the relationship and typically it's the
primary key.public com.webobjects.foundation.NSArray emailsForProblemRecipients()
public void setEmailsForProblemRecipients(com.webobjects.foundation.NSArray a)
a
- array of email addressespublic java.lang.String problemEmailDomain()
public void setProblemEmailDomain(java.lang.String value)
value
- to set problem domain topublic java.lang.String extraInfoString(com.webobjects.foundation.NSDictionary extraInfo, int indent)
public void reportException(java.lang.Throwable exception, com.webobjects.foundation.NSDictionary extraInfo)
exception
- to be reportedextraInfo
- dictionary of extra information about what was
happening when the exception was thrown.public void createTables(com.webobjects.eocontrol.EOEditingContext ec, java.lang.String modelName) throws java.sql.SQLException
java.sql.SQLException
public void createTables(com.webobjects.eocontrol.EOEditingContext ec) throws java.sql.SQLException
java.sql.SQLException
|
Last updated: Tue, Feb 21, 2017 05:45 PM CET | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |