info.magnolia.module.templatingkit.dam.handlers
Class AbstractHandler

java.lang.Object
  extended by info.magnolia.module.templatingkit.dam.handlers.AbstractHandler
All Implemented Interfaces:
DAMHandler
Direct Known Subclasses:
AbstractInternalContentDAMHandler

public abstract class AbstractHandler
extends Object
implements DAMHandler

Abstract Handler.

Version:
$Id$
Author:
tmiyar

Constructor Summary
AbstractHandler()
           
 
Method Summary
 info.magnolia.cms.core.Content getContent()
           
 Collection getControls()
          controls corresponding to each asset.
 String getDamSelectorOptionLabel()
          Label defined for the container control (type dam).
 String getName()
           
protected  String getNodeDataName(info.magnolia.cms.core.Content node, String nodeDataPrefix)
           
protected  String getNodeDataSuffix()
           
 boolean isEnabled()
           
 void setContent(info.magnolia.cms.core.Content content)
           
 void setDamSelectorOptionLabel(String damSelectorOptionLabel)
           
 void setEnabled(boolean enabled)
           
 void setName(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface info.magnolia.module.templatingkit.dam.DAMHandler
getAsset, getAssetByKey
 

Constructor Detail

AbstractHandler

public AbstractHandler()
Method Detail

getNodeDataName

protected String getNodeDataName(info.magnolia.cms.core.Content node,
                                 String nodeDataPrefix)

getNodeDataSuffix

protected String getNodeDataSuffix()

isEnabled

public boolean isEnabled()
Specified by:
isEnabled in interface DAMHandler

setEnabled

public void setEnabled(boolean enabled)

getName

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

setName

public void setName(String name)

getControls

public Collection getControls()
Description copied from interface: DAMHandler
controls corresponding to each asset.

Specified by:
getControls in interface DAMHandler

getContent

public info.magnolia.cms.core.Content getContent()

setContent

public void setContent(info.magnolia.cms.core.Content content)

getDamSelectorOptionLabel

public String getDamSelectorOptionLabel()
Description copied from interface: DAMHandler
Label defined for the container control (type dam).

Specified by:
getDamSelectorOptionLabel in interface DAMHandler

setDamSelectorOptionLabel

public void setDamSelectorOptionLabel(String damSelectorOptionLabel)


Copyright © 2008-2012 Magnolia International Ltd.. All Rights Reserved.