|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SaveHandler
This class handles the saving in the dialogs.
Method Summary | |
---|---|
info.magnolia.cms.core.ItemType |
getCollectionNodeCreationItemType()
|
info.magnolia.cms.core.ItemType |
getCreationItemType()
Defines the node type to create if isCreate is true |
String |
getNodeCollectionName()
|
String |
getNodeName()
|
String |
getParagraph()
|
String |
getPath()
|
String |
getRepository()
get the name of thre repository saving to |
void |
init(info.magnolia.cms.beans.runtime.MultipartForm form)
Initialize this SaveHandler |
boolean |
isCreate()
True if a not existing path should get created during the save process |
boolean |
save()
Save the data passed by init. |
void |
setCollectionNodeCreationItemType(info.magnolia.cms.core.ItemType collectionNodeCreationItemType)
|
void |
setCreate(boolean create)
Set true if a not existing node should get created during the save process |
void |
setCreationItemType(info.magnolia.cms.core.ItemType creationItemType)
Defines the node type to create if isCreate is true |
void |
setNodeCollectionName(String nodeCollectionName)
|
void |
setNodeName(String nodeName)
|
void |
setParagraph(String paragraph)
|
void |
setPath(String path)
|
void |
setRepository(String repository)
set the name of the repository saving to |
Method Detail |
---|
void init(info.magnolia.cms.beans.runtime.MultipartForm form)
boolean save()
boolean isCreate()
void setCreate(boolean create)
create
- info.magnolia.cms.core.ItemType getCreationItemType()
void setCreationItemType(info.magnolia.cms.core.ItemType creationItemType)
creationItemType
- info.magnolia.cms.core.ItemType getCollectionNodeCreationItemType()
void setCollectionNodeCreationItemType(info.magnolia.cms.core.ItemType collectionNodeCreationItemType)
String getNodeCollectionName()
void setNodeCollectionName(String nodeCollectionName)
nodeCollectionName
- The nodeCollectionName to set.String getNodeName()
void setNodeName(String nodeName)
nodeName
- The nodeName to set.String getParagraph()
void setParagraph(String paragraph)
paragraph
- The paragraph to set.String getPath()
void setPath(String path)
path
- The path to set.void setRepository(String repository)
repository
- the name of the repositoryString getRepository()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |