|
Project Wonder 2.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object er.extensions.ERXFrameworkPrincipal er.corebusinesslogic.ERCoreBusinessLogic
Field Summary | |
protected NSArray |
_emailsForProblemRecipients
caches the email addresses to send to in the case of problems |
protected String |
_problemEmailDomain
caches the problem email address domain |
static ERXLogger |
log
logging support |
static String |
ProblemEmailDomainPropertyKey
property key that holds the email domain of the generated from email |
static String |
ProblemEmailRecipientsPropertyKey
property key that holds the emails of those who recieve problem emails |
protected static ERCoreBusinessLogic |
sharedInstance
holds the shared instance reference |
Constructor Summary | |
ERCoreBusinessLogic()
|
Method Summary | |
static EOEnterpriseObject |
actor()
Gets the actor. |
static EOEnterpriseObject |
actor(EOEditingContext ec)
Gets the actor as a local instance in the given context. |
void |
addPreferenceRelationshipToActorEntity(String entityName,
String attributeNameToJoin)
Registers a run-time relationship called "preferences" on the actor entity of your business logic. |
NSArray |
emailsForProblemRecipients()
Gets the array of email addresses to send emails about problems to. |
void |
finishInitialization()
Called when it is time to finish the initialization of the framework. |
void |
initializeSharedData()
Initializes the shared eof data. |
static void |
invalidateStaticValueForKeyCache()
|
String |
problemEmailDomain()
Gets the problem email domain. |
void |
reportException(Throwable exception,
NSDictionary extraInfo)
Reports an exception. |
static void |
setActor(EOEnterpriseObject actor)
Sets the actor in the current thread storage. |
void |
setEmailsForProblemRecipients(NSArray a)
Sets the emails for problem recipients. |
void |
setProblemEmailDomain(String value)
Sets the problem email domain. |
static ERCoreBusinessLogic |
sharedInstance()
Gets the shared instance of the ERCoreBusinessLogic. |
boolean |
shouldMailReportedExceptions()
|
static int |
staticStoredIntValueForKey(String key)
|
static int |
staticStoredIntValueForKey(String key,
boolean noCache)
|
static int |
staticStoredIntValueForKey(String key,
EOEditingContext ec)
|
static String |
staticStoredValueForKey(String key)
|
static String |
staticStoredValueForKey(String key,
boolean noCache)
|
static String |
staticStoredValueForKey(String key,
EOEditingContext ec)
|
static void |
takeStaticStoredValueForKey(String value,
String key)
|
static void |
takeStaticStoredValueForKey(String value,
String key,
EOEditingContext editingContext)
|
Methods inherited from class er.extensions.ERXFrameworkPrincipal |
finishInitialization, log, setUpFrameworkPrincipalClass, sharedInstance |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final ERXLogger log
public static final String ProblemEmailDomainPropertyKey
public static final String ProblemEmailRecipientsPropertyKey
protected static ERCoreBusinessLogic sharedInstance
protected NSArray _emailsForProblemRecipients
protected String _problemEmailDomain
Constructor Detail |
public ERCoreBusinessLogic()
Method Detail |
public static ERCoreBusinessLogic sharedInstance()
public static void setActor(EOEnterpriseObject actor)
actor
- current user for this threadpublic static EOEnterpriseObject actor(EOEditingContext ec)
ec
- editing context to pull a local copy of the actor
into
public static EOEnterpriseObject actor()
public static String staticStoredValueForKey(String key)
public static int staticStoredIntValueForKey(String key)
public static String staticStoredValueForKey(String key, boolean noCache)
public static int staticStoredIntValueForKey(String key, boolean noCache)
public static String staticStoredValueForKey(String key, EOEditingContext ec)
public static int staticStoredIntValueForKey(String key, EOEditingContext ec)
public static void takeStaticStoredValueForKey(String value, String key, EOEditingContext editingContext)
public static void takeStaticStoredValueForKey(String value, String key)
public static void invalidateStaticValueForKeyCache()
public void finishInitialization()
finishInitialization
in class ERXFrameworkPrincipal
public void initializeSharedData()
public boolean shouldMailReportedExceptions()
public void addPreferenceRelationshipToActorEntity(String entityName, 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 NSArray emailsForProblemRecipients()
public void setEmailsForProblemRecipients(NSArray a)
a
- array of email addressespublic String problemEmailDomain()
public void setProblemEmailDomain(String value)
value
- to set problem domain topublic void reportException(Throwable exception, NSDictionary extraInfo)
exception
- to be reportedextraInfo
- dictionary of extra information about what was
happening when the exception was thrown.
|
Last updated: Do, Dez 9, 2004 12:46 PM CET | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |