Esri Geoportal Server
1.0

com.esri.gpt.server.csw.provider.components
Class TransactionOptions

java.lang.Object
  extended by com.esri.gpt.server.csw.provider.components.TransactionOptions

public class TransactionOptions
extends Object

Options associated with a CSW Transaction request.


Constructor Summary
TransactionOptions()
          Default constructor
 
Method Summary
 String getApprovalStatus()
          Gets the approval status (optional).
 boolean getAutoApprove()
          Gets the status indicating if a new document should be automatically approved.
 StringSet getDeletionIDs()
          Gets the IDs to delete.
 String getPublicationMethod()
          Gets the publication method (optional).
 String getRequestId()
          Gets the request ID.
 TransactionSummary getSummary()
          Gets the transaction summary.
 String getTransactionType()
          Gets the transaction type (Insert,Update,Delete).
 boolean getVerboseResponse()
          Gets the flag indicating a verbose response.
 void setApprovalStatus(String status)
          Sets the approval status (optional).
 void setAutoApprove(boolean autoApprove)
          Sets the status indicating if a new document should be automatically approved.
 void setDeletionIDs(StringSet ids)
          Sets the IDs to delete.
 void setPublicationMethod(String method)
          Sets the publication method (optional).
 void setRequestId(String requestId)
          Sets the request ID.
 void setSummary(TransactionSummary summary)
          Sets the transaction summary.
 void setTransactionType(String transactionType)
          Sets the transaction type (Insert,Update,Delete).
 void setVerboseResponse(boolean verbose)
          Sets the flag indicating a verbose response.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionOptions

public TransactionOptions()
Default constructor

Method Detail

getApprovalStatus

public String getApprovalStatus()
Gets the approval status (optional).

Returns:
the approval status

setApprovalStatus

public void setApprovalStatus(String status)
Sets the approval status (optional).

Parameters:
status - the approval status

getAutoApprove

public boolean getAutoApprove()
Gets the status indicating if a new document should be automatically approved.

Returns:
true if a new document should be automatically approved

setAutoApprove

public void setAutoApprove(boolean autoApprove)
Sets the status indicating if a new document should be automatically approved.

Parameters:
autoApprove - true if a new document should be automatically approved

getDeletionIDs

public StringSet getDeletionIDs()
Gets the IDs to delete.

Returns:
the IDs to delete

setDeletionIDs

public void setDeletionIDs(StringSet ids)
Sets the IDs to delete.

Parameters:
ids - the IDs to delete

getPublicationMethod

public String getPublicationMethod()
Gets the publication method (optional).

Returns:
the publication method

setPublicationMethod

public void setPublicationMethod(String method)
Sets the publication method (optional).

Parameters:
method - the publication method

getRequestId

public String getRequestId()
Gets the request ID.

Returns:
the request ID

setRequestId

public void setRequestId(String requestId)
Sets the request ID.

Parameters:
requestId - the request ID

getSummary

public TransactionSummary getSummary()
Gets the transaction summary.

Returns:
the transaction summary

setSummary

public void setSummary(TransactionSummary summary)
Sets the transaction summary.

Parameters:
summary - the transaction summary

getTransactionType

public String getTransactionType()
Gets the transaction type (Insert,Update,Delete).

Returns:
the transaction type

setTransactionType

public void setTransactionType(String transactionType)
Sets the transaction type (Insert,Update,Delete).

Parameters:
transactionType - the transaction type

getVerboseResponse

public boolean getVerboseResponse()
Gets the flag indicating a verbose response.

Returns:
true for a verbose response

setVerboseResponse

public void setVerboseResponse(boolean verbose)
Sets the flag indicating a verbose response.

Parameters:
verbose - true for a verbose response

Esri Geoportal Server
1.0

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