Esri Geoportal Server
1.0

com.esri.gpt.server.assertion.components
Class AsnAssertionRenderer

java.lang.Object
  extended by com.esri.gpt.server.assertion.components.AsnAssertionRenderer

public class AsnAssertionRenderer
extends Object

Creates an assertion based property for response rendering.


Constructor Summary
AsnAssertionRenderer()
          Default constructor.
AsnAssertionRenderer(AsnAssertionRenderer objectToDuplicate)
          Construct by duplicating an existing object.
 
Method Summary
 AsnAssertionRenderer duplicate()
          Produces a deep clone of the object.
 boolean getIncludeOwnerName()
          Gets the flag indicating whether or not the assertion owner name should be rendered.
 boolean getIncludeUserCapabilities()
          Gets the flag indicating whether or not capabilities for the active user should be rendered.
 AsnProperty makeProperty(AsnContext context, Assertion assertion)
          Makes a renderable property based upon an indexed assertion.
 void setIncludeOwnerName(boolean include)
          Sets the flag indicating whether or not the assertion owner name should be rendered.
 void setIncludeUserCapabilities(boolean include)
          Sets the flag indicating whether or not capabilities for the active user should be rendered.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsnAssertionRenderer

public AsnAssertionRenderer()
Default constructor.


AsnAssertionRenderer

public AsnAssertionRenderer(AsnAssertionRenderer objectToDuplicate)
Construct by duplicating an existing object.

Parameters:
objectToDuplicate - the object to duplicate
Method Detail

getIncludeOwnerName

public boolean getIncludeOwnerName()
Gets the flag indicating whether or not the assertion owner name should be rendered.

Returns:
true if the owner name should be rendered

setIncludeOwnerName

public void setIncludeOwnerName(boolean include)
Sets the flag indicating whether or not the assertion owner name should be rendered.

Parameters:
include - true if the owner name should be rendered

getIncludeUserCapabilities

public boolean getIncludeUserCapabilities()
Gets the flag indicating whether or not capabilities for the active user should be rendered.

Returns:
true if user capabilities should be rendered

setIncludeUserCapabilities

public void setIncludeUserCapabilities(boolean include)
Sets the flag indicating whether or not capabilities for the active user should be rendered.

Parameters:
include - true if user capabilities should be rendered

duplicate

public AsnAssertionRenderer duplicate()
Produces a deep clone of the object.
The duplication constructor is invoked.
return new AsnAssertionRenderer(this);

Returns:
the duplicated object

makeProperty

public AsnProperty makeProperty(AsnContext context,
                                Assertion assertion)
Makes a renderable property based upon an indexed assertion.

Parameters:
context - the assertion operation context
assertion - the assertion
Returns:
the property

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.