Clearspace API (2.5.29) Core Javadocs

com.jivesoftware.community
Interface JiveObject

All Known Subinterfaces:
Announcement, Attachment, AttachmentContentResource, Avatar, BinaryBody, Blog, BlogPost, Comment, com.jivesoftware.community.CommentContentResource, Community, ContentTag, Document, DocumentField, DocumentFieldOption, DocumentFieldType, DocumentPresenter, DocumentType, DocumentTypeElement, DocumentTypeLabelElement, DocumentTypeSectionElement, Draft, ForumMessage, ForumThread, Group, Image, IntrospectiveGroup, JiveContainer, JiveContentObject, JiveHierarchicalContainer, MultiOptionDocumentField, Poll, PrivateMessage, PrivateMessageFolder, Project, Question, SearchEngine, SearchQuery, SocialGroup, StatusLevel, TagSet, Trackback, User, com.jivesoftware.community.VersionableAttachmentContentResource, VersionableContentObject
All Known Implementing Classes:
Ban, CheckPoint, EntityDescriptor, UserTemplate

public interface JiveObject

An interface for jive objects that contains two method common to all jive objects


Method Summary
 long getID()
          Retrieve the unique identifier for the jive object, or -1 if the object hasn't yet been added/inserted into the system.
 int getObjectType()
          Return the object type of the jive object.
 

Method Detail

getID

long getID()
Retrieve the unique identifier for the jive object, or -1 if the object hasn't yet been added/inserted into the system.

Returns:
the unique identifier for the jive object.

getObjectType

int getObjectType()
Return the object type of the jive object.

Returns:
the object type of the jive object.

Clearspace Project Page

Copyright © 1999-2007 Jive Software.