info.magnolia.module.exchangesimple
Class ActivationContent

java.lang.Object
  extended by info.magnolia.module.exchangesimple.ActivationContent
All Implemented Interfaces:
java.lang.Cloneable

public class ActivationContent
extends java.lang.Object
implements java.lang.Cloneable

This class holds all content needed to be activated

Author:
Sameer Charles $Id: ActivationContent.java 32667 2010-03-13 00:37:06Z gjoseph $

Constructor Summary
ActivationContent()
           
 
Method Summary
 void addFile(java.lang.String resourceId, java.io.File file)
          add file
 void addProperty(java.lang.String key, java.lang.String value)
          add property
 java.lang.Object clone()
           
 java.io.File getFile(java.lang.String resourceId)
          get file
 java.util.Map getFiles()
          get all files
 java.util.Map getProperties()
          get property list
 java.lang.String getproperty(java.lang.String key)
          get property
 void removeFile(java.lang.String resourceId)
          remove file
 void removeProperty(java.lang.String key)
          remove property
 void setProperty(java.lang.String key, java.lang.String value)
          set property
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActivationContent

public ActivationContent()
Method Detail

addFile

public void addFile(java.lang.String resourceId,
                    java.io.File file)
add file

Parameters:
resourceId -
file -

getFile

public java.io.File getFile(java.lang.String resourceId)
get file

Parameters:
resourceId -
Returns:
file

removeFile

public void removeFile(java.lang.String resourceId)
remove file

Parameters:
resourceId -

getFiles

public java.util.Map getFiles()
get all files

Returns:
file list

addProperty

public void addProperty(java.lang.String key,
                        java.lang.String value)
add property

Parameters:
key -
value -

setProperty

public void setProperty(java.lang.String key,
                        java.lang.String value)
set property

Parameters:
key -
value -

getproperty

public java.lang.String getproperty(java.lang.String key)
get property

Parameters:
key -
Returns:
property value

removeProperty

public void removeProperty(java.lang.String key)
remove property

Parameters:
key -

getProperties

public java.util.Map getProperties()
get property list

Returns:
all properties

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object


Copyright © 2003-2010 Magnolia International Ltd.. All Rights Reserved.