|
Jive API (3.0.13) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jivesoftware.community.media.MediaContainableTypeInfoProvider
public class MediaContainableTypeInfoProvider
Governs the containers media types can exist in and the behavior of that content when displayed in a particular container
| Field Summary | |
|---|---|
protected UserContainerManager |
userContainerManager
|
| Constructor Summary | |
|---|---|
MediaContainableTypeInfoProvider()
|
|
| Method Summary | |
|---|---|
CommunityContainableInfoProvider |
getCommunityContainableInfoProvider()
Returns a provider class helping to render objects of this type inside a community (container). |
JiveObject |
getContainerFor(JiveObject object)
Returns the container for the supplied jive object. |
ProjectContainableInfoProvider |
getProjectContainableInfoProvider()
Returns a provider class helping to render objects of this type inside a project (container). |
SocialGroupContainableInfoProvider |
getSocialGroupContainableInfoProvider()
Returns a provider class helping to render objects of this type inside a social group (container). |
List<StatisticsGenerator> |
getStatisticsGenerators()
Returns a list of statistics generators for the type. |
List<ContentObjectType> |
getSubContentTypes()
Returns a list of all sub content types which comprise this containable type. |
String |
getTabViewID()
Returns the ID used to build the tab view URL. |
JiveContainer |
getUserPersonalContainerForContentType(User owner)
For this object type, return the container owned by the user which houses all instances of objects of this current type created by the user. |
boolean |
isAvailableForContainer(int containerType)
For a given container type, returns whether this object type is available for selection when creating the container. |
boolean |
isEnabledByDefaultForContainer(int containerType)
For a given container type, returns whether or not the object type is enabled when there is no previous specification. |
boolean |
isRequiredForContainer(int containerType)
For a given container type, returns whether the object type is required for it when creating the container. |
void |
setUserContainerManager(UserContainerManager userContainerManager)
|
boolean |
userHasCreatePermsFor(JiveContainer container,
User user)
Is the currently logged in user allowed to create objects of this type? |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected UserContainerManager userContainerManager
| Constructor Detail |
|---|
public MediaContainableTypeInfoProvider()
| Method Detail |
|---|
public boolean isAvailableForContainer(int containerType)
ContainableTypeInfoProvider
isAvailableForContainer in interface ContainableTypeInfoProvidercontainerType - The type of container we will check against.
public boolean isRequiredForContainer(int containerType)
ContainableTypeInfoProvider
isRequiredForContainer in interface ContainableTypeInfoProvidercontainerType - The type of container we will check against.
public boolean isEnabledByDefaultForContainer(int containerType)
ContainableTypeInfoProvider
isEnabledByDefaultForContainer in interface ContainableTypeInfoProvidercontainerType - The type of container we will check against.
public List<ContentObjectType> getSubContentTypes()
ContainableTypeInfoProvider
getSubContentTypes in interface ContainableTypeInfoProviderpublic JiveObject getContainerFor(JiveObject object)
ContainableTypeInfoProvider
getContainerFor in interface ContainableTypeInfoProviderobject - The object you are trying to retrieve the container for.
public String getTabViewID()
ContainableTypeInfoProvider
getTabViewID in interface ContainableTypeInfoProviderpublic JiveContainer getUserPersonalContainerForContentType(User owner)
ContainableTypeInfoProvider
getUserPersonalContainerForContentType in interface ContainableTypeInfoProviderowner - the user for which the container belongs to.
public void setUserContainerManager(UserContainerManager userContainerManager)
public List<StatisticsGenerator> getStatisticsGenerators()
ContainableTypeInfoProvider
getStatisticsGenerators in interface ContainableTypeInfoProvider
public boolean userHasCreatePermsFor(JiveContainer container,
User user)
ContainableTypeInfoProvider
userHasCreatePermsFor in interface ContainableTypeInfoProvidercontainer - Container that will be checked for whether user can create objects of this type in it.user - User who will be checked for creation permission.
public CommunityContainableInfoProvider getCommunityContainableInfoProvider()
ContainableTypeInfoProvider
getCommunityContainableInfoProvider in interface ContainableTypeInfoProviderpublic ProjectContainableInfoProvider getProjectContainableInfoProvider()
ContainableTypeInfoProvider
getProjectContainableInfoProvider in interface ContainableTypeInfoProviderpublic SocialGroupContainableInfoProvider getSocialGroupContainableInfoProvider()
ContainableTypeInfoProvider
getSocialGroupContainableInfoProvider in interface ContainableTypeInfoProvider
|
Jive Product Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||