|
Jive Forums API (5.5.20.2-oracle) Developer Javadocs | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jivesoftware.forum.database.DbContentTag
public class DbContentTag
Database implementation of the Tag interface.
ContentTag
,
Serialized FormField Summary | |
---|---|
protected java.lang.String |
filteredName
|
Fields inherited from interface com.jivesoftware.forum.ContentTag |
---|
SORT_TAGCOUNT, SORT_TAGNAME |
Constructor Summary | |
---|---|
|
DbContentTag()
|
protected |
DbContentTag(long id)
Loads a DbTag from the database based on its id. |
protected |
DbContentTag(java.lang.String tagname)
Loads a DbTag from the database based on its id. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
|
int |
getCachedSize()
Returns the approximate size of the Object in bytes. |
java.util.Date |
getCreationDate()
Returns the date that this tag was created. |
static long |
getFilterExpiration()
Returns the time (in milleseconds) that filtered output can be cached before being expired. |
long |
getID()
Retrieve the unique identifier for the jive object. |
java.lang.String |
getName()
The name of the tag |
int |
getObjectType()
Return the object type of the jive object. |
java.lang.String |
getUnfilteredName()
The unfiltered name of the tag |
int |
hashCode()
|
protected void |
insertIntoDb()
|
void |
readExternal(java.io.DataInput in)
|
void |
setCreationDate(java.util.Date creationDate)
Sets the creation date of this tag. |
static void |
setFilterExpiration(long filterExpiration)
Sets the time (in milleseconds) that filtered output can be cached before being expired. |
void |
setName(java.lang.String name)
|
java.lang.String |
toString()
|
void |
writeExternal(java.io.DataOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String filteredName
Constructor Detail |
---|
protected DbContentTag(long id) throws TagObjectNotFoundException
id
- the unique id of the Tag to load.
TagObjectNotFoundException
protected DbContentTag(java.lang.String tagname) throws TagObjectNotFoundException
tagname
- the unique tagname of the Tag to load
TagObjectNotFoundException
public DbContentTag()
Method Detail |
---|
public long getID()
JiveObject
getID
in interface JiveObject
public int getObjectType()
JiveObject
getObjectType
in interface JiveObject
public java.util.Date getCreationDate()
ContentTag
getCreationDate
in interface ContentTag
public void setCreationDate(java.util.Date creationDate)
ContentTag
setCreationDate
in interface ContentTag
creationDate
- the date this tag was created.public java.lang.String getUnfilteredName()
ContentTag
getUnfilteredName
in interface ContentTag
public java.lang.String getName()
ContentTag
getName
in interface ContentTag
public void setName(java.lang.String name)
public static long getFilterExpiration()
public static void setFilterExpiration(long filterExpiration)
filterExpiration
- the time (in milliseconds) that filtered output can be
cached, or -1 if it can be cached indefinitely.protected void insertIntoDb()
public int getCachedSize()
Cacheable
getCachedSize
in interface Cacheable
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public void readExternal(java.io.DataInput in) throws java.io.IOException
readExternal
in interface com.tangosol.io.ExternalizableLite
java.io.IOException
public void writeExternal(java.io.DataOutput out) throws java.io.IOException
writeExternal
in interface com.tangosol.io.ExternalizableLite
java.io.IOException
|
Jive Forums Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |