com.jscape.inet.mft.management.descriptors
Class WebDavConfiguration

java.lang.Object
  extended by com.jscape.inet.mft.management.descriptors.WebDavConfiguration
All Implemented Interfaces:
Configuration

public class WebDavConfiguration
extends java.lang.Object
implements Configuration

WebDAV service descriptor.


Field Summary
static java.lang.String LOGO_PIC
           
 
Constructor Summary
WebDavConfiguration()
          Creates new instance.
WebDavConfiguration(com.jscape.util.TaggedProperties[] languages, com.jscape.util.serialization.xml.ByteArrayShell logo, boolean appletAllowed, java.lang.String redirectionUrl, boolean showLoginInfo, boolean showAccountLink)
          Creates new instance.
WebDavConfiguration(WebDavConfiguration that)
          Creates new instance from existing instance.
 
Method Summary
 void correctLanguages(com.jscape.util.TaggedProperties original)
          Resets language resource properties to provided defaults.
 boolean getAppletAllowed()
          Gets whether applet access is allowed.
 com.jscape.util.TaggedProperties[] getLanguages()
          Gets language resource properties.
 com.jscape.util.serialization.xml.ByteArrayShell getLogo()
          Gets logo.
 byte[] getLogoBytes()
          Gets raw logo data.
 java.lang.String getRedirectionUrl()
          Gets logout redirection URL.
 boolean getShowAccountLink()
          Gets whether account link is displayed in wev interface.
 boolean getShowLoginInfo()
          Gets whether login information is displayed in web interface.
 void setAppletAllowed(boolean value)
          Sets whether applet access is allowed.
 void setLanguages(com.jscape.util.TaggedProperties[] value)
          Sets language resource properties.
 void setLogo(com.jscape.util.serialization.xml.ByteArrayShell value)
          Sets logo.
 void setRedirectionUrl(java.lang.String value)
          Sets logout redirection URL.
 void setShowAccountLink(boolean value)
          Sets whether account link is displayed in wev interface.
 void setShowLoginInfo(boolean value)
          Sets whether login information is displayed in web interface.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGO_PIC

public static final java.lang.String LOGO_PIC
See Also:
Constant Field Values
Constructor Detail

WebDavConfiguration

public WebDavConfiguration(com.jscape.util.TaggedProperties[] languages,
                           com.jscape.util.serialization.xml.ByteArrayShell logo,
                           boolean appletAllowed,
                           java.lang.String redirectionUrl,
                           boolean showLoginInfo,
                           boolean showAccountLink)
Creates new instance.

Parameters:
languages - language resources
logo - logo data
appletAllowed - applet allowed flag
redirectionUrl - redirection URL
showLoginInfo - show login info flag
showAccountLink - show account link flag

WebDavConfiguration

public WebDavConfiguration(WebDavConfiguration that)
Creates new instance from existing instance.

Parameters:
that - an instance to copy

WebDavConfiguration

public WebDavConfiguration()
Creates new instance.

Method Detail

getLanguages

public com.jscape.util.TaggedProperties[] getLanguages()
Gets language resource properties.

Returns:
language resource properties

setLanguages

public void setLanguages(com.jscape.util.TaggedProperties[] value)
Sets language resource properties.

Parameters:
value - language resource properties

getLogo

public com.jscape.util.serialization.xml.ByteArrayShell getLogo()
Gets logo.

Returns:
logo data

getLogoBytes

public byte[] getLogoBytes()
Gets raw logo data.

Returns:
logo data bytes

setLogo

public void setLogo(com.jscape.util.serialization.xml.ByteArrayShell value)
Sets logo.

Parameters:
value - logo data

getAppletAllowed

public boolean getAppletAllowed()
Gets whether applet access is allowed.

Returns:
true if applet is allowed; false otherwise

setAppletAllowed

public void setAppletAllowed(boolean value)
Sets whether applet access is allowed.

Parameters:
value - if true applet is allowed

getRedirectionUrl

public java.lang.String getRedirectionUrl()
Gets logout redirection URL.

Returns:
logout redirection URL

setRedirectionUrl

public void setRedirectionUrl(java.lang.String value)
Sets logout redirection URL.

Parameters:
value - logout redirection URL

getShowLoginInfo

public boolean getShowLoginInfo()
Gets whether login information is displayed in web interface.

Returns:
true if login information is allowed; false otherwise

setShowLoginInfo

public void setShowLoginInfo(boolean value)
Sets whether login information is displayed in web interface.

Parameters:
value - if true login information is allowed

getShowAccountLink

public boolean getShowAccountLink()
Gets whether account link is displayed in wev interface.

Returns:
true if account link should be displayed

setShowAccountLink

public void setShowAccountLink(boolean value)
Sets whether account link is displayed in wev interface.

Parameters:
value - flag

correctLanguages

public void correctLanguages(com.jscape.util.TaggedProperties original)
Resets language resource properties to provided defaults.

Parameters:
original - default resources


Copyright © 2007 JSCAPE Corp. All Rights Reserved.