com.livis.livingtalks.model
Class TypeModel

java.lang.Object
  |
  +--com.livis.livingtalks.model.AbstractModel
        |
        +--com.livis.livingtalks.model.TypeModel
Direct Known Subclasses:
TypeWebImpl

public class TypeModel
extends AbstractModel

See Also:
Serialized Form

Field Summary
 java.lang.String description
           
 java.lang.String editorInDutyList
           
 java.lang.String iconUrl
           
 java.lang.String typePageUrl
           
 
Fields inherited from class com.livis.livingtalks.model.AbstractModel
editor, key, timestamp
 
Constructor Summary
TypeModel()
           
 
Method Summary
protected  TypeModel assignTypeModel(java.lang.String key, java.lang.String editor, java.lang.String timestamp, java.lang.String description, java.lang.String editorInDutyList, java.lang.String iconUrl, java.lang.String typePageUrl)
           
 void clear()
          Set this Model to a clear state suitable for data entry into a clear form it is not recommended behaviour for a clear model to pass a subsequent AbstractModel.check() test.
 java.lang.String getDescription()
           
 java.lang.String getEditorInDutyList()
           
 java.util.Collection getEditorsInDuty()
           
 java.lang.String getIconUrl()
           
 TypeModel getModel()
           
 java.lang.String getName()
           
 java.lang.String getTypePageUrl()
           
 void init()
           
 boolean isEditorInDuty(java.lang.String userName)
           
 void setDescription(java.lang.String description)
           
 void setEditorInDutyList(java.lang.String editorInDutyList)
           
 void setEditorsInDuty(java.util.Collection editorsInDuty)
           
 void setIconUrl(java.lang.String iconUrl)
           
 void setModel(TypeModel model)
           
 void setName(java.lang.String name)
           
 void setTypePageUrl(java.lang.String typePageUrl)
           
protected  java.util.List xmlTagPropertiesStore()
           
 
Methods inherited from class com.livis.livingtalks.model.AbstractModel
assignAbstractModel, check, checkForKeyCreation, checkForNonEmptyKey, createKey, getAutoKey, getEditor, getKey, getTimestamp, isKeyCreatable, makeShort, setAutoKey, setEditor, setKey, setTimestamp, setTimestampFromDate, shallCreateKey, touch, XMLTagProperties
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

editorInDutyList

public java.lang.String editorInDutyList

description

public java.lang.String description

iconUrl

public java.lang.String iconUrl

typePageUrl

public java.lang.String typePageUrl
Constructor Detail

TypeModel

public TypeModel()
Method Detail

assignTypeModel

protected TypeModel assignTypeModel(java.lang.String key,
                                    java.lang.String editor,
                                    java.lang.String timestamp,
                                    java.lang.String description,
                                    java.lang.String editorInDutyList,
                                    java.lang.String iconUrl,
                                    java.lang.String typePageUrl)

getModel

public TypeModel getModel()

setModel

public void setModel(TypeModel model)

init

public void init()

clear

public void clear()
Description copied from class: AbstractModel
Set this Model to a clear state suitable for data entry into a clear form it is not recommended behaviour for a clear model to pass a subsequent AbstractModel.check() test.
Overrides:
clear in class AbstractModel

getEditorInDutyList

public java.lang.String getEditorInDutyList()

setEditorInDutyList

public void setEditorInDutyList(java.lang.String editorInDutyList)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getIconUrl

public java.lang.String getIconUrl()

setIconUrl

public void setIconUrl(java.lang.String iconUrl)

getTypePageUrl

public java.lang.String getTypePageUrl()

setTypePageUrl

public void setTypePageUrl(java.lang.String typePageUrl)

getEditorsInDuty

public java.util.Collection getEditorsInDuty()

setEditorsInDuty

public void setEditorsInDuty(java.util.Collection editorsInDuty)

isEditorInDuty

public boolean isEditorInDuty(java.lang.String userName)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

xmlTagPropertiesStore

protected java.util.List xmlTagPropertiesStore()
Overrides:
xmlTagPropertiesStore in class AbstractModel