com.dotmarketing.portlets.links.model
Class Link

java.lang.Object
  extended by com.dotmarketing.beans.Inode
      extended by com.dotmarketing.beans.WebAsset
          extended by com.dotmarketing.portlets.links.model.Link
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public class Link
extends WebAsset
implements java.io.Serializable, java.lang.Comparable

Author:
Hibernate CodeGenerator
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.dotmarketing.beans.Inode
inode
 
Constructor Summary
Link()
          default constructor
 
Method Summary
 int compareTo(java.lang.Object compObject)
           
 void copy(Link newLink)
           
 long getInode()
           
 long getInternalLinkIdentifier()
          Returns the internalLinkIdentifier.
 java.util.Map<java.lang.String,java.lang.Object> getMap()
          Returns a map representation of the asset
 long getParent()
          Returns the parent.
 java.lang.String getProtocal()
          Returns the protocal.
 java.lang.String getTarget()
          Returns the target.
 java.lang.String getTitle()
          Returns the title.
 java.lang.String getURI(Folder folder)
           
 java.lang.String getUrl()
          Returns the url.
 java.lang.String getWorkingURL()
          Returns the protocal.
 boolean isInternal()
          Returns the internal.
 void setInode(long inode)
          Sets the inode.
 void setInternal(boolean internal)
          Sets the internal.
 void setInternalLinkIdentifier(long internalLinkIdentifier)
          Sets the internalLinkIdentifier.
 void setParent(long parent)
          Sets the parent.
 void setProtocal(java.lang.String protocal)
          Sets the protocal.
 void setTarget(java.lang.String target)
          Sets the target.
 void setTitle(java.lang.String title)
          Sets the title.
 void setUrl(java.lang.String url)
          Sets the url.
 
Methods inherited from class com.dotmarketing.beans.WebAsset
copy, getFriendlyName, getModDate, getModUser, getSortOrder, isDeleted, isLive, isLocked, isShowOnMenu, isWorking, setDeleted, setFriendlyName, setLive, setLocked, setModDate, setModUser, setShowOnMenu, setSortOrder, setWorking
 
Methods inherited from class com.dotmarketing.beans.Inode
addChild, addChild, addParent, addParent, deleteChild, deleteChild, deleteParent, deleteParent, equals, getiDate, getIDate, getIdentifier, getOwner, getType, hasChildren, hasParents, isNew, setiDate, setIDate, setIDate, setIdentifier, setInode, setOwner, setOwner, setParents, setType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Link

public Link()
default constructor

Method Detail

getInode

public long getInode()
Overrides:
getInode in class Inode

getParent

public long getParent()
Returns the parent.

Returns:
long

setParent

public void setParent(long parent)
Sets the parent.

Parameters:
parent - The parent to set

setInode

public void setInode(long inode)
Sets the inode.

Overrides:
setInode in class Inode
Parameters:
inode - The inode to set

copy

public void copy(Link newLink)

getTitle

public java.lang.String getTitle()
Returns the title.

Overrides:
getTitle in class WebAsset
Returns:
String

getUrl

public java.lang.String getUrl()
Returns the url.

Returns:
String

setTitle

public void setTitle(java.lang.String title)
Sets the title.

Overrides:
setTitle in class WebAsset
Parameters:
title - The title to set

setUrl

public void setUrl(java.lang.String url)
Sets the url.

Parameters:
url - The url to set

getTarget

public java.lang.String getTarget()
Returns the target.

Returns:
String

setTarget

public void setTarget(java.lang.String target)
Sets the target.

Parameters:
target - The target to set

compareTo

public int compareTo(java.lang.Object compObject)
Specified by:
compareTo in interface java.lang.Comparable
Specified by:
compareTo in class WebAsset

getProtocal

public java.lang.String getProtocal()
Returns the protocal.

Returns:
String

setProtocal

public void setProtocal(java.lang.String protocal)
Sets the protocal.

Parameters:
protocal - The protocal to set

isInternal

public boolean isInternal()
Returns the internal.

Returns:
boolean

setInternal

public void setInternal(boolean internal)
Sets the internal.

Parameters:
internal - The internal to set

getWorkingURL

public java.lang.String getWorkingURL()
Returns the protocal.

Returns:
String

getURI

public java.lang.String getURI(Folder folder)
Specified by:
getURI in class WebAsset

getInternalLinkIdentifier

public long getInternalLinkIdentifier()
Returns the internalLinkIdentifier.

Returns:
long

setInternalLinkIdentifier

public void setInternalLinkIdentifier(long internalLinkIdentifier)
Sets the internalLinkIdentifier.

Parameters:
internalLinkIdentifier - The internalLinkIdentifier to set

getMap

public java.util.Map<java.lang.String,java.lang.Object> getMap()
Description copied from class: WebAsset
Returns a map representation of the asset

Overrides:
getMap in class WebAsset
Returns:
the map


Copyright © 2006 Dotmarketing, Inc. All Rights Reserved.