@ForumDataType @Deprecated public class Forum extends java.lang.Object implements GlobalId
Modifier and Type | Field and Description |
---|---|
static java.lang.Integer |
SORT_BY_ID
Deprecated.
|
static java.lang.Integer |
SORT_BY_LAST_MESSAGE
Deprecated.
|
static java.lang.Integer |
SORT_BY_MESSAGE_COUNT
Deprecated.
|
static java.lang.Integer |
SORT_BY_MESSAGE_COUNT_TODAY
Deprecated.
|
static java.lang.Integer |
SORT_BY_NAME
Deprecated.
|
static java.lang.Integer |
SORT_BY_RELATEDS
Deprecated.
|
static java.lang.Integer |
SORT_BY_REMOTE_ID
Deprecated.
|
static java.lang.Integer |
SORT_BY_REPLICATED
Deprecated.
|
static java.lang.Integer |
SORT_BY_THREAD_COUNT
Deprecated.
|
Constructor and Description |
---|
Forum()
Deprecated.
Constructs a forum object with all scalar fields set to null
and all array fields set to zero-length
arrays.
|
Forum(java.lang.String name_)
Deprecated.
Constructs a forum object with a particular name.
|
Forum(java.lang.String name_,
LocalObject[] relateds_)
Deprecated.
Constructs a forum object with a particular name and a set
of related objects.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer[] |
getAllowedActions()
Deprecated.
Get the actions that the user can do on this object.
|
java.lang.String |
getCreator()
Deprecated.
Returns the creator of the forum
|
java.sql.Timestamp |
getDateCreated()
Deprecated.
Gets the date the forum was created
|
java.lang.Long |
getId()
Deprecated.
Returns this object's local identifier,
null if the object
was not identified locally using a Long Id. |
java.lang.String |
getName()
Deprecated.
Get the name of this forum.
|
LocalObject[] |
getRelateds()
Deprecated.
Get the array of other first-class objects related to this forum.
|
RemoteId |
getRemoteId()
Deprecated.
Returns the
RemoteId of this object's instance identifier,
null if the object is only locally identified. |
java.lang.String |
getUuid()
Deprecated.
Get the uuid of this forum.
|
boolean |
isAllowAnonymousPosting()
Deprecated.
|
boolean |
isPublicForum()
Deprecated.
|
boolean |
isUserSubscribed()
Deprecated.
|
void |
setAllowAnonymousPosting(boolean allowAnonymousPosting_)
Deprecated.
|
void |
setAllowedActions(java.lang.Integer[] allowedActions_)
Deprecated.
Set the actions that the user can do on this object.
|
void |
setCreator(java.lang.String creator_)
Deprecated.
|
void |
setDateCreated(java.sql.Timestamp dateCreated_)
Deprecated.
|
void |
setId(java.lang.Long id_)
Deprecated.
Sets this object's local identifier.
|
void |
setName(java.lang.String name_)
Deprecated.
Set the name of this forum.
|
void |
setPublicForum(boolean publicForum_)
Deprecated.
|
void |
setRelateds(LocalObject[] relateds_)
Deprecated.
Set the array of other first-class objects related to this forum.
|
void |
setRemoteId(RemoteId remoteId_)
Deprecated.
Sets this object's remote identifier.
|
void |
setUserSubscribed(boolean subscribed_)
Deprecated.
|
void |
setUuid(java.lang.String uuid_)
Deprecated.
Set the uuid of this forum.
|
java.lang.String |
toString()
Deprecated.
String useful for debugging purposes.
|
public static final java.lang.Integer SORT_BY_ID
public static final java.lang.Integer SORT_BY_NAME
public static final java.lang.Integer SORT_BY_REPLICATED
public static final java.lang.Integer SORT_BY_RELATEDS
public static final java.lang.Integer SORT_BY_REMOTE_ID
public static final java.lang.Integer SORT_BY_THREAD_COUNT
public static final java.lang.Integer SORT_BY_MESSAGE_COUNT
public static final java.lang.Integer SORT_BY_LAST_MESSAGE
public static final java.lang.Integer SORT_BY_MESSAGE_COUNT_TODAY
public Forum()
public Forum(java.lang.String name_)
name_
- The name.public Forum(java.lang.String name_, LocalObject[] relateds_)
name_
- The name.relateds_
- The related objects.public java.lang.Long getId()
LocalId
null
if the object
was not identified locally using a Long
Id.getId
in interface LocalId
LocalId.setId(Long)
public void setId(java.lang.Long id_)
LocalId
setId
in interface LocalId
id_
- Id to setLocalId.getId()
public RemoteId getRemoteId()
GlobalId
RemoteId
of this object's instance identifier,
null
if the object is only locally identified.getRemoteId
in interface GlobalId
GlobalId.setRemoteId(RemoteId)
public void setRemoteId(RemoteId remoteId_)
GlobalId
setRemoteId
in interface GlobalId
remoteId_
- remove Id to setGlobalId.getRemoteId()
public java.lang.String getName()
public void setName(java.lang.String name_)
name_
- The name.public LocalObject[] getRelateds()
public void setRelateds(LocalObject[] relateds_)
relateds_
- Objects identifying the relateds.public java.lang.Integer[] getAllowedActions()
public void setAllowedActions(java.lang.Integer[] allowedActions_)
Forum
object is returned by the API. It CANNOT be used to
update the allowed actions for a
Forum
allowedActions_
- An array of the actions.public boolean isAllowAnonymousPosting()
public void setAllowAnonymousPosting(boolean allowAnonymousPosting_)
allowAnonymousPosting_
- The allowAnonymousPosting to set.public boolean isPublicForum()
public void setPublicForum(boolean publicForum_)
publicForum_
- The publicForum to set.public boolean isUserSubscribed()
public void setUserSubscribed(boolean subscribed_)
subscribed_
- The _userSubscribed to set.public java.lang.String getCreator()
public void setCreator(java.lang.String creator_)
creator_
- The creator to set.public java.sql.Timestamp getDateCreated()
public void setDateCreated(java.sql.Timestamp dateCreated_)
dateCreated_
- The date created to set.@ConvertWith(value=com.appiancorp.kougar.mapper.parameters.UuidParameterConverter.class) public java.lang.String getUuid()
public void setUuid(java.lang.String uuid_)
uuid_
- The uuid.public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.