Esri Geoportal Server
1.0

com.esri.gpt.catalog.management
Class MmdRecord

java.lang.Object
  extended by com.esri.gpt.framework.request.Record
      extended by com.esri.gpt.catalog.management.MmdRecord

public class MmdRecord
extends Record

Represents a metadata record associated with a manage metadata request.


Constructor Summary
MmdRecord()
          Default constructor.
 
Method Summary
 String getApprovalStatus()
          Gets the approval status.
 String getApprovalStatusMsg()
          Gets the approval status resource bundle message.
 boolean getCanEdit()
          Gets the editable status for the document.
 String getCurrentMetadataAccessPolicy()
          Gets the document current access policy.
 String getCurrentMetadataAccessPolicyKeys()
          Gets the document current access policy.
 boolean getFindable()
          Checks if record is findable.
 String getFormattedUpdateDate()
          Gets the formatted update date.
 HrRecord.HarvestFrequency getHarvestFrequency()
          Gets harvest frequency.
 String getHostUrl()
          Gets host URL.
 Timestamp getLastHarvestDate()
          Gets last harvest date.
 int getLocalId()
          Gets local id.
 String getMetadataAccessPolicyType()
          Gets the document Metadata Access policy type.
 String getName()
           
 String getOwnerName()
          Gets the document owner name (username).
 Protocol getProtocol()
          Gets protocol.
 String getPublicationMethod()
          Gets the publication method.
 String getPublicationMethodMsg()
          Gets the publication method resource bundle message.
 HrRecord.RecentJobStatus getRecentJobStatus()
          Gets recent job status.
 boolean getSearchable()
          Checks if records is searchable.
 boolean getSendNotification()
          Gets flag to check if send harvest notification.
 String getSiteUuid()
          Gets the site UUID.
 boolean getSynchronizable()
          Checks if records is synchronizable.
 Timestamp getSystemUpdateDate()
          Gets the system update date.
 String getTitle()
          Gets the title.
 String getUuid()
          Gets the document UUID.
 boolean isExecutingLocally()
          Checks if synchronization of this resource is being executed locally.
 QueryBuilder newQueryBuilder(IterationContext iterationContext)
          Creates new query builder.
 void setApprovalStatus(String status)
          Sets the approval status.
 void setApprovalStatusMsg(String msg)
          Sets the approval status resource bundle message.
protected  void setCanEdit(boolean canEdit)
          Sets the editable status for the document.
 void setCurrentMetadataAccessPolicy(String currentMetadataAccessPolicy)
          Sets the document current access policy.
 void setCurrentMetadataAccessPolicyKeys(String currentMetadataAccessPolicyKeys)
          Sets the document current access policy.
 void setFindable(boolean findable)
          Sets record is findable.
 void setFormattedUpdateDate(String date)
          Sets the formatted update date.
 void setHarvestFrequency(HrRecord.HarvestFrequency harvestFrequency)
          Sets harvest frequency.
 void setHostUrl(String hostUrl)
          Sets host URL.
 void setLastHarvestDate(Timestamp lastHarvestDate)
          Sets last harvest date.
 void setLocalId(int localId)
          Sets local id.
 void setMetadataAccessPolicyType(String metadataAccessPolicyType)
          Sets the document Metadata Access policy type.
 void setOwnerName(String name)
          Sets the document owner name (username).
 void setProtocol(Protocol harvestProtocol)
          Sets protocol.
 void setPublicationMethod(String method)
          Sets the publication method.
 void setPublicationMethodMsg(String msg)
          Sets the publication method resource bundle message.
 void setRecentJobStatus(HrRecord.RecentJobStatus _recentJobStatus)
          Sets recent job status.
 void setSearchable(boolean searchable)
          Sets records is searchable.
 void setSendNotification(boolean sendNotification)
          Sets flag to check if send harvest notification.
 void setSiteUuid(String uuid)
          Sets the site UUID.
 void setSynchronizable(boolean synchronizable)
          Sets records is synchronizable.
 void setSystemUpdateDate(Timestamp date)
          Sets the system update date.
 void setTitle(String title)
          Sets the title.
 void setUuid(String uuid)
          Sets the document UUID.
 
Methods inherited from class com.esri.gpt.framework.request.Record
getIsSelected, setIsSelected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MmdRecord

public MmdRecord()
Default constructor.

Method Detail

getApprovalStatus

public String getApprovalStatus()
Gets the approval status.

Returns:
the approval status

setApprovalStatus

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

Parameters:
status - the approval status

getApprovalStatusMsg

public String getApprovalStatusMsg()
Gets the approval status resource bundle message.

Returns:
the approval status message

setApprovalStatusMsg

public void setApprovalStatusMsg(String msg)
Sets the approval status resource bundle message.

Parameters:
msg - the approval status message

getCanEdit

public boolean getCanEdit()
Gets the editable status for the document.

Returns:
true if the document can be edited

setCanEdit

protected void setCanEdit(boolean canEdit)
Sets the editable status for the document.

Parameters:
canEdit - true if the document can be edited

getFormattedUpdateDate

public String getFormattedUpdateDate()
Gets the formatted update date.

Returns:
the formatted update date

setFormattedUpdateDate

public void setFormattedUpdateDate(String date)
Sets the formatted update date.

Parameters:
date - the formatted update date

getOwnerName

public String getOwnerName()
Gets the document owner name (username).

Returns:
the document owner name

setOwnerName

public void setOwnerName(String name)
Sets the document owner name (username).

Parameters:
name - the document owner name

getPublicationMethod

public String getPublicationMethod()
Gets the publication method.

Returns:
the publication method

setPublicationMethod

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

Parameters:
method - the publication method

getPublicationMethodMsg

public String getPublicationMethodMsg()
Gets the publication method resource bundle message.

Returns:
the publication method message

setPublicationMethodMsg

public void setPublicationMethodMsg(String msg)
Sets the publication method resource bundle message.

Parameters:
msg - the publication method message

getSystemUpdateDate

public Timestamp getSystemUpdateDate()
Gets the system update date.

Returns:
the system update date

setSystemUpdateDate

public void setSystemUpdateDate(Timestamp date)
Sets the system update date.

Parameters:
date - the system update date

getTitle

public String getTitle()
Gets the title.

Returns:
the title

setTitle

public void setTitle(String title)
Sets the title.

Parameters:
title - the title

getUuid

public String getUuid()
Gets the document UUID.

Returns:
the UUID

setUuid

public void setUuid(String uuid)
Sets the document UUID.

Parameters:
uuid - the UUID

getSiteUuid

public String getSiteUuid()
Gets the site UUID.

Returns:
the site UUID

setSiteUuid

public void setSiteUuid(String uuid)
Sets the site UUID.

Parameters:
uuid - site UUID

getMetadataAccessPolicyType

public String getMetadataAccessPolicyType()
Gets the document Metadata Access policy type.

Returns:
access policy type type

setMetadataAccessPolicyType

public void setMetadataAccessPolicyType(String metadataAccessPolicyType)
Sets the document Metadata Access policy type.

Parameters:
metadataAccessPolicyType - access policy type

getCurrentMetadataAccessPolicy

public String getCurrentMetadataAccessPolicy()
Gets the document current access policy.

Returns:
access policy

setCurrentMetadataAccessPolicy

public void setCurrentMetadataAccessPolicy(String currentMetadataAccessPolicy)
Sets the document current access policy.

Parameters:
currentMetadataAccessPolicy - access policy

getCurrentMetadataAccessPolicyKeys

public String getCurrentMetadataAccessPolicyKeys()
Gets the document current access policy.

Returns:
access policy keys

setCurrentMetadataAccessPolicyKeys

public void setCurrentMetadataAccessPolicyKeys(String currentMetadataAccessPolicyKeys)
Sets the document current access policy.

Parameters:
currentMetadataAccessPolicyKeys - access policy keys

getLocalId

public int getLocalId()
Gets local id.

Returns:
local id

setLocalId

public void setLocalId(int localId)
Sets local id.

Parameters:
localId - local id

getHostUrl

public String getHostUrl()
Gets host URL.

Returns:
host URL

setHostUrl

public void setHostUrl(String hostUrl)
Sets host URL.

Parameters:
hostUrl - host URL

getProtocol

public Protocol getProtocol()
Gets protocol.

Returns:
protocol

setProtocol

public void setProtocol(Protocol harvestProtocol)
Sets protocol.

Parameters:
harvestProtocol - protocol

getHarvestFrequency

public HrRecord.HarvestFrequency getHarvestFrequency()
Gets harvest frequency.

Returns:
harvest frequency

setHarvestFrequency

public void setHarvestFrequency(HrRecord.HarvestFrequency harvestFrequency)
Sets harvest frequency.

Parameters:
harvestFrequency - harvest frequency

getSendNotification

public boolean getSendNotification()
Gets flag to check if send harvest notification.

Returns:
flag to check if send harvest notification

setSendNotification

public void setSendNotification(boolean sendNotification)
Sets flag to check if send harvest notification.

Parameters:
sendNotification - flag to check if send harvest notification

getLastHarvestDate

public Timestamp getLastHarvestDate()
Gets last harvest date.

Returns:
last harvest date

setLastHarvestDate

public void setLastHarvestDate(Timestamp lastHarvestDate)
Sets last harvest date.

Parameters:
lastHarvestDate - last harvest date

getRecentJobStatus

public HrRecord.RecentJobStatus getRecentJobStatus()
Gets recent job status.

Returns:
recent job status

isExecutingLocally

public boolean isExecutingLocally()
Checks if synchronization of this resource is being executed locally.

Returns:
true if synchronization of this resource is being executed locally

setRecentJobStatus

public void setRecentJobStatus(HrRecord.RecentJobStatus _recentJobStatus)
Sets recent job status.

Parameters:
_recentJobStatus - recent job status

getName

public String getName()

getFindable

public boolean getFindable()
Checks if record is findable.

Returns:
true if record is findable

setFindable

public void setFindable(boolean findable)
Sets record is findable.

Parameters:
findable - true to make record is findable

getSynchronizable

public boolean getSynchronizable()
Checks if records is synchronizable.

Returns:
true if records is synchronizable

setSynchronizable

public void setSynchronizable(boolean synchronizable)
Sets records is synchronizable.

Parameters:
synchronizable - true to make records is synchronizable

getSearchable

public boolean getSearchable()
Checks if records is searchable.

Returns:
true if records is searchable

setSearchable

public void setSearchable(boolean searchable)
Sets records is searchable.

Parameters:
searchable - true to make records is searchable

newQueryBuilder

public QueryBuilder newQueryBuilder(IterationContext iterationContext)
Creates new query builder.

Parameters:
iterationContext - iteration context (can be null)
Returns:
query builder or null if no protocol

Esri Geoportal Server
1.0

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