Compoze Software, Inc.

portlets.compoze.groupware.model.options
Class EditAccountModel

java.lang.Object
  extended byportlets.compoze.groupware.model.AbstractModel
      extended byportlets.compoze.groupware.model.options.OptionsModel
          extended byportlets.compoze.groupware.model.options.EditAccountModel
All Implemented Interfaces:
java.io.Serializable

public class EditAccountModel
extends OptionsModel
implements java.io.Serializable

This class represents the data model for the edit account page (edit_account.jsp).

See Also:
Serialized Form

Constructor Summary
EditAccountModel(Accounts accounts, portlets.compoze.groupware.controls.provider.ProviderCapabilities capabilities, FeatureGroup featureGroup, GroupwarePreferences groupwarePrefs, java.lang.String sID, java.lang.String sName, boolean bDefault, ConnectionPropertyValue[] values)
          Constructor.
 
Method Summary
 ConnectionPropertyValue[] getConnectionPropertyValues()
          Gets the connection property values.
 java.lang.String getID()
          Gets the account ID.
 java.lang.String getName()
          Gets the account name.
 java.lang.String getProviderNameKey()
          Gets the provider name i18n resource key.
 boolean isDefault()
          Checks the default flag.
 void setProviderNameKey(java.lang.String sProviderNameKey)
          Sets the provider name i18n resource key.
 
Methods inherited from class portlets.compoze.groupware.model.options.OptionsModel
getOptionsGroup, getRequiredAccountName, isAccountRequired, isDeleteAccountAvailable, setIsAccountRequired, setRequiredAccountName
 
Methods inherited from class portlets.compoze.groupware.model.AbstractModel
getAccounts, getActualTitle, getFeatureGroup, getGroupwarePreferences, getImAccount, getProviderCapabilities, getTitle, getTitleArgs, getTitleCrumbTrailKeys, isImAvailable, setActualTitle, setImAccount, setImAvailable, setTitle, setTitleArgs, setTitleCrumbTrailKeys
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditAccountModel

public EditAccountModel(Accounts accounts,
                        portlets.compoze.groupware.controls.provider.ProviderCapabilities capabilities,
                        FeatureGroup featureGroup,
                        GroupwarePreferences groupwarePrefs,
                        java.lang.String sID,
                        java.lang.String sName,
                        boolean bDefault,
                        ConnectionPropertyValue[] values)
Constructor.

Parameters:
accounts - the accounts
capabilities - the capabilities of the provider (may not be null)
featureGroup - the feature group (may not be null)
groupwarePrefs - the groupware preferences (may not be null)
sID - the account ID
sName - the account name
bDefault - the default flag (true for default)
values - an array of connection property values
Method Detail

getName

public java.lang.String getName()
Gets the account name.

Returns:
the name

getProviderNameKey

public java.lang.String getProviderNameKey()
Gets the provider name i18n resource key.

Returns:
the provider name i18n resource key

setProviderNameKey

public void setProviderNameKey(java.lang.String sProviderNameKey)
Sets the provider name i18n resource key.

Parameters:
sProviderNameKey - the provider name i18n resource key

isDefault

public boolean isDefault()
Checks the default flag.

Returns:
true if this is the default account

getID

public java.lang.String getID()
Gets the account ID.

Returns:
the account ID

getConnectionPropertyValues

public ConnectionPropertyValue[] getConnectionPropertyValues()
Gets the connection property values.

Returns:
an array of connection property values

Compoze Software, Inc.

Copyright ©1999-2003 Compoze Software, Inc. All rights reserved.