org.nuiton.wikitty.entities
Class WikittyHookDTO

java.lang.Object
  extended by org.nuiton.wikitty.entities.WikittyHookDTO
All Implemented Interfaces:
Serializable, Cloneable, BusinessEntity, WikittyHook

public class WikittyHookDTO
extends Object
implements WikittyHook

See Also:
Serialized Form

Field Summary
protected  Set<String> actionToHook
           
protected  String mimetype
           
protected  int modificationCount
           
protected  String name
           
protected  String script
           
protected  String wikittyId
           
protected  String wikittyVersion
           
 
Fields inherited from interface org.nuiton.wikitty.entities.WikittyHook
ELEMENT_FIELD_WIKITTYHOOK_ACTIONTOHOOK, ELEMENT_FIELD_WIKITTYHOOK_MIMETYPE, ELEMENT_FIELD_WIKITTYHOOK_NAME, ELEMENT_FIELD_WIKITTYHOOK_SCRIPT, EXT_WIKITTYHOOK, FIELD_WIKITTYHOOK_ACTIONTOHOOK, FIELD_WIKITTYHOOK_MIMETYPE, FIELD_WIKITTYHOOK_NAME, FIELD_WIKITTYHOOK_SCRIPT, FQ_FIELD_WIKITTYHOOK_ACTIONTOHOOK, FQ_FIELD_WIKITTYHOOK_MIMETYPE, FQ_FIELD_WIKITTYHOOK_NAME, FQ_FIELD_WIKITTYHOOK_SCRIPT
 
Constructor Summary
WikittyHookDTO()
           
WikittyHookDTO(String wikittyId)
           
 
Method Summary
 void addActionToHook(String... element)
           
 void addAllActionToHook(Collection<String> actionToHook)
           
 void addPropertyChangeListener(PropertyChangeListener listener)
           
 void addPropertyChangeListener(String property, PropertyChangeListener listener)
           
 void clearActionToHook()
           
 void copyFrom(BusinessEntity source)
           
 Set<String> getActionToHook()
           
 Collection<String> getExtensionFields(String ext)
           
 Collection<String> getExtensionNames()
           
 Object getField(String ext, String fieldName)
           
 String getMimetype()
           
 String getName()
           
 String getScript()
           
 String getWikittyId()
           
 String getWikittyVersion()
           
 void removeActionToHook(String... element)
           
 void removePropertyChangeListener(PropertyChangeListener listener)
           
 void removePropertyChangeListener(String property, PropertyChangeListener listener)
           
 void setActionToHook(Set<String> actionToHook)
           
 void setField(String ext, String fieldName, Object value)
           
 void setMimetype(String mimetype)
           
 void setName(String name)
           
 void setScript(String script)
           
 void setWikittyId(String wikittyId)
           
 void setWikittyVersion(String wikittyVersion)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected String name

actionToHook

protected Set<String> actionToHook

script

protected String script

mimetype

protected String mimetype

wikittyId

protected String wikittyId

modificationCount

protected int modificationCount

wikittyVersion

protected String wikittyVersion
Constructor Detail

WikittyHookDTO

public WikittyHookDTO()

WikittyHookDTO

public WikittyHookDTO(String wikittyId)
Method Detail

getName

public String getName()
Specified by:
getName in interface WikittyHook

setName

public void setName(String name)
Specified by:
setName in interface WikittyHook

getActionToHook

public Set<String> getActionToHook()
Specified by:
getActionToHook in interface WikittyHook

setActionToHook

public void setActionToHook(Set<String> actionToHook)
Specified by:
setActionToHook in interface WikittyHook

addAllActionToHook

public void addAllActionToHook(Collection<String> actionToHook)
Specified by:
addAllActionToHook in interface WikittyHook

addActionToHook

public void addActionToHook(String... element)
Specified by:
addActionToHook in interface WikittyHook

removeActionToHook

public void removeActionToHook(String... element)
Specified by:
removeActionToHook in interface WikittyHook

clearActionToHook

public void clearActionToHook()
Specified by:
clearActionToHook in interface WikittyHook

getScript

public String getScript()
Specified by:
getScript in interface WikittyHook

setScript

public void setScript(String script)
Specified by:
setScript in interface WikittyHook

getMimetype

public String getMimetype()
Specified by:
getMimetype in interface WikittyHook

setMimetype

public void setMimetype(String mimetype)
Specified by:
setMimetype in interface WikittyHook

toString

public String toString()
Overrides:
toString in class Object

getWikittyId

public String getWikittyId()
Specified by:
getWikittyId in interface BusinessEntity

setWikittyId

public void setWikittyId(String wikittyId)

getWikittyVersion

public String getWikittyVersion()
Specified by:
getWikittyVersion in interface BusinessEntity

setWikittyVersion

public void setWikittyVersion(String wikittyVersion)
Specified by:
setWikittyVersion in interface BusinessEntity

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener listener)
Specified by:
addPropertyChangeListener in interface BusinessEntity

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener listener)
Specified by:
removePropertyChangeListener in interface BusinessEntity

addPropertyChangeListener

public void addPropertyChangeListener(String property,
                                      PropertyChangeListener listener)
Specified by:
addPropertyChangeListener in interface BusinessEntity

removePropertyChangeListener

public void removePropertyChangeListener(String property,
                                         PropertyChangeListener listener)
Specified by:
removePropertyChangeListener in interface BusinessEntity

getExtensionFields

public Collection<String> getExtensionFields(String ext)
Specified by:
getExtensionFields in interface BusinessEntity

getExtensionNames

public Collection<String> getExtensionNames()
Specified by:
getExtensionNames in interface BusinessEntity

getField

public Object getField(String ext,
                       String fieldName)
Specified by:
getField in interface BusinessEntity

setField

public void setField(String ext,
                     String fieldName,
                     Object value)
Specified by:
setField in interface BusinessEntity

copyFrom

public void copyFrom(BusinessEntity source)
Specified by:
copyFrom in interface BusinessEntity


Copyright © 2010-2012 CodeLutin. All Rights Reserved.