Package org.wso2.carbon.mediator.service
Class AbstractMediatorService
- java.lang.Object
-
- org.wso2.carbon.mediator.service.AbstractMediatorService
-
- All Implemented Interfaces:
MediatorService
- Direct Known Subclasses:
SequenceMediatorService
,UILessMediatorService
public abstract class AbstractMediatorService extends Object implements MediatorService
Abstract implementation of theMediatorService
-
-
Constructor Summary
Constructors Constructor Description AbstractMediatorService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getGroupName()
Mediators which doesn't have a group doesn't show up in the add menu, generally these are inner partsString
getUIFolderName()
UIFolderName defaults to the tag local name of the mediatorboolean
isAddChildEnabled()
by default adding children to the mediator is enabledboolean
isAddSiblingEnabled()
by default adding siblings to the mediator is enabledboolean
isEditable()
by default mediators are editableboolean
isMovingAllowed()
by default mediator moving is allowedboolean
isSequenceRefreshRequired()
by default refreshing the sequence is not required-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.wso2.carbon.mediator.service.MediatorService
getDisplayName, getLogicalName, getMediator, getTagLocalName
-
-
-
-
Method Detail
-
getGroupName
public String getGroupName()
Mediators which doesn't have a group doesn't show up in the add menu, generally these are inner parts- Specified by:
getGroupName
in interfaceMediatorService
- Returns:
- group name of the mediator to which this mediator is categorized in the add mediator menu
-
isAddSiblingEnabled
public boolean isAddSiblingEnabled()
by default adding siblings to the mediator is enabled- Specified by:
isAddSiblingEnabled
in interfaceMediatorService
- Returns:
- true if the particular mediator can have siblings
-
isAddChildEnabled
public boolean isAddChildEnabled()
by default adding children to the mediator is enabled- Specified by:
isAddChildEnabled
in interfaceMediatorService
- Returns:
- true if the particular mediator can have children
-
isMovingAllowed
public boolean isMovingAllowed()
by default mediator moving is allowed- Specified by:
isMovingAllowed
in interfaceMediatorService
- Returns:
- true if the particular mediator is allowed to move over
-
isEditable
public boolean isEditable()
by default mediators are editable- Specified by:
isEditable
in interfaceMediatorService
- Returns:
- true if the mediator is editable
-
getUIFolderName
public String getUIFolderName()
UIFolderName defaults to the tag local name of the mediator- Specified by:
getUIFolderName
in interfaceMediatorService
-
isSequenceRefreshRequired
public boolean isSequenceRefreshRequired()
by default refreshing the sequence is not required- Specified by:
isSequenceRefreshRequired
in interfaceMediatorService
- Returns:
- if mediator update requires a sequence editor refresh
-
-