org.sciplore.resources
Class Mindmap

java.lang.Object
  extended by org.sciplore.resources.Resource
      extended by org.sciplore.resources.Mindmap

@Entity
public class Mindmap
extends Resource

This class represents a mind map


Constructor Summary
Mindmap()
           
Mindmap(User user, File mindmap)
           
 
Method Summary
 Boolean getAllowIR()
           
 Boolean getBackup()
           
 Integer getId()
           
 String getMindmapId()
           
 Boolean getPublishInGallery()
           
 Date getRevision()
           
 User getUser()
           
 void setAllowIR(Boolean allowIR)
           
 void setBackup(Boolean backup)
           
 void setId(Integer id)
           
 void setMindmapId(String mindmapId)
           
 void setPublishInGallery(Boolean publishInGallery)
           
 void setRevision(Date revision)
           
 void setUser(User user)
           
 int store(File mindmap, User user)
           
 
Methods inherited from class org.sciplore.resources.Resource
save
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mindmap

public Mindmap()

Mindmap

public Mindmap(User user,
               File mindmap)
Method Detail

store

public int store(File mindmap,
                 User user)

getId

public Integer getId()
Returns:
the id

setId

public void setId(Integer id)
Parameters:
id - the id to set

getMindmapId

public String getMindmapId()
Returns:
the mindmapId

setMindmapId

public void setMindmapId(String mindmapId)
Parameters:
mindmapId - the mindmapId to set

getUser

public User getUser()
Returns:
the user

setUser

public void setUser(User user)
Parameters:
user - the user to set

getRevision

public Date getRevision()
Returns:
the revision

setRevision

public void setRevision(Date revision)
Parameters:
revision - the revision to set

getPublishInGallery

public Boolean getPublishInGallery()
Returns:
the publishInGallery

setPublishInGallery

public void setPublishInGallery(Boolean publishInGallery)
Parameters:
publishInGallery - the publishInGallery to set

getAllowIR

public Boolean getAllowIR()
Returns:
the allowIR

setAllowIR

public void setAllowIR(Boolean allowIR)
Parameters:
allowIR - the allowIR to set

getBackup

public Boolean getBackup()
Returns:
the backup

setBackup

public void setBackup(Boolean backup)
Parameters:
backup - the backup to set