Methods Summary |
---|
protected java.lang.String | computeAttributePrefix()Returns the computed attributePrefix.
return getClass().getPackage().getName() + ".";
|
public Account | getAccount()Returns the account.
return fieldAccount;
|
protected java.lang.String | getAttributePrefix()Returns a lazy initialised attributePrefix.
String value = null;
if (null == (value = getAttributePrefixBasic()))
{
updateAttributePrefix();
return getAttributePrefix();
}
return value;
|
private java.lang.String | getAttributePrefixBasic()Returns the attributePrefix.
return fieldAttributePrefix;
|
protected java.util.Set | getBlacklist()Returns the blacklist.
return getConfiguration().getBlacklist();
|
protected ParsedConfiguration | getConfiguration()Returns the ParsedConfiguration from the Account .
return getAccount().getParsedConfiguration();
|
protected java.lang.String | getCustomRecipientHeader()Returns the customRecipientHeader.
return getAccount().getCustomRecipientHeader();
|
protected java.lang.String | getDefaultDomainName()Returns the defaultDomainName.
return getConfiguration().getDefaultDomainName();
|
protected java.lang.String | getDefaultLocalPart()Returns the defaultLocalPart.
// TODO Consider making this configurable
return "FETCHMAIL-SERVICE";
|
protected java.util.List | getDeferredRecipientNotFoundMessageIDs()Returns the message ids. of messages for which processing has been
deferred as the recipient could not be found
return getAccount().getDeferredRecipientNotFoundMessageIDs();
|
protected java.lang.String | getFetchTaskName()Returns the fetchTaskName.
return getConfiguration().getFetchTaskName();
|
protected java.lang.String | getHost()Returns the host.
return getConfiguration().getHost();
|
protected java.lang.String | getJavaMailFolderName()Returns the javaMailFolderName.
return getConfiguration().getJavaMailFolderName();
|
protected java.lang.String | getJavaMailProviderName()Returns the javaMailProviderName.
return getConfiguration().getJavaMailProviderName();
|
protected org.apache.james.services.UsersRepository | getLocalUsers()Returns the repository of local users.
return getConfiguration().getLocalUsers();
|
protected org.apache.avalon.framework.logger.Logger | getLogger()Returns the logger.
return getConfiguration().getLogger();
|
protected int | getMaxMessageSizeLimit()Returns the getMaxMessageSizeLimit.
return getConfiguration().getMaxMessageSizeLimit();
|
protected java.lang.String | getPassword()Returns the password.
return getAccount().getPassword();
|
protected org.apache.mailet.MailAddress | getRecipient()Returns the recipient.
return getAccount().getRecipient();
|
protected int | getRemoteReceivedHeaderIndex()Method getRemoteReceivedHeaderIndex.
return getConfiguration().getRemoteReceivedHeaderIndex();
|
protected org.apache.james.services.MailServer | getServer()Returns the server.
return getConfiguration().getServer();
|
protected javax.mail.Session | getSession()Returns the session.
return getAccount().getSession();
|
protected java.lang.String | getUser()Returns the user.
return getAccount().getUser();
|
protected boolean | isDeferRecipientNotFound()Returns the isDeferRecipientNotFound.
return getConfiguration().isDeferRecipientNotFound();
|
protected boolean | isFetchAll()Returns the fetchAll.
return getConfiguration().isFetchAll();
|
protected boolean | isIgnoreRecipientHeader()Returns the ignoreOriginalRecipient.
return getAccount().isIgnoreRecipientHeader();
|
protected boolean | isLeave()Returns the leave.
return getConfiguration().isLeave();
|
protected boolean | isLeaveBlacklisted()Returns the leaveBlacklisted.
return getConfiguration().isLeaveBlacklisted();
|
protected boolean | isLeaveMaxMessageSizeExceeded()Returns the LeaveMaxMessageSizeExceeded.
return getConfiguration().isLeaveMaxMessageSizeExceeded();
|
protected boolean | isLeaveRecipientNotFound()Returns the leaveRecipientNotFound.
return getConfiguration().isLeaveRecipientNotFound();
|
protected boolean | isLeaveRemoteReceivedHeaderInvalid()Returns the leaveRemoteReceivedHeaderInvalid.
return getConfiguration().isLeaveRemoteReceivedHeaderInvalid();
|
protected boolean | isLeaveRemoteRecipient()Returns the leaveRemoteRecipient.
return getConfiguration().isLeaveRemoteRecipient();
|
protected boolean | isLeaveUndeliverable()Returns the leaveUndeliverable.
return getConfiguration().isLeaveUndeliverable();
|
protected boolean | isLeaveUserUndefined()Returns the leaveUserUndefinded.
return getConfiguration().isLeaveUserUndefined();
|
protected boolean | isMarkBlacklistedSeen()Returns the markBlacklistedSeen.
return getConfiguration().isMarkBlacklistedSeen();
|
protected boolean | isMarkMaxMessageSizeExceededSeen()Returns the MarkMaxMessageSizeExceededSeen.
return getConfiguration().isMarkMaxMessageSizeExceededSeen();
|
protected boolean | isMarkRecipientNotFoundSeen()Returns the markRecipientNotFoundSeen.
return getConfiguration().isMarkRecipientNotFoundSeen();
|
protected boolean | isMarkRemoteReceivedHeaderInvalidSeen()Returns the markRemoteReceivedHeaderInvalidSeen.
return getConfiguration().isMarkRemoteReceivedHeaderInvalidSeen();
|
protected boolean | isMarkRemoteRecipientSeen()Returns the markRemoteRecipientSeen.
return getConfiguration().isMarkRemoteRecipientSeen();
|
protected boolean | isMarkSeen()Returns the markSeen.
return getConfiguration().isMarkSeen();
|
protected boolean | isMarkUndeliverableSeen()Returns the markUndeliverableSeen.
return getConfiguration().isMarkUndeliverableSeen();
|
protected boolean | isMarkUserUndefinedSeen()Returns the markUserUndefindedSeen.
return getConfiguration().isMarkUserUndefinedSeen();
|
protected boolean | isOpenReadOnly()Answers true if the folder should be opened read only.
For this to be true...
- isKeep() must be true
- isMarkSeen() must be false
return getConfiguration().isOpenReadOnly();
|
protected boolean | isRecurse()Returns the recurse.
return getConfiguration().isRecurse();
|
protected boolean | isRejectBlacklisted()Returns the RejectUserBlacklisted.
return getConfiguration().isRejectBlacklisted();
|
protected boolean | isRejectMaxMessageSizeExceeded()Returns the RejectMaxMessageSizeExceeded.
return getConfiguration().isRejectMaxMessageSizeExceeded();
|
protected boolean | isRejectRecipientNotFound()Returns the rejectRecipientNotFound.
return getConfiguration().isRejectRecipientNotFound();
|
protected boolean | isRejectRemoteReceivedHeaderInvalid()Returns the RejectRemoteReceivedHeaderInvalid.
return getConfiguration().isRejectRemoteReceivedHeaderInvalid();
|
protected boolean | isRejectRemoteRecipient()Returns the RejectRemoteRecipient.
return getConfiguration().isRejectRemoteRecipient();
|
protected boolean | isRejectUserUndefined()Returns the RejectUserUndefinded.
return getConfiguration().isRejectUserUndefined();
|
public abstract void | process()Process the mail elements of the receiver
|
protected void | setAccount(Account account)Sets the account.
fieldAccount = account;
|
protected void | setAttributePrefix(java.lang.String attributePrefix)Sets the attributePrefix.
fieldAttributePrefix = attributePrefix;
|
protected void | updateAttributePrefix()Updates the attributePrefix.
setAttributePrefix(computeAttributePrefix());
|