|
Jive API (3.0.13) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JiveContainer
A base container object that most jive container objects will implement
| Method Summary | |
|---|---|
Collection<ContainableType> |
getAvailableContentTypes()
Gets an array of ContainableTypes that are available for use by this container type |
Set<CommunityTaggableType> |
getCommunityTaggableTypes()
Returns the set of all CommunityTaggableTypes that are currently enabled for this container. |
Collection<ContainableType> |
getContentTypes()
Gets an array of ContainableTypes that are enabled for this container. |
Date |
getCreationDate()
Returns the Date that the container was created. |
String |
getDescription()
Returns the description of the container. |
String |
getDisplayName()
Returns the display name of the container. |
Set<GenericTaggableType> |
getGenericTaggableTypes()
Returns the set of all GenericTaggableType that are currently available for this container. |
InterceptorManager |
getInterceptorManager()
Returns an interceptor manager that can be used to manage the interceptors for this container. |
Date |
getModificationDate()
Returns the Date this container was last modified. |
String |
getName()
Returns the name of the container. |
Permissions |
getPermissions(AuthToken authToken)
Deprecated. |
PermissionsManager |
getPermissionsManager()
Deprecated. |
Map<String,String> |
getProperties()
Retrieve a map of all the extended properties for the container. |
List<TaggableType> |
getTaggableTypes()
Gets an array of TaggableTypes that are enabled for this container. |
boolean |
isAuthorized(long permissionType)
Deprecated. |
void |
setContentTypes(Collection<ContainableType> types)
Sets an array of ContainableTypes that are enabled for this container; |
void |
setCreationDate(Date creationDate)
Sets the creation date of the container. |
void |
setDescription(String description)
Sets the description of the container. |
void |
setDisplayName(String displayName)
Sets the display name of the container that is used as the URI. |
void |
setModificationDate(Date modificationDate)
Sets the date the container was last modified. |
void |
setName(String name)
Sets the name of the container. |
| Methods inherited from interface com.jivesoftware.community.JiveObject |
|---|
getID, getObjectType |
| Method Detail |
|---|
String getName()
void setName(String name)
throws UnauthorizedException
name - the name of the container.
UnauthorizedException - if not an administrator of this containerString getDisplayName()
void setDisplayName(String displayName)
throws UnauthorizedException,
NameAlreadyExistsException
This method will throw an IllegalArgumentException if
com.jivesoftware.util.StringUtils#containsNonAlphanumeric(String) method
to test a string for non alphanumeric characters.
displayName - the display name
UnauthorizedException - if not an administrator of this container
NameAlreadyExistsException - if attempting to use an existing display name.String getDescription()
void setDescription(String description)
throws UnauthorizedException
description - the description of the container.
UnauthorizedException - if not an administrator of this containerDate getCreationDate()
void setCreationDate(Date creationDate)
throws UnauthorizedException
creationDate - the date the container was created.
UnauthorizedException - if not an administrator of this containerDate getModificationDate()
void setModificationDate(Date modificationDate)
throws UnauthorizedException
modificationDate - the date the container was modified.
UnauthorizedException - if not an admininstrator of this containerCollection<ContainableType> getAvailableContentTypes()
ContainableTypes that are available for use by this container type
ContainableTypes that are available for use by this container typeCollection<ContainableType> getContentTypes()
ContainableTypes that are enabled for this container.
ContainableTypes that are enabled for this container.
void setContentTypes(Collection<ContainableType> types)
throws UnauthorizedException
ContainableTypes that are enabled for this container;
types - an array of ContainableTypes that are enabled for this container
UnauthorizedException - if not an administrator of this containerList<TaggableType> getTaggableTypes()
TaggableTypes that are enabled for this container.
TaggableTypes that are enabled for this container.Set<CommunityTaggableType> getCommunityTaggableTypes()
Set<GenericTaggableType> getGenericTaggableTypes()
InterceptorManager getInterceptorManager()
throws UnauthorizedException
UnauthorizedException - if not an administrator of this container
@Deprecated
PermissionsManager getPermissionsManager()
throws UnauthorizedException
UnauthorizedException - if not an administrator of this container@Deprecated Permissions getPermissions(AuthToken authToken)
authToken - the auth token to lookup permissions for.
@Deprecated boolean isAuthorized(long permissionType)
Permissions.COMMUNITY_ADMIN)
would return true.A list of possible permissions can be found in the Permissions class. Certain methods of this class are restricted to certain permissions as specified in the method comments.
permissionType - permissionType a permission type.
PermissionsMap<String,String> getProperties()
If the user is not authorized to modify the container any method which modifies the map will fail with a UnsupportedOperationException;
|
Jive Product Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||