|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.module.exchangesimple.ActivationContent
public class ActivationContent
Container for all information about activated (to be) content.
Constructor Summary | |
---|---|
ActivationContent()
|
Method Summary | |
---|---|
void |
addFile(String resourceId,
File file)
Adds resource to the list of files for transfer. |
void |
addProperty(String key,
String value)
Adds property to the list of properties. |
Object |
clone()
|
File |
getFile(String resourceId)
|
Map<String,File> |
getFiles()
Cats collection of all files. |
Map<String,String> |
getProperties()
Gets collection of all properties. |
String |
getproperty(String key)
Gets value of property with specified key or null if such property was not set. |
File |
getTempFile()
|
boolean |
isClone()
|
void |
prepareTempFile()
Aggregates all transfer data including boundaries into single temporary file. |
void |
removeFile(String resourceId)
|
String |
removeProperty(String key)
|
void |
removeTempFile()
|
void |
setClone(boolean isClone)
|
void |
setProperty(String key,
String value)
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ActivationContent()
Method Detail |
---|
public void prepareTempFile() throws IOException
IOException
- when some activation content can't be read or writing into temp file fails.public File getTempFile()
public void removeTempFile()
public void addFile(String resourceId, File file)
public File getFile(String resourceId)
public void removeFile(String resourceId)
public Map<String,File> getFiles()
public void addProperty(String key, String value)
public void setProperty(String key, String value)
setProperty(String, String)
public String getproperty(String key)
public String removeProperty(String key)
public Map<String,String> getProperties()
public boolean isClone()
public void setClone(boolean isClone)
public Object clone()
clone
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |