Oracle Application Server Wireless Java API Reference
B10400-01

oracle.panama.model
Interface ExternalLink

All Superinterfaces:
ModelObject, Service, XMLObject

public interface ExternalLink
extends Service

An ExternalLink is a reference to an external URL.


Field Summary
static int TYPEID
          The type id of this class.
static java.lang.String TYPENAME
          The constant class type identifier

 

Fields inherited from interface oracle.panama.model.Service
CATEGORY_MASTER, CATEGORY_SERVICE, CATEGORY_USER_HOME

 

Method Summary
 java.lang.String getDefaultMimeType()
          Gets the default mime type of the bookmark
 java.lang.String getDefaultURL()
          Gets the default URL of the bookmark
 java.lang.String getExternalURL()
          Deprecated. Replaced by getDefaultURL() Gets the href property (String) value.
 java.lang.String getLanguage()
          Gets the language property value
 java.lang.String getMimeType()
          Deprecated. Replaced by getDefaultMimeType() Gets the mime type property value
 java.lang.String[] getSupportedMimeTypes()
           
 java.lang.String getURL(java.lang.String mimeType)
          Gets the URL corresponding to a mimetype
 void removeURL(java.lang.String mimeType)
          Removes the URL corresponding to a mimetype
 void setDefaultURL(java.lang.String mimeType, java.lang.String url)
          Sets the default mimetype and url of the bookmark
 void setExternalURL(java.lang.String url)
          Deprecated. Replaced by setDefaultURL(String, String) Sets the href property (String) value.
 void setLanguage(java.lang.String language)
          Sets the language property value
 void setMimeType(java.lang.String mimeType)
          Deprecated. Replaced by setDefaultURL(String, String) Sets the mime type property value
 void setURL(java.lang.String mimeType, java.lang.String url)
          Sets the URL corresponding to a mimetype

 

Methods inherited from interface oracle.panama.model.Service
createPresets, createPresets, deletePresets, deletePresets, getAdminURL, getAllPresets, getAreaId, getCategory, getCost, getCustomizationPageURL, getDescription, getGroups, getParent, getPresets, getPresets, getPrimaryAudio, getPrimaryImage, getSecondaryAudio, getSecondaryImage, getSequenceNo, getServiceAccessPoints, getServiceCategories, getShortName, getTransformer, getURL, getURLPathParameter, getURLPathParameter, getUserOwner, getVirtualURL, invoke, isRedirectHelp, isSessionless, isValid, isViewCustomizable, isVisible, removeAllGroups, setAdminURL, setAreaId, setCategory, setCost  

Methods inherited from interface oracle.panama.model.ModelObject
delete, getCreatedDate, getId, getLastModifiedDate, getName, getTypeId, getTypeName, isSystem, setName, setSystem, undoAll

 

Methods inherited from interface oracle.panama.model.XMLObject
setXML, toXML

 

Field Detail

TYPENAME

public static final java.lang.String TYPENAME
The constant class type identifier
See Also:
Constant Field Values

TYPEID

public static final int TYPEID
The type id of this class.
See Also:
Constant Field Values
Method Detail

getExternalURL

public java.lang.String getExternalURL()
Deprecated. Replaced by getDefaultURL() Gets the href property (String) value.
Returns:
The href property value.

setExternalURL

public void setExternalURL(java.lang.String url)
Deprecated. Replaced by setDefaultURL(String, String) Sets the href property (String) value.
Parameters:
url - The new value for the property.

getMimeType

public java.lang.String getMimeType()
Deprecated. Replaced by getDefaultMimeType() Gets the mime type property value
Returns:
the mime type property value

setMimeType

public void setMimeType(java.lang.String mimeType)
Deprecated. Replaced by setDefaultURL(String, String) Sets the mime type property value
Parameters:
mimeType - the new value for the property

getLanguage

public java.lang.String getLanguage()
Gets the language property value
Returns:
the language property value

setLanguage

public void setLanguage(java.lang.String language)
Sets the language property value
Parameters:
language - the new value for the property

getURL

public java.lang.String getURL(java.lang.String mimeType)
Gets the URL corresponding to a mimetype
Parameters:
mimeType - the mime type
Returns:
the URL

setURL

public void setURL(java.lang.String mimeType,
                   java.lang.String url)
Sets the URL corresponding to a mimetype
Parameters:
mimeType - the mime type
url - the URL

removeURL

public void removeURL(java.lang.String mimeType)
Removes the URL corresponding to a mimetype
Parameters:
mimeType - the mime type

getDefaultURL

public java.lang.String getDefaultURL()
Gets the default URL of the bookmark
Returns:
the default url

getDefaultMimeType

public java.lang.String getDefaultMimeType()
Gets the default mime type of the bookmark
Returns:
the default mime type

setDefaultURL

public void setDefaultURL(java.lang.String mimeType,
                          java.lang.String url)
Sets the default mimetype and url of the bookmark
Parameters:
mimeType - the mime type
url - the url

getSupportedMimeTypes

public java.lang.String[] getSupportedMimeTypes()
Returns:
array of mimetypes supported by the device

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.