Blue Mind
Release 1.0

net.bluemind.core.api.user
Class User

java.lang.Object
  extended by net.bluemind.core.api.Entity
      extended by net.bluemind.core.api.contact.Contact
          extended by net.bluemind.core.api.user.User
All Implemented Interfaces:
Serializable, IEntity, IHasEmails, IMailbox

public class User
extends Contact
implements IMailbox, Serializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.bluemind.core.api.contact.Contact
isUser
 
Constructor Summary
User()
           
 
Method Summary
 Date getAccountDateExp()
           
 String getBoxName()
          The SMTP mailbox. login@domain except if MailRouting.EXTERNAL
 int getCalendarEntityId()
           
 int getCalendarId()
           
 Date getDateBegin()
           
 String getDefaultEmail()
           
 String getDelegation()
           
 String getDelegationTarget()
           
 String getDirection()
           
 String getExtId()
           
 String getKind()
           
 Date getLastAccess()
           
 boolean getLocal()
           
 String getLogin()
           
 int getMailboxEntityId()
           
 MailboxType getMailboxType()
           
 ForwardingSettings getMailForward()
           
 Integer getMailQuotaUse()
           
 MailRouting getMailRouting()
           
 Host getMailServer()
           
 String getNamespace()
          Returns the IMAP namespace for the mailbox
 String getPassword()
           
 Date getPasswordDateExp()
           
 String getPasswordType()
           
 String getPerms()
           
 Integer getQuota()
          null means no quota. 0 means no quota too.
 String getReservedBoxName()
          The mandatory mailbox in the mailbox store.
 List<SieveFilter> getSieveFilters()
           
 UserStatus getStatus()
           
 VacationSettings getVacation()
           
 String getVirtualPrefix()
           
 boolean isHidden()
           
 boolean isPasswordEncrypted()
           
 void setAccountDateExp(Date accountDateExp)
           
 void setCalendarEntityId(int calendarEntityId)
           
 void setCalendarId(int calendarId)
           
 void setDateBegin(Date dateBegin)
           
 void setDelegation(String delegation)
           
 void setDelegationTarget(String delegationTarget)
           
 void setDirection(String direction)
           
 void setExtId(String extId)
           
 void setHidden(boolean hidden)
           
 void setKind(String kind)
           
 void setLastAccess(Date lastAccess)
           
 void setLocal(boolean local)
           
 void setLogin(String login)
           
 void setMailboxEntityId(int mailboxEntityId)
           
 void setMailForward(ForwardingSettings mailForward)
           
 void setMailQuotaUse(Integer mailQuotaUse)
           
 void setMailRouting(MailRouting mailRouting)
           
 void setMailServer(Host mailServer)
           
 void setPassword(String password)
           
 void setPasswordDateExp(Date passwordDateExp)
           
 void setPasswordEncrypted(boolean isPasswordEncrypted)
           
 void setPasswordType(String passwordType)
           
 void setPerms(String perms)
           
 void setQuota(Integer mailQuota)
           
 void setSieveFilters(List<SieveFilter> sieveFilters)
           
 void setStatus(UserStatus status)
           
 void setVacation(VacationSettings vacation)
           
 String toString()
           
 
Methods inherited from class net.bluemind.core.api.contact.Contact
addAddress, addEmail, addIMIdentifier, addPhone, addWebsite, clone, getAddresses, getAka, getAnniversary, getAnniversaryId, getAssistant, getBirthday, getBirthdayId, getCompany, getDescription, getDisplayName, getDomain, getEmails, getExternalId, getFirstname, getFolderId, getImIdentifiers, getLastname, getManager, getMiddlename, getPhones, getPhotoId, getService, getSpouse, getSuffix, getTitle, getWebsites, isArchived, isCollected, isPublic, isUser, setAddress, setAka, setAnniversary, setAnniversaryId, setArchived, setAssistant, setBirthday, setBirthdayId, setCollected, setCompany, setDescription, setDisplayName, setDomain, setEmails, setExternalId, setFirstname, setFolderId, setIMIdentifiers, setLastname, setManager, setMiddlename, setPhones, setPhotoId, setPublic, setService, setSpouse, setSuffix, setTitle, setUser, setWebsites
 
Methods inherited from class net.bluemind.core.api.Entity
equals, getCustomProperties, getEntityId, getId, getTimeCreate, getTimeUpdate, getUserCreateId, getUserUpdateId, hashCode, setCustomProperties, setEntityId, setId, setTimeCreate, setTimeUpdate, setUserCreateId, setUserUpdateId
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.bluemind.core.api.IMailbox
getDomain, getEmails, isArchived
 

Constructor Detail

User

public User()
Method Detail

toString

public String toString()
Overrides:
toString in class Object

setLocal

public void setLocal(boolean local)

getLocal

public boolean getLocal()

setExtId

public void setExtId(String extId)

getExtId

public String getExtId()

setStatus

public void setStatus(UserStatus status)

getStatus

public UserStatus getStatus()

setLastAccess

public void setLastAccess(Date lastAccess)

getLastAccess

public Date getLastAccess()

getLogin

public String getLogin()

setLogin

public void setLogin(String login)

setPassword

public void setPassword(String password)

getPassword

public String getPassword()

getPasswordType

public String getPasswordType()

setPasswordType

public void setPasswordType(String passwordType)

setPasswordDateExp

public void setPasswordDateExp(Date passwordDateExp)

getPasswordDateExp

public Date getPasswordDateExp()

setAccountDateExp

public void setAccountDateExp(Date accountDateExp)

getAccountDateExp

public Date getAccountDateExp()

setPerms

public void setPerms(String perms)

getPerms

public String getPerms()

setDelegationTarget

public void setDelegationTarget(String delegationTarget)

getDelegationTarget

public String getDelegationTarget()

setDelegation

public void setDelegation(String delegation)

getDelegation

public String getDelegation()

setDateBegin

public void setDateBegin(Date dateBegin)

getDateBegin

public Date getDateBegin()

setHidden

public void setHidden(boolean hidden)

isHidden

public boolean isHidden()

setKind

public void setKind(String kind)

getKind

public String getKind()

setDirection

public void setDirection(String direction)

getDirection

public String getDirection()

setMailServer

public void setMailServer(Host mailServer)

getMailServer

public Host getMailServer()
Specified by:
getMailServer in interface IMailbox

setQuota

public void setQuota(Integer mailQuota)

getQuota

public Integer getQuota()
Description copied from interface: IMailbox
null means no quota. 0 means no quota too.

Specified by:
getQuota in interface IMailbox
Returns:
quota value in KB

setMailQuotaUse

public void setMailQuotaUse(Integer mailQuotaUse)

getMailQuotaUse

public Integer getMailQuotaUse()

setMailForward

public void setMailForward(ForwardingSettings mailForward)

getMailForward

public ForwardingSettings getMailForward()

setVacation

public void setVacation(VacationSettings vacation)

getVacation

public VacationSettings getVacation()

getBoxName

public String getBoxName()
Description copied from interface: IMailbox
The SMTP mailbox. login@domain except if MailRouting.EXTERNAL

Specified by:
getBoxName in interface IMailbox
Returns:
login@domain

getNamespace

public String getNamespace()
Description copied from interface: IMailbox
Returns the IMAP namespace for the mailbox

Specified by:
getNamespace in interface IMailbox
Returns:
"user/" or ""

getVirtualPrefix

public String getVirtualPrefix()
Specified by:
getVirtualPrefix in interface IMailbox
Returns:
"+" for mailshares, "" for users

getCalendarEntityId

public int getCalendarEntityId()

setCalendarEntityId

public void setCalendarEntityId(int calendarEntityId)

getMailboxEntityId

public int getMailboxEntityId()

setMailboxEntityId

public void setMailboxEntityId(int mailboxEntityId)

getCalendarId

public int getCalendarId()

setCalendarId

public void setCalendarId(int calendarId)

getSieveFilters

public List<SieveFilter> getSieveFilters()

setSieveFilters

public void setSieveFilters(List<SieveFilter> sieveFilters)

getMailRouting

public MailRouting getMailRouting()
Specified by:
getMailRouting in interface IMailbox

setMailRouting

public void setMailRouting(MailRouting mailRouting)

getMailboxType

public MailboxType getMailboxType()
Specified by:
getMailboxType in interface IMailbox

isPasswordEncrypted

public boolean isPasswordEncrypted()

setPasswordEncrypted

public void setPasswordEncrypted(boolean isPasswordEncrypted)

getReservedBoxName

public String getReservedBoxName()
Description copied from interface: IMailbox
The mandatory mailbox in the mailbox store. Always login@domain

Specified by:
getReservedBoxName in interface IMailbox
Returns:
login@domain

getDefaultEmail

public String getDefaultEmail()
Overrides:
getDefaultEmail in class Contact

Blue Mind
Release 1.0