CommunityKnowledgeCenter
instead.@Deprecated public class KnowledgeCenter extends java.lang.Object implements LocalId, java.lang.Cloneable
This class represents a knowledge center in the collaboration application.
Copyright: Copyright (c) 2002, 2003
Company: Appian Corporation
Modifier and Type | Field and Description |
---|---|
static int |
ACCESS_LEVEL_ADMINISTRATIVE
Deprecated.
Access level of administrator
|
static int |
ACCESS_LEVEL_NO_ACCESS
Deprecated.
Access level of 'no access'
|
static int |
ACCESS_LEVEL_READ_ONLY
Deprecated.
Access level of read-only
|
static int |
ACCESS_LEVEL_READ_WRITE
Deprecated.
Access level of read-write
|
static java.lang.Integer |
SORT_BY_ADMINISTRATOR_GROUPS
Deprecated.
Sort by the KnowledgeCenter Administrator Groups property
|
static java.lang.Integer |
SORT_BY_ADMINISTRATORS
Deprecated.
Sort by the KnowledgeCenter Administrators property
|
static java.lang.Integer |
SORT_BY_AUTO_APPROVE_FOR_READ_ONLY_ACCESS
Deprecated.
Sort by the KnowledgeCenter Auto Approve for Read Access property
|
static java.lang.Integer |
SORT_BY_CHANGES_REQUIRE_APPROVAL
Deprecated.
Sort by the KnowledgeCenter Changes Requires Approval property
|
static java.lang.Integer |
SORT_BY_COMMUNITY_ID
Deprecated.
Sort by the Community ID property to which KnowledgeCenter belongs.
|
static java.lang.Integer |
SORT_BY_COMMUNITY_NAME
Deprecated.
Sort by the Community Name property to which the KnowledgeCenter belongs
|
static java.lang.Integer |
SORT_BY_CREATOR
Deprecated.
Sort by the KnowledgeCenter Creator property
|
static java.lang.Integer |
SORT_BY_DATE_CREATED
Deprecated.
Sort by the KnowledgeCenter Date Created property
|
static java.lang.Integer |
SORT_BY_DESCRIPTION
Deprecated.
Sort by the KnowledgeCenter Description property
|
static java.lang.Integer |
SORT_BY_DISCUSSION_THREAD
Deprecated.
Sort by the KnowledgeCenter Discussion Topic/Topic property
|
static java.lang.Integer |
SORT_BY_DOCUMENTS_PENDING_APPROVAL
Deprecated.
Sort by the KnowledgeCenter Document pending Approval property
|
static java.lang.Integer |
SORT_BY_EXPIRATION_DAYS
Deprecated.
Sort by the KnowledgeCenter Expiration Days property
|
static java.lang.Integer |
SORT_BY_FOLDERS
Deprecated.
|
static java.lang.Integer |
SORT_BY_FOLDERS_PENDING_APPROVAL
Deprecated.
Sort by the KnowledgeCenter Folders pending Approval property
|
static java.lang.Integer |
SORT_BY_ID
Deprecated.
Sort by the KnowledgeCenter ID property
|
static java.lang.Integer |
SORT_BY_IS_SEARCHABLE
Deprecated.
Sort by the KnowledgeCenter Is Searchable property
|
static java.lang.Integer |
SORT_BY_NAME
Deprecated.
Sort by the KnowledgeCenter Name property
|
static java.lang.Integer |
SORT_BY_NUMBER_OF_DOCUMENTS
Deprecated.
Sort by the KnowledgeCenter Number of Documents property
|
static java.lang.Integer |
SORT_BY_PARTITION
Deprecated.
Sort by the KnowledgeCenter Partition property
|
static java.lang.Integer |
SORT_BY_READER_GROUPS
Deprecated.
Sort by the KnowledgeCenter Reader Groups property
|
static java.lang.Integer |
SORT_BY_READERS
Deprecated.
Sort by the KnowledgeCenter Readers property
|
static java.lang.Integer |
SORT_BY_SIZE
Deprecated.
Sort by the KnowledgeCenter Size property
|
static java.lang.Integer |
SORT_BY_TYPE
Deprecated.
Sort by the type of KnowledgeCenter property
|
static java.lang.Integer |
SORT_BY_USERS_PENDING_APPROVAL
Deprecated.
Sort by the KnowledgeCenter Users Pending Approval property
|
static java.lang.Integer |
SORT_BY_VERSIONS_PENDING_APPROVAL
Deprecated.
Sort by the KnowledgeCenter Versions pending Approval property
|
static java.lang.Integer |
SORT_BY_WRITER_GROUPS
Deprecated.
Sort by the KnowledgeCenter Writer Groups property
|
static java.lang.Integer |
SORT_BY_WRITERS
Deprecated.
Sort by the KnowledgeCenter Writers property
|
static java.lang.String |
SORT_COLUMN_CREATOR
Deprecated.
Sort knowledge centers by their creator
|
static java.lang.String |
SORT_COLUMN_DESCRIPTION
Deprecated.
Sort knowledge centers by description
|
static java.lang.String |
SORT_COLUMN_LAST_MODIFIED_DATE
Deprecated.
Sort knowledge centers by the last date of modification of any of the
folders and documents contained in the knowledge centers.
|
static java.lang.String |
SORT_COLUMN_NAME
Deprecated.
Sort knowledge centers by name
|
static java.lang.String |
SORT_COLUMN_NUMBER_OF_DOCUMENTS
Deprecated.
Sort knowledge centers by the number of documents they contain
|
static java.lang.Long |
TYPE_COMMUNITY
Deprecated.
Type field for a community knowledge center
|
static java.lang.Long |
TYPE_PERSONAL
Deprecated.
Type field for a personal knowledge center
|
static java.lang.Long |
USER_STATUS_PENDING
Deprecated.
User status of pending
|
static java.lang.Long |
USER_STATUS_SUBSCRIBED
Deprecated.
User status of subscribed
|
static java.lang.Long |
USER_STATUS_UNSUBSCRIBED
Deprecated.
User status of unsubscribed
|
Constructor and Description |
---|
KnowledgeCenter()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Deprecated.
|
int |
getAccessLevel()
Deprecated.
Gets the access level of the current user for this knowledge center
(NOTE: This property is only populated by
KnowledgeCenterService.getAccessLevelForKnowledgeCenter and
KnowledgeCenterService.getAccessLevelForKnowledgeCenters())
|
java.lang.Long[] |
getAdministratorGroups()
Deprecated.
Gets the groups which have administrative permissions on this knowledge
center
|
java.lang.String[] |
getAdministrators()
Deprecated.
Gets the users who have administrative permissions on this knowledge
center
|
java.lang.Long |
getCommunityId()
Deprecated.
Gets the unique ID of the community that contains this knowledge center
|
java.lang.String |
getCommunityName()
Deprecated.
Gets the name of the community that this knowledge center belongs to
|
java.lang.String |
getCreator()
Deprecated.
Gets the user who created this knowledge center
|
java.sql.Timestamp |
getDateCreated()
Deprecated.
Gets the date and time that this knowledge center was created
|
java.lang.String |
getDescription()
Deprecated.
Gets the description of this knowledge center
|
java.lang.Long[] |
getDocumentsPendingApproval()
Deprecated.
Gets all the documents in the knowledge center which are pending
administrative approval
|
java.lang.Long |
getExpirationDays()
Deprecated.
Gets the number of days after upload to this knowledge center that a
document will expire
|
java.lang.Long[] |
getFolders()
Deprecated.
Gets the folders contained in this knowledge center
|
java.lang.Long[] |
getFoldersPendingApproval()
Deprecated.
Gets all the folders in the knowledge center which are pending
administrative approval
|
java.lang.Long |
getForum()
Deprecated.
Gets the Discussion Topic which is associated with this knowledge center
|
java.lang.Long |
getId()
Deprecated.
Gets the unique ID of this knowledge center
|
java.lang.String |
getName()
Deprecated.
Gets the name of this knowledge center
|
java.lang.Long |
getNumberOfDocuments()
Deprecated.
Retrieves the total number of documents in this knowledge center
|
java.lang.String |
getPartition()
Deprecated.
Retrieves the path where the collaboration application stores the physical
knowledge center on the drive
|
java.lang.Long[] |
getReaderGroups()
Deprecated.
Gets the groups which have reader permissions on this knowledge center
|
java.lang.String[] |
getReaders()
Deprecated.
Gets the users who have read permissions on this knowledge center
|
java.lang.Long |
getSize()
Deprecated.
Gets the amount of physical space the documents contained within this
knowledge center occupy
|
static java.lang.Integer |
getSortColumn(java.lang.String attribute_)
Deprecated.
|
java.lang.Long |
getType()
Deprecated.
Gets the type of this knowledge center (either TYPE_COMMUNITY or
TYPE_PERSONAL)
|
java.lang.String[] |
getUsersPendingApproval()
Deprecated.
Gets the users who are awaiting approval for access on this knowledge
center
|
java.lang.Long |
getUserStatus()
Deprecated.
Gets the user status of the current user for this knowledge center
(NOTE: This property is only populated by
KnowledgeCenterService.getAccessLevelForKnowledgeCenter and
KnowledgeCenterService.getAccessLevelForKnowledgeCenters())
|
java.lang.Long[] |
getVersionsPendingApproval()
Deprecated.
Gets the documents in this knowledge center which are awaiting
administrative approval
|
java.lang.Long[] |
getWriterGroups()
Deprecated.
Gets the groups which have write permissions on this knowledge center
|
java.lang.String[] |
getWriters()
Deprecated.
Gets the users who have write permissions on this knowledge center
|
boolean |
isAutoApproveForReadOnlyAccess()
Deprecated.
Checks whether approval is automatically given for any request for
read-only access to this knowledge center
|
boolean |
isChangesRequireApproval()
Deprecated.
Checks whether changes to this knowledge center requires administrator
approval before being committed
|
boolean |
isIsSearchable()
Deprecated.
Checks whether the knowledge center is searchable
|
void |
setAccessLevel(int access_)
Deprecated.
Sets the access level of the current user for this knowledge center
(NOTE: This property is only populated by
KnowledgeCenterService.getAccessLevelForKnowledgeCenter and
KnowledgeCenterService.getAccessLevelForKnowledgeCenters())
|
void |
setAdministratorGroups(java.lang.Long[] grids_)
Deprecated.
Sets the groups which will have administrative permissions on this
knowledge center
|
void |
setAdministrators(java.lang.String[] uids_)
Deprecated.
Sets the users which will have administrative permissions on this
knowledge center
|
void |
setAutoApproveForReadOnlyAccess(boolean autoApproveForReadOnlyAccess_)
Deprecated.
Sets whether approval is automatically given for any request for read-only
access to this knowledge center
|
void |
setChangesRequireApproval(boolean b_)
Deprecated.
Sets whether changes to this folder require administrative approval before
committing.
|
void |
setCommunityId(java.lang.Long coid_)
Deprecated.
Sets the community which contains this knowledge center
|
void |
setCommunityName(java.lang.String commname_)
Deprecated.
Sets the name of the community that contains this knowledge center
|
void |
setCreator(java.lang.String uid_)
Deprecated.
Sets the user who created thiei knowledge center
|
void |
setDateCreated(java.sql.Timestamp dtcreated_)
Deprecated.
Sets the date and time that this knowledge center was created
|
void |
setDescription(java.lang.String desc_)
Deprecated.
Sets the description of this knowledge center
|
void |
setDocumentsPendingApproval(java.lang.Long[] doids_)
Deprecated.
Sets the documents in this knowledge center which are awaiting
administrative approval
|
void |
setExpirationDays(java.lang.Long expirationDays_)
Deprecated.
Sets the number of days after upload to this knowledge center that a
document will expire
|
void |
setFolders(java.lang.Long[] foids_)
Deprecated.
Sets the folders contained in this knowledge center
|
void |
setFoldersPendingApproval(java.lang.Long[] foids_)
Deprecated.
Sets the folders in this knowledge center that are awaiting administrative
approval.
|
void |
setForum(java.lang.Long forumId_)
Deprecated.
Sets the Discussion Topic which is associated wit this knowledge center
|
void |
setId(java.lang.Long kcid_)
Deprecated.
Sets the unique ID of this knowledge center
|
void |
setIsSearchable(boolean isSearchable_)
Deprecated.
Sets whether this knowledge center is searchable
|
void |
setName(java.lang.String name_)
Deprecated.
Sets the name of the knowledge center
|
void |
setNumberOfDocuments(java.lang.Long num_)
Deprecated.
Sets the total number of documents stored in the knowledge center
|
void |
setPartition(java.lang.String partition_)
Deprecated.
Sets the path where the collaboration application stores the physical
knowledge on the drive
|
void |
setReaderGroups(java.lang.Long[] grids_)
Deprecated.
Sets the groups that have read permissions on this knowledge center
|
void |
setReaders(java.lang.String[] uids_)
Deprecated.
Sets the users that have read permissions on this knowledge center
|
void |
setSize(java.lang.Long size_)
Deprecated.
Sets the amount of physical space the documents contained within this
knowledge center occupy
|
void |
setType(java.lang.Long kctype_)
Deprecated.
Sets the type of the knowledge center (either TYPE_COMMUNITY or
TYPE_PERSONAL)
|
void |
setUsersPendingApproval(java.lang.String[] uids_)
Deprecated.
Sets the users who are awaiting approval for access to this knowledge
center
|
void |
setUserStatus(java.lang.Long userStatus_)
Deprecated.
Sets the user status of the current user for this knowledge center
(NOTE: This property is only populated by
KnowledgeCenterService.getAccessLevelForKnowledgeCenter and
KnowledgeCenterService.getAccessLevelForKnowledgeCenters())
|
void |
setVersionsPendingApproval(java.lang.Long[] versionsPendingApproval_)
Deprecated.
Registers the documents which are awaiting administrative approval
|
void |
setWriterGroups(java.lang.Long[] grids_)
Deprecated.
Sets the groups that have write permissions on this knowledge center
|
void |
setWriters(java.lang.String[] uids_)
Deprecated.
Sets the users that have write permissions on this knowledge center
|
public static final java.lang.String SORT_COLUMN_NAME
public static final java.lang.String SORT_COLUMN_DESCRIPTION
public static final java.lang.String SORT_COLUMN_LAST_MODIFIED_DATE
Folder
is its creation date; the last
date of modification of a Document
is its upload date or
the date of its last version.public static final java.lang.String SORT_COLUMN_NUMBER_OF_DOCUMENTS
public static final java.lang.String SORT_COLUMN_CREATOR
public static final java.lang.Long TYPE_COMMUNITY
public static final java.lang.Long TYPE_PERSONAL
public static final int ACCESS_LEVEL_READ_ONLY
public static final int ACCESS_LEVEL_READ_WRITE
public static final int ACCESS_LEVEL_ADMINISTRATIVE
public static final int ACCESS_LEVEL_NO_ACCESS
public static final java.lang.Long USER_STATUS_UNSUBSCRIBED
public static final java.lang.Long USER_STATUS_SUBSCRIBED
public static final java.lang.Long USER_STATUS_PENDING
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_DESCRIPTION
public static final java.lang.Integer SORT_BY_TYPE
public static final java.lang.Integer SORT_BY_COMMUNITY_ID
public static final java.lang.Integer SORT_BY_COMMUNITY_NAME
public static final java.lang.Integer SORT_BY_FOLDERS
public static final java.lang.Integer SORT_BY_IS_SEARCHABLE
public static final java.lang.Integer SORT_BY_CHANGES_REQUIRE_APPROVAL
public static final java.lang.Integer SORT_BY_AUTO_APPROVE_FOR_READ_ONLY_ACCESS
public static final java.lang.Integer SORT_BY_PARTITION
public static final java.lang.Integer SORT_BY_NUMBER_OF_DOCUMENTS
public static final java.lang.Integer SORT_BY_SIZE
public static final java.lang.Integer SORT_BY_DISCUSSION_THREAD
public static final java.lang.Integer SORT_BY_EXPIRATION_DAYS
public static final java.lang.Integer SORT_BY_DATE_CREATED
public static final java.lang.Integer SORT_BY_USERS_PENDING_APPROVAL
public static final java.lang.Integer SORT_BY_DOCUMENTS_PENDING_APPROVAL
public static final java.lang.Integer SORT_BY_FOLDERS_PENDING_APPROVAL
public static final java.lang.Integer SORT_BY_VERSIONS_PENDING_APPROVAL
public static final java.lang.Integer SORT_BY_CREATOR
public static final java.lang.Integer SORT_BY_READERS
public static final java.lang.Integer SORT_BY_WRITERS
public static final java.lang.Integer SORT_BY_ADMINISTRATORS
public static final java.lang.Integer SORT_BY_READER_GROUPS
public static final java.lang.Integer SORT_BY_WRITER_GROUPS
public static final java.lang.Integer SORT_BY_ADMINISTRATOR_GROUPS
public static java.lang.Integer getSortColumn(java.lang.String attribute_)
public java.lang.Long[] getAdministratorGroups()
public java.lang.String[] getAdministrators()
public boolean isChangesRequireApproval()
true
if changes to this knowledge center must be
approved; false
otherwisepublic java.lang.String getCommunityName()
public java.lang.String getCreator()
public java.sql.Timestamp getDateCreated()
Timestamp
object)
that this knowledge center was createdpublic java.lang.String getDescription()
public java.lang.Long getId()
getId
in interface LocalId
LocalId.setId(Long)
public java.lang.String getName()
public java.lang.Long getNumberOfDocuments()
public java.lang.Long[] getReaderGroups()
public java.lang.String[] getReaders()
public java.lang.Long getType()
public java.lang.Long[] getWriterGroups()
public java.lang.String[] getWriters()
public void setAdministratorGroups(java.lang.Long[] grids_)
grids_
- a list of unique IDs of groups to be given administrative
permissionspublic void setAdministrators(java.lang.String[] uids_)
uids_
- a list of unique IDs of users to be given administrative
permissionspublic void setChangesRequireApproval(boolean b_)
b_
- true
if changes to this folder require approval;
false
if otherwisepublic void setCommunityName(java.lang.String commname_)
commname_
- the name of the communitypublic void setCreator(java.lang.String uid_)
uid_
- the unique ID of the userpublic void setDateCreated(java.sql.Timestamp dtcreated_)
dtcreated_
- the date and time (combined as a Timestamp
object) when this knowledge center was createdpublic void setDescription(java.lang.String desc_)
desc_
- the description of this knowledge centerpublic void setId(java.lang.Long kcid_)
setId
in interface LocalId
kcid_
- the unique ID of this knowledge centerLocalId.getId()
public void setName(java.lang.String name_)
name_
- the name if this knowledge centerpublic void setNumberOfDocuments(java.lang.Long num_)
num_
- the total number of documents stored in the knowledge centerpublic void setReaderGroups(java.lang.Long[] grids_)
grids_
- the groups that have read permissionspublic void setReaders(java.lang.String[] uids_)
uids_
- the users that have read permissionspublic void setType(java.lang.Long kctype_)
kctype_
- the type of the knowledge centerpublic void setWriterGroups(java.lang.Long[] grids_)
grids_
- the groups that have write permissionspublic void setWriters(java.lang.String[] uids_)
uids_
- the users that have write permissionspublic boolean isAutoApproveForReadOnlyAccess()
true
if changes to this knowledge center must be
approved; false
otherwisepublic java.lang.Long getCommunityId()
public java.lang.Long getForum()
public java.lang.Long[] getDocumentsPendingApproval()
public java.lang.Long getExpirationDays()
public java.lang.Long[] getFoldersPendingApproval()
public boolean isIsSearchable()
true
if changes to this knowledge center is
searchable; false
otherwisepublic java.lang.String getPartition()
public java.lang.Long getSize()
public java.lang.String[] getUsersPendingApproval()
public void setAutoApproveForReadOnlyAccess(boolean autoApproveForReadOnlyAccess_)
autoApproveForReadOnlyAccess_
- whether it will auto-approve for
read-only access or notpublic void setCommunityId(java.lang.Long coid_)
coid_
- the unique ID of the communitypublic void setForum(java.lang.Long forumId_)
forumId_
- the unique ID of the forumpublic void setDocumentsPendingApproval(java.lang.Long[] doids_)
doids_
- a list of unique IDs of the documentspublic void setExpirationDays(java.lang.Long expirationDays_)
expirationDays_
- the number of days after upload that a document will expirepublic void setFoldersPendingApproval(java.lang.Long[] foids_)
foids_
- a list of the unique IDs of the folderspublic void setIsSearchable(boolean isSearchable_)
isSearchable_
- true
if this knowledge center is searchable;
false
if otherwisepublic void setPartition(java.lang.String partition_)
partition_
- the physical path where the knowledge center is storedpublic void setSize(java.lang.Long size_)
size_
- the amount of physical space in MBytespublic void setUsersPendingApproval(java.lang.String[] uids_)
uids_
- a list of the unique IDs of the userspublic java.lang.Long[] getFolders()
public java.lang.Long[] getVersionsPendingApproval()
public void setFolders(java.lang.Long[] foids_)
foids_
- a list of the unique IDs of the folderspublic void setVersionsPendingApproval(java.lang.Long[] versionsPendingApproval_)
versionsPendingApproval_
- a list of the unique IDs of the documents pending
administrative approvalpublic int getAccessLevel()
public void setAccessLevel(int access_)
access_
- the access level of the current user for this knowledge center.public java.lang.Long getUserStatus()
public void setUserStatus(java.lang.Long userStatus_)
userStatus_
- the user status of the current user for this knowledge center.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.