|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ofbiz.service.group.GroupServiceModel
public class GroupServiceModel
GroupServiceModel.java
| Field Summary | |
|---|---|
static java.lang.String |
module
|
| Constructor Summary | |
|---|---|
GroupServiceModel(org.w3c.dom.Element service)
Constructor using DOM element |
|
GroupServiceModel(java.lang.String serviceName,
java.lang.String serviceMode)
Basic constructor |
|
| Method Summary | |
|---|---|
java.lang.String |
getMode()
Getter for the service mode |
java.lang.String |
getName()
Getter for the service name |
java.util.Map<java.lang.String,java.lang.Object> |
invoke(ServiceDispatcher dispatcher,
java.lang.String localName,
java.util.Map<java.lang.String,java.lang.Object> context)
Invoker method to invoke this service |
boolean |
isOptional()
Returns true of the parameters for this service are to be included as optional |
boolean |
resultToContext()
Returns true if the results of this service are to go back into the context |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String module
| Constructor Detail |
|---|
public GroupServiceModel(org.w3c.dom.Element service)
service - DOM element for the service
public GroupServiceModel(java.lang.String serviceName,
java.lang.String serviceMode)
serviceName - name of the serviceserviceMode - service invocation mode (sync|async)| Method Detail |
|---|
public java.lang.String getMode()
public java.lang.String getName()
public boolean resultToContext()
public boolean isOptional()
public java.util.Map<java.lang.String,java.lang.Object> invoke(ServiceDispatcher dispatcher,
java.lang.String localName,
java.util.Map<java.lang.String,java.lang.Object> context)
throws GenericServiceException
dispatcher - ServiceDispatcher used for this invocationlocalName - Name of the LocalDispatcher usedcontext - Context for this service (will use only valid parameters)
GenericServiceExceptionpublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||