|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.guvnor.server.contenthandler.ContentHandler
public abstract class ContentHandler
All content handlers must implement this, and be registered in content_types.properties
Constructor Summary | |
---|---|
ContentHandler()
|
Method Summary | |
---|---|
boolean |
isRuleAsset()
|
protected String |
parentNameFromCategory(AssetItem asset,
String currentParent)
Search Categories in a package against the current rule to see if the current rule should be extended, via another rule. |
abstract void |
retrieveAssetContent(RuleAsset asset,
AssetItem item)
When loading asset content. |
abstract void |
storeAssetContent(RuleAsset asset,
AssetItem repoAsset)
For storing the asset content back into the repo node (any changes). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContentHandler()
Method Detail |
---|
public abstract void retrieveAssetContent(RuleAsset asset, AssetItem item) throws com.google.gwt.user.client.rpc.SerializationException
asset
- The target.item
- The source.
com.google.gwt.user.client.rpc.SerializationException
public abstract void storeAssetContent(RuleAsset asset, AssetItem repoAsset) throws com.google.gwt.user.client.rpc.SerializationException
asset
- repoAsset
-
com.google.gwt.user.client.rpc.SerializationException
public boolean isRuleAsset()
protected String parentNameFromCategory(AssetItem asset, String currentParent)
asset
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |