com.openexchange.admin.rmi.dataobjects
Class UserModuleAccess

java.lang.Object
  extended by com.openexchange.admin.rmi.dataobjects.UserModuleAccess
All Implemented Interfaces:
Serializable

public class UserModuleAccess
extends Object
implements Serializable

Object for setting/getting access informations to the different ox modules

Author:
Manuel Kraft, Carsten Hoeger, Dennis Sieben
See Also:
Serialized Form

Constructor Summary
UserModuleAccess()
          Creates a new instance of UserModuleAccess
 
Method Summary
 void disableAll()
          Disable all modules
 void enableAll()
          Enable all modules
 boolean equals(Object obj)
           
 boolean getCalendar()
          Shows if a user has access to the calendar module of ox.
 boolean getContacts()
          Shows if a user has access to the contact module of ox.
 boolean getDelegateTask()
          Shows if a user has the right to delegate tasks in the ox groupware.
 boolean getEditGroup()
           
 boolean getEditPassword()
           
 boolean getEditPublicFolders()
           
 boolean getEditResource()
           
 boolean getForum()
          Currently NOT in use!
 boolean getIcal()
           
 boolean getInfostore()
           
 boolean getPinboardWrite()
          Currently NOT in use!
 boolean getProjects()
          Currently NOT in use!
 boolean getReadCreateSharedFolders()
           
 boolean getRssBookmarks()
          Currently NOT in use!
 boolean getRssPortal()
          Currently NOT in use!
 boolean getSyncml()
           
 boolean getTasks()
           
 boolean getVcard()
           
 boolean getWebdav()
           
 boolean getWebdavXml()
           
 boolean getWebmail()
           
 int hashCode()
           
 boolean isActiveSync()
           
 boolean isCollectEmailAddresses()
          Gets the collect-email-addresses access.
 boolean isGlobalAddressBookDisabled()
           
 boolean isMultipleMailAccounts()
          Gets the multiple-mail-accounts access.
 boolean isOLOX20()
           
 boolean isPublication()
          Gets the publication access.
 boolean isPublicFolderEditable()
           
 boolean isSubscription()
          Gets the subscription access.
 boolean isUSM()
           
 void setActiveSync(boolean activeSync)
           
 void setCalendar(boolean val)
          Defines if a user has access to the calendar module of ox.
 void setCollectEmailAddresses(boolean collectEmailAddresses)
          Sets the collect-email-addresses access.
 void setContacts(boolean val)
          Defines if a user has access to the contact module of ox.
 void setDelegateTask(boolean val)
          Defines if a user has the right to delegate tasks in the ox groupware.
 void setEditGroup(boolean editGroup)
           
 void setEditPassword(boolean editPassword)
           
 void setEditPublicFolders(boolean val)
           
 void setEditResource(boolean editResource)
           
 void setForum(boolean val)
          Currently NOT in use!
 void setGlobalAddressBookDisabled(boolean val)
           
 void setIcal(boolean val)
           
 void setInfostore(boolean val)
           
 void setMultipleMailAccounts(boolean multipleMailAccounts)
          Sets the multiple-mail-accounts access.
 void setOLOX20(boolean val)
           
 void setPinboardWrite(boolean val)
          Currently NOT in use!
 void setProjects(boolean val)
          Currently NOT in use!
 void setPublication(boolean publication)
          Sets the publication access.
 void setPublicFolderEditable(boolean publicFolderEditable)
           
 void setReadCreateSharedFolders(boolean val)
           
 void setRssBookmarks(boolean val)
          Currently NOT in use!
 void setRssPortal(boolean val)
          Currently NOT in use!
 void setSubscription(boolean subscription)
          Sets the subscription access.
 void setSyncml(boolean val)
           
 void setTasks(boolean val)
           
 void setUSM(boolean val)
           
 void setVcard(boolean val)
           
 void setWebdav(boolean val)
           
 void setWebdavXml(boolean val)
           
 void setWebmail(boolean val)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserModuleAccess

public UserModuleAccess()
Creates a new instance of UserModuleAccess

Method Detail

enableAll

public void enableAll()
Enable all modules


disableAll

public void disableAll()
Disable all modules


getEditGroup

public boolean getEditGroup()

setEditGroup

public void setEditGroup(boolean editGroup)

getEditResource

public boolean getEditResource()

setEditResource

public void setEditResource(boolean editResource)

getEditPassword

public boolean getEditPassword()

setEditPassword

public void setEditPassword(boolean editPassword)

isCollectEmailAddresses

public boolean isCollectEmailAddresses()
Gets the collect-email-addresses access.

Returns:
The collect-email-addresses access

setCollectEmailAddresses

public void setCollectEmailAddresses(boolean collectEmailAddresses)
Sets the collect-email-addresses access.

Parameters:
collectEmailAddresses - The collect-email-addresses access to set

isMultipleMailAccounts

public boolean isMultipleMailAccounts()
Gets the multiple-mail-accounts access.

Returns:
The multiple-mail-accounts access

setMultipleMailAccounts

public void setMultipleMailAccounts(boolean multipleMailAccounts)
Sets the multiple-mail-accounts access.

Parameters:
multipleMailAccounts - The multiple-mail-accounts access to set

isSubscription

public boolean isSubscription()
Gets the subscription access.

Returns:
The subscription access

setSubscription

public void setSubscription(boolean subscription)
Sets the subscription access.

Parameters:
subscription - The subscription access to set

isPublication

public boolean isPublication()
Gets the publication access.

Returns:
The publication

setPublication

public void setPublication(boolean publication)
Sets the publication access.

Parameters:
publication - The publication access to set

getCalendar

public boolean getCalendar()
Shows if a user has access to the calendar module of ox.

Returns:
Returns true if user has access to calendar module or false if he has now access!

setCalendar

public void setCalendar(boolean val)
Defines if a user has access to the calendar module of ox.

Parameters:
val - Set to true if user should be able to access the calendar module!

getContacts

public boolean getContacts()
Shows if a user has access to the contact module of ox.

Returns:
Returns true if user has access to contact module or false if he has now access!

setContacts

public void setContacts(boolean val)
Defines if a user has access to the contact module of ox.

Parameters:
val - Set to true if user should be able to access the contact module!

getDelegateTask

public boolean getDelegateTask()
Shows if a user has the right to delegate tasks in the ox groupware.

Returns:
Returns true if user has the right to delegate tasks in the ox groupware. Or false if he has no right to delegate tasks!

setDelegateTask

public void setDelegateTask(boolean val)
Defines if a user has the right to delegate tasks in the ox groupware.

Parameters:
val - Set to true if user should be able to delegate tasks in the ox groupware.

getEditPublicFolders

public boolean getEditPublicFolders()

setEditPublicFolders

public void setEditPublicFolders(boolean val)

getForum

public boolean getForum()
Currently NOT in use!


setForum

public void setForum(boolean val)
Currently NOT in use!


getIcal

public boolean getIcal()

setIcal

public void setIcal(boolean val)

getInfostore

public boolean getInfostore()

setInfostore

public void setInfostore(boolean val)

getPinboardWrite

public boolean getPinboardWrite()
Currently NOT in use!


setPinboardWrite

public void setPinboardWrite(boolean val)
Currently NOT in use!


getProjects

public boolean getProjects()
Currently NOT in use!


setProjects

public void setProjects(boolean val)
Currently NOT in use!


getReadCreateSharedFolders

public boolean getReadCreateSharedFolders()

setReadCreateSharedFolders

public void setReadCreateSharedFolders(boolean val)

getRssBookmarks

public boolean getRssBookmarks()
Currently NOT in use!


setRssBookmarks

public void setRssBookmarks(boolean val)
Currently NOT in use!


getRssPortal

public boolean getRssPortal()
Currently NOT in use!


setRssPortal

public void setRssPortal(boolean val)
Currently NOT in use!


getSyncml

public boolean getSyncml()

setSyncml

public void setSyncml(boolean val)

getTasks

public boolean getTasks()

setTasks

public void setTasks(boolean val)

getVcard

public boolean getVcard()

setVcard

public void setVcard(boolean val)

getWebdav

public boolean getWebdav()

setWebdav

public void setWebdav(boolean val)

getWebdavXml

public boolean getWebdavXml()

setWebdavXml

public void setWebdavXml(boolean val)

getWebmail

public boolean getWebmail()

setWebmail

public void setWebmail(boolean val)

isActiveSync

public boolean isActiveSync()

setActiveSync

public void setActiveSync(boolean activeSync)

isUSM

public boolean isUSM()

setUSM

public void setUSM(boolean val)

isOLOX20

public boolean isOLOX20()

setOLOX20

public void setOLOX20(boolean val)

isGlobalAddressBookDisabled

public boolean isGlobalAddressBookDisabled()

setGlobalAddressBookDisabled

public void setGlobalAddressBookDisabled(boolean val)

isPublicFolderEditable

public boolean isPublicFolderEditable()

setPublicFolderEditable

public void setPublicFolderEditable(boolean publicFolderEditable)

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object