com.funambol.client.customization
Class Customization

java.lang.Object
  extended by com.funambol.client.customization.Customization

public abstract class Customization
extends java.lang.Object


Field Summary
protected  java.lang.String ABOUT_COMPANY_NAME
           
protected  java.lang.String ABOUT_COPYRIGHT_DEFAULT
           
protected  java.lang.String ABOUT_SITE_DEFAULT
           
protected  java.util.Hashtable activeSources
           
protected  boolean CHECK_FOR_UPDATE
           
protected  long CHECK_UPDATE_INTERVAL
           
protected  int DEFAULT_RANGE_FUTURE
           
protected  int DEFAULT_RANGE_PAST
           
protected  boolean ENABLE_UPDATER_MANAGER
           
protected  boolean EVENT_RANGE_LIMITED
           
protected  boolean LOG_ENABLED
           
protected  java.lang.String LOG_FILE_NAME
           
protected  boolean LOG_IN_SETTINGS_SCREEN
           
protected  java.lang.String LOG_PATH
           
protected  java.lang.String LOG_TITLE
           
protected  java.lang.String PASSWORD
           
protected  java.lang.String PREFERRED_FONT
           
protected  long REMINDER_UPDATE_INTERVAL
           
protected  boolean SEND_LOG_ENABLED
           
protected  java.lang.String SERVER_URI
           
protected  boolean SHOW_SYNC_ICON_ON_SELECTION
           
protected  java.util.Hashtable sourcesDisabledIcon
           
protected  java.util.Hashtable sourcesIcon
           
protected  java.util.Hashtable sourcesSyncMode
           
protected  java.util.Hashtable sourcesSyncModes
           
protected  java.util.Hashtable sourcesUri
           
protected  boolean USE_DEFAULT_FONT
           
protected  java.lang.String USERNAME
           
 
Constructor Summary
Customization()
           
 
Method Summary
 boolean checkCredentialsInAccountScreen()
           
 boolean checkForUpdates()
           
 boolean confirmSlowSync()
           
 boolean enableFileLogging()
           
 boolean enableUpdaterManager()
           
 java.lang.String getAboutCopyright()
           
 java.lang.String getAboutSite()
           
abstract  java.lang.String getApplicationFullname()
           
abstract  java.lang.String getApplicationTitle()
           
 java.util.Enumeration getAvailableSources()
          Returns an Enumeration of Integer where each item represents the id of an available source.
 int[] getAvailableSyncModes()
           
abstract  Bitmap getButtonBackground()
           
abstract  Bitmap getButtonHighlightedBackground()
           
 int getC2SPushDelay()
           
 java.lang.String getCalendarType()
           
abstract  Bitmap getCancelledIcon()
           
 long getCheckUpdtIntervalDefault()
           
 java.lang.String getCompanyName()
           
 java.lang.String getContactType()
           
 java.lang.String getDefaultAuthType()
           
 boolean getDefaultBlockInvites()
           
 boolean getDefaultEncode()
           
 java.lang.String getDefaultEncryptionType()
           
 int getDefaultPollingInterval()
           
 int getDefaultRangeFuture()
           
 int getDefaultRangePast()
           
 int getDefaultSourceSyncMode(int id)
           
 int[] getDefaultSourceSyncModes(int id)
           
 java.lang.String getDefaultSourceUri(int id)
           
 int getDefaultSyncMode()
           
abstract  Bitmap getErrorIcon()
           
 java.lang.String getFileBrowserDir()
           
 java.lang.String getFixedApn()
           
abstract  Bitmap getFolderIcon()
           
 java.lang.String getHttpUploadPrefix()
           
abstract  Bitmap getImageLogo()
           
 java.lang.String getLicense()
           
 java.lang.String getLogAppTitle()
           
 java.lang.String getLogFileDirectory()
           
 java.lang.String getLogFileName()
           
 int getMaxItemsPerMessageInSlowSync()
           
abstract  Bitmap getOkIcon()
           
 java.lang.String getPasswordDefault()
           
 java.lang.String getPicturesDir()
           
 int[] getPollingPimIntervalChoices()
           
 java.lang.String getPoweredBy()
           
 Bitmap getPoweredByLogo()
           
 java.lang.String getPreferredFont()
           
 long getReminderUpdtIntervalDefault()
           
 java.lang.String getServerUriDefault()
           
 Bitmap getSourceDisabledIcon(int id)
           
 Bitmap getSourceIcon(int id)
           
abstract  int[] getSourcesOrder()
           
 java.lang.String getSourceUri(int id)
           
abstract  Bitmap[] getStatusIconsForAnimation()
           
abstract  Bitmap getStatusSelectedIcon()
           
abstract  java.lang.String getSupportEmailAddress()
           
abstract  Bitmap getSyncAllBackground()
           
abstract  Bitmap getSyncAllHighlightedBackground()
           
abstract  Bitmap getSyncAllIcon()
           
 java.lang.String getTaskType()
           
 java.lang.String getUserDefault()
           
abstract  java.lang.String getVersion()
           
abstract  Bitmap getWarningIcon()
           
 boolean gotoMenuEnabled()
           
protected abstract  void initSourcesInfo()
           
 boolean invitesFiltering()
           
 boolean isBlockInvitesFieldVisible()
           
 boolean isC2SPushEnabled()
           
 boolean isLogEnabledInSettingsScreen()
           
 boolean isRangeFutureVisible()
           
 boolean isRangePastVisible()
           
 boolean isSourceActive(int id)
           
 boolean isSourceEnabledByDefault(int id)
           
 boolean isSourceUriVisible()
           
 boolean isSyncDirectionVisible()
           
 boolean logEnabled()
           
 boolean loginScreenRequired()
           
 boolean reportStatusInSyncAll()
           
 boolean rolloverIcon()
           
 boolean sendLogEnabled()
           
 boolean showAboutLicence()
           
 boolean showC2SPushInSettingsScreen()
           
 boolean showNonWorkingSources()
           
 boolean showPoweredBy()
           
 boolean showSyncIconOnSelection()
           
 boolean showSyncModeInSettingsScreen()
           
 boolean showTitleWithVersion()
           
 boolean stripPortFromSyncAddress()
           
 boolean syncAllActsAsCancelSync()
           
 boolean syncAllOnMainScreenRequired()
           
 boolean syncCompanyDirectory()
           
 boolean syncContactPhoto()
           
 boolean syncInRange()
           
 boolean syncUriEditable()
           
 boolean useDefaultFont()
           
 boolean warnOnDeletes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVER_URI

protected final java.lang.String SERVER_URI
See Also:
Constant Field Values

USERNAME

protected final java.lang.String USERNAME
See Also:
Constant Field Values

PASSWORD

protected final java.lang.String PASSWORD
See Also:
Constant Field Values

ABOUT_COMPANY_NAME

protected final java.lang.String ABOUT_COMPANY_NAME
See Also:
Constant Field Values

ABOUT_COPYRIGHT_DEFAULT

protected final java.lang.String ABOUT_COPYRIGHT_DEFAULT
See Also:
Constant Field Values

ABOUT_SITE_DEFAULT

protected final java.lang.String ABOUT_SITE_DEFAULT
See Also:
Constant Field Values

PREFERRED_FONT

protected final java.lang.String PREFERRED_FONT
See Also:
Constant Field Values

USE_DEFAULT_FONT

protected final boolean USE_DEFAULT_FONT
See Also:
Constant Field Values

EVENT_RANGE_LIMITED

protected final boolean EVENT_RANGE_LIMITED
See Also:
Constant Field Values

DEFAULT_RANGE_PAST

protected final int DEFAULT_RANGE_PAST
See Also:
Constant Field Values

DEFAULT_RANGE_FUTURE

protected final int DEFAULT_RANGE_FUTURE
See Also:
Constant Field Values

LOG_ENABLED

protected final boolean LOG_ENABLED
See Also:
Constant Field Values

SEND_LOG_ENABLED

protected final boolean SEND_LOG_ENABLED
See Also:
Constant Field Values

LOG_IN_SETTINGS_SCREEN

protected final boolean LOG_IN_SETTINGS_SCREEN
See Also:
Constant Field Values

LOG_TITLE

protected final java.lang.String LOG_TITLE
See Also:
Constant Field Values

SHOW_SYNC_ICON_ON_SELECTION

protected final boolean SHOW_SYNC_ICON_ON_SELECTION
See Also:
Constant Field Values

LOG_FILE_NAME

protected final java.lang.String LOG_FILE_NAME
See Also:
Constant Field Values

LOG_PATH

protected final java.lang.String LOG_PATH
See Also:
Constant Field Values

CHECK_FOR_UPDATE

protected final boolean CHECK_FOR_UPDATE
See Also:
Constant Field Values

ENABLE_UPDATER_MANAGER

protected final boolean ENABLE_UPDATER_MANAGER
See Also:
Constant Field Values

CHECK_UPDATE_INTERVAL

protected final long CHECK_UPDATE_INTERVAL
See Also:
Constant Field Values

REMINDER_UPDATE_INTERVAL

protected final long REMINDER_UPDATE_INTERVAL
See Also:
Constant Field Values

sourcesUri

protected java.util.Hashtable sourcesUri

activeSources

protected java.util.Hashtable activeSources

sourcesIcon

protected java.util.Hashtable sourcesIcon

sourcesDisabledIcon

protected java.util.Hashtable sourcesDisabledIcon

sourcesSyncModes

protected java.util.Hashtable sourcesSyncModes

sourcesSyncMode

protected java.util.Hashtable sourcesSyncMode
Constructor Detail

Customization

public Customization()
Method Detail

getApplicationFullname

public abstract java.lang.String getApplicationFullname()

getApplicationTitle

public abstract java.lang.String getApplicationTitle()

syncAllOnMainScreenRequired

public boolean syncAllOnMainScreenRequired()

syncAllActsAsCancelSync

public boolean syncAllActsAsCancelSync()

getFixedApn

public java.lang.String getFixedApn()

stripPortFromSyncAddress

public boolean stripPortFromSyncAddress()

loginScreenRequired

public boolean loginScreenRequired()

checkCredentialsInAccountScreen

public boolean checkCredentialsInAccountScreen()

syncUriEditable

public boolean syncUriEditable()

isRangePastVisible

public boolean isRangePastVisible()

isRangeFutureVisible

public boolean isRangeFutureVisible()

syncInRange

public boolean syncInRange()

isBlockInvitesFieldVisible

public boolean isBlockInvitesFieldVisible()

isSourceUriVisible

public boolean isSourceUriVisible()

isSyncDirectionVisible

public boolean isSyncDirectionVisible()

invitesFiltering

public boolean invitesFiltering()

isSourceActive

public boolean isSourceActive(int id)

isSourceEnabledByDefault

public boolean isSourceEnabledByDefault(int id)

confirmSlowSync

public boolean confirmSlowSync()

warnOnDeletes

public boolean warnOnDeletes()

syncContactPhoto

public boolean syncContactPhoto()

getContactType

public java.lang.String getContactType()

getCalendarType

public java.lang.String getCalendarType()

getTaskType

public java.lang.String getTaskType()

checkForUpdates

public boolean checkForUpdates()

enableUpdaterManager

public boolean enableUpdaterManager()

syncCompanyDirectory

public boolean syncCompanyDirectory()

showTitleWithVersion

public boolean showTitleWithVersion()

rolloverIcon

public boolean rolloverIcon()

getDefaultSourceUri

public java.lang.String getDefaultSourceUri(int id)

getDefaultSourceSyncModes

public int[] getDefaultSourceSyncModes(int id)

gotoMenuEnabled

public boolean gotoMenuEnabled()

logEnabled

public boolean logEnabled()

isLogEnabledInSettingsScreen

public boolean isLogEnabledInSettingsScreen()

sendLogEnabled

public boolean sendLogEnabled()

getServerUriDefault

public java.lang.String getServerUriDefault()

getUserDefault

public java.lang.String getUserDefault()

getPasswordDefault

public java.lang.String getPasswordDefault()

getCheckUpdtIntervalDefault

public long getCheckUpdtIntervalDefault()

getReminderUpdtIntervalDefault

public long getReminderUpdtIntervalDefault()

getLogAppTitle

public java.lang.String getLogAppTitle()

enableFileLogging

public boolean enableFileLogging()

getLogFileDirectory

public java.lang.String getLogFileDirectory()

getLogFileName

public java.lang.String getLogFileName()

useDefaultFont

public boolean useDefaultFont()

getPreferredFont

public java.lang.String getPreferredFont()

getCompanyName

public java.lang.String getCompanyName()

getAboutCopyright

public java.lang.String getAboutCopyright()

getAboutSite

public java.lang.String getAboutSite()

showAboutLicence

public boolean showAboutLicence()

showPoweredBy

public boolean showPoweredBy()

reportStatusInSyncAll

public boolean reportStatusInSyncAll()

getPicturesDir

public java.lang.String getPicturesDir()

getFileBrowserDir

public java.lang.String getFileBrowserDir()

getDefaultPollingInterval

public int getDefaultPollingInterval()

getSourceUri

public java.lang.String getSourceUri(int id)

isC2SPushEnabled

public boolean isC2SPushEnabled()

getC2SPushDelay

public int getC2SPushDelay()

getDefaultSyncMode

public int getDefaultSyncMode()

getPollingPimIntervalChoices

public int[] getPollingPimIntervalChoices()

showSyncModeInSettingsScreen

public boolean showSyncModeInSettingsScreen()

showC2SPushInSettingsScreen

public boolean showC2SPushInSettingsScreen()

getAvailableSyncModes

public int[] getAvailableSyncModes()

getMaxItemsPerMessageInSlowSync

public int getMaxItemsPerMessageInSlowSync()

getDefaultEncode

public boolean getDefaultEncode()

getDefaultEncryptionType

public java.lang.String getDefaultEncryptionType()

getDefaultSourceSyncMode

public int getDefaultSourceSyncMode(int id)

getDefaultRangePast

public int getDefaultRangePast()

getDefaultRangeFuture

public int getDefaultRangeFuture()

getDefaultBlockInvites

public boolean getDefaultBlockInvites()

showSyncIconOnSelection

public boolean showSyncIconOnSelection()

showNonWorkingSources

public boolean showNonWorkingSources()

getDefaultAuthType

public java.lang.String getDefaultAuthType()

getAvailableSources

public java.util.Enumeration getAvailableSources()
Returns an Enumeration of Integer where each item represents the id of an available source. The source is not ready yet to be used, but it is available in this client version. To check if a source is really working and enabled, use the corresponding AppSyncSource methods.

Returns:
an enumeration of Integer

getSourceIcon

public Bitmap getSourceIcon(int id)

getSourceDisabledIcon

public Bitmap getSourceDisabledIcon(int id)

getPoweredBy

public java.lang.String getPoweredBy()

getPoweredByLogo

public Bitmap getPoweredByLogo()

getLicense

public java.lang.String getLicense()

getHttpUploadPrefix

public java.lang.String getHttpUploadPrefix()

getSourcesOrder

public abstract int[] getSourcesOrder()

getImageLogo

public abstract Bitmap getImageLogo()

getSyncAllIcon

public abstract Bitmap getSyncAllIcon()

getSyncAllBackground

public abstract Bitmap getSyncAllBackground()

getSyncAllHighlightedBackground

public abstract Bitmap getSyncAllHighlightedBackground()

getButtonBackground

public abstract Bitmap getButtonBackground()

getButtonHighlightedBackground

public abstract Bitmap getButtonHighlightedBackground()

getOkIcon

public abstract Bitmap getOkIcon()

getErrorIcon

public abstract Bitmap getErrorIcon()

getCancelledIcon

public abstract Bitmap getCancelledIcon()

getWarningIcon

public abstract Bitmap getWarningIcon()

getStatusSelectedIcon

public abstract Bitmap getStatusSelectedIcon()

getFolderIcon

public abstract Bitmap getFolderIcon()

getStatusIconsForAnimation

public abstract Bitmap[] getStatusIconsForAnimation()

getVersion

public abstract java.lang.String getVersion()

getSupportEmailAddress

public abstract java.lang.String getSupportEmailAddress()

initSourcesInfo

protected abstract void initSourcesInfo()


Copyright © 2001-2009 Funambol.