JSCAPE MFT Server

com.jscape.inet.mft
Class DropZoneDescriptor

java.lang.Object
  extended by com.jscape.inet.mft.DropZoneDescriptor

public class DropZoneDescriptor
extends java.lang.Object

Drop zone descriptor.

Author:
Alex Usun

Constructor Summary
DropZoneDescriptor()
          Used in serialization subsystem.
DropZoneDescriptor(java.lang.String zoneName, java.lang.String accountName, java.lang.String virtualZoneDirectory, boolean createDirectoryIfNotExists, boolean overwriteFileIfExists, java.lang.String urlBrandingName, java.lang.String owner)
          Creates a new descriptor.
 
Method Summary
 java.lang.String getAccountName()
          Returns account name.
 java.lang.String getOwner()
          Returns owner account name.
 java.lang.String getUrlBrandingName()
          Returns URL branding name.
 java.lang.String getVirtualZoneDirectory()
          Returns virtual zone directory path in account's file system.
 java.lang.String getZoneName()
          Returns drop zone name.
 boolean isCreateDirectoryIfNotExists()
          Returns whether directory will be created if it does not exist.
 boolean isOverwriteFileIfExists()
          Returns whether file will be overwritten if already exists
 void setAccountName(java.lang.String value)
          Sets account name.
 void setCreateDirectoryIfNotExists(boolean value)
          Sets whether directory should be created if it does not exist.
 void setOverwriteFileIfExists(boolean value)
          Sets whether file will be overwritten if already exists
 void setOwner(java.lang.String value)
          Sets an owner account name.
 void setUrlBrandingName(java.lang.String value)
          Sets URL branding name to map to the drop zone.
 void setVirtualZoneDirectory(java.lang.String value)
          Sets virtual zone directory path in account's file system.
 void setZoneName(java.lang.String value)
          Sets drop zone name.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DropZoneDescriptor

public DropZoneDescriptor(java.lang.String zoneName,
                          java.lang.String accountName,
                          java.lang.String virtualZoneDirectory,
                          boolean createDirectoryIfNotExists,
                          boolean overwriteFileIfExists,
                          java.lang.String urlBrandingName,
                          java.lang.String owner)
Creates a new descriptor.

Parameters:
zoneName - a drop zone name
accountName - an account name
virtualZoneDirectory - a virtual zone directory path in account's file system
createDirectoryIfNotExists - whether directory should be created if it does not exist
overwriteFileIfExists - whether file should be overwritten if already exist
urlBrandingName - an URL branding to map to the drop zone
owner - indicate who the owner of the drop zone is

DropZoneDescriptor

public DropZoneDescriptor()
Used in serialization subsystem.

Method Detail

getZoneName

public java.lang.String getZoneName()
Returns drop zone name.

Returns:
drop zone name

setZoneName

public void setZoneName(java.lang.String value)
Sets drop zone name.

Parameters:
value - a new drop zone name

getAccountName

public java.lang.String getAccountName()
Returns account name.

Returns:
an account name

setAccountName

public void setAccountName(java.lang.String value)
Sets account name.

Parameters:
value - a new account name

getVirtualZoneDirectory

public java.lang.String getVirtualZoneDirectory()
Returns virtual zone directory path in account's file system.

Returns:
virtual zone directory path in account's file system

setVirtualZoneDirectory

public void setVirtualZoneDirectory(java.lang.String value)
Sets virtual zone directory path in account's file system.

Parameters:
value - a new virtual zone directory path in account's file system

isCreateDirectoryIfNotExists

public boolean isCreateDirectoryIfNotExists()
Returns whether directory will be created if it does not exist.

Returns:
true if directory will be created; false otherwise

setCreateDirectoryIfNotExists

public void setCreateDirectoryIfNotExists(boolean value)
Sets whether directory should be created if it does not exist.

Parameters:
value - true if directory should be created

isOverwriteFileIfExists

public boolean isOverwriteFileIfExists()
Returns whether file will be overwritten if already exists

Returns:
true if overwrite file; false otherwise

setOverwriteFileIfExists

public void setOverwriteFileIfExists(boolean value)
Sets whether file will be overwritten if already exists

Parameters:
value - true if file should be overwritten

getUrlBrandingName

public java.lang.String getUrlBrandingName()
Returns URL branding name.

Returns:
URL branding name

setUrlBrandingName

public void setUrlBrandingName(java.lang.String value)
Sets URL branding name to map to the drop zone.

Parameters:
value - URL Branding name or null if there is no any branding

getOwner

public java.lang.String getOwner()
Returns owner account name.

Returns:
an owner name or null if zone doesn't belong to any owner

setOwner

public void setOwner(java.lang.String value)
Sets an owner account name.

Parameters:
value - a new owner account name or null if zone doesn't belong to any owner

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

JSCAPE MFT Server

Copyright © JSCAPE LLC. 1999-2015. All Rights Reserved