public abstract class AbstractViewCommand extends AbstractECCommand implements ViewCommand
Modifier and Type | Field and Description |
---|---|
protected TypedProperty | requestProperties |
protected TypedProperty | responseProperties |
protected ViewCommandContext | viewCommandContext
This is the ViewCommandContext object.
|
Constructor and Description |
---|
AbstractViewCommand()
This is the default constructor for this class.
|
Modifier and Type | Method and Description |
---|---|
boolean | fulfills(java.lang.Long member, java.lang.String relationship)
This method determines whether a given member fulfills a given relationship with the resource.
|
java.lang.Long | getForUserId()
This method gets the user id if the command is to be executed on behalf of a customer.
|
java.lang.Long | getOwner()
This method gets the owner of the protectable resource.
|
TypedProperty | getRequestProperties()
This method gets the request properties of this view command.
|
java.lang.Long[] | getResourceOwners()
This method gets all the organization units that own the resources accessed by this command.
|
TypedProperty | getResponseProperties()
This method gets the response properties of this view command.
|
ViewCommandContext | getViewCommandContext()
This method gets the view command context.
|
java.lang.String | getViewName()
This method gets the view task name for this view command.
|
TypedProperty | mergeProperties(TypedProperty reqProp, TypedProperty resProp)
The method merges three sets of properties passed to this view command.
|
abstract void | performExecute()
This method provides the business logic for this view command.
|
void | setForUserId(java.lang.Long value)
This method sets the "for user id" for a customer agent command.
|
void | setOwner(java.lang.Long value)
This method sets the owner for this command.
|
void | setRequestProperties(TypedProperty viewParm)
This method sets the request properties for the view command.
|
protected void | setResponseProperties(TypedProperty responseParm)
This method sets the response properties for the view command.
|
void | setViewCommandContext(ViewCommandContext aCommandContext)
This method sets the view command context.
|
void | setViewName(java.lang.String value)
This method sets the view task name for this view command.
|
protected TypedProperty responseProperties
protected TypedProperty requestProperties
protected ViewCommandContext viewCommandContext
public AbstractViewCommand()
public java.lang.Long getForUserId()
public java.lang.Long getOwner() throws java.rmi.RemoteException, java.lang.Exception
public TypedProperty getRequestProperties()
public java.lang.Long[] getResourceOwners() throws ECException
public TypedProperty getResponseProperties()
public final java.lang.String getViewName()
public TypedProperty mergeProperties(TypedProperty reqProp, TypedProperty resProp)
public abstract void performExecute() throws ECException
public void setForUserId(java.lang.Long value)
public void setOwner(java.lang.Long value)
public void setRequestProperties(TypedProperty viewParm) throws ECApplicationException
protected void setResponseProperties(TypedProperty responseParm) throws ECApplicationException
public final void setViewName(java.lang.String value)
public boolean fulfills(java.lang.Long member, java.lang.String relationship) throws java.rmi.RemoteException, java.lang.Exception
public void setViewCommandContext(ViewCommandContext aCommandContext)
public ViewCommandContext getViewCommandContext()