@ProviderType
public interface CTConfiguration<T extends com.liferay.portal.kernel.model.BaseModel,U extends com.liferay.portal.kernel.model.BaseModel>
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getContentType()
Returns the content type human readable text for this configuration.
|
java.lang.String |
getContentTypeLanguageKey()
Returns the language key for the content type.
|
java.util.function.Function<java.lang.Long,java.util.List<T>> |
getResourceEntitiesByCompanyIdFunction()
Returns the function from the configuration that retrieves the list of
resources entities from a given company.
|
java.util.function.Function<java.lang.Long,T> |
getResourceEntityByResourceEntityIdFunction()
Returns the function from the configuration that retrieves the resource
entity by it's primary key
|
java.lang.Class<T> |
getResourceEntityClass()
Returns the resource entity's class from the configuration
|
java.util.function.Function<T,java.io.Serializable> |
getResourceEntityIdFromResourceEntityFunction()
Returns the function from the configuration that retrieves the resource
entity's primary key from the resource entity
|
java.util.function.Function<U,java.io.Serializable> |
getResourceEntityIdFromVersionEntityFunction()
Returns the function from the configuration that retrieves the resource
entity's primary key from the version entity
|
java.util.function.Function<T,java.util.List<U>> |
getVersionEntitiesFromResourceEntityFunction()
Returns the function from the configuration that retrieves the list of
version entities for a given resource entity.
|
java.lang.Integer[] |
getVersionEntityAllowedStatuses()
Returns an array of the allowed workflow statuses for the version entity
from the configuration
|
java.util.function.Function<java.lang.Long,U> |
getVersionEntityByVersionEntityIdFunction()
Returns the function from the configuration that retrieves the version
entity by it's primary key
|
java.lang.Class<U> |
getVersionEntityClass()
Returns the version entity's class from the configuration
|
java.util.function.Function<T,java.io.Serializable> |
getVersionEntityIdFromResourceEntityFunction()
Returns the function from the configuration that retrieves the version
entity's primary key from the resource entity
|
java.util.function.Function<U,java.io.Serializable> |
getVersionEntityIdFromVersionEntityFunction()
Returns the function from the configuration that retrieves the version
entity's primary key from the version entity
|
java.util.List<java.util.function.Function<U,? extends com.liferay.portal.kernel.model.BaseModel>> |
getVersionEntityRelatedEntityFunctions()
Returns the list of functions that each retrieve a related entity of a
version entity
|
java.util.function.Function<U,java.lang.String> |
getVersionEntitySiteNameFunction() |
java.util.function.Function<U,java.lang.Integer> |
getVersionEntityStatusFunction()
Returns the function from the configuration that retrieves the version
entity's workflow status from the version entity
|
java.util.function.Function<U,java.lang.String> |
getVersionEntityTitleFunction() |
java.util.function.Function<U,java.io.Serializable> |
getVersionEntityVersionFunction() |
java.lang.String getContentType()
java.lang.String getContentTypeLanguageKey()
java.util.function.Function<java.lang.Long,java.util.List<T>> getResourceEntitiesByCompanyIdFunction()
java.util.function.Function<java.lang.Long,T> getResourceEntityByResourceEntityIdFunction()
java.lang.Class<T> getResourceEntityClass()
java.util.function.Function<T,java.io.Serializable> getResourceEntityIdFromResourceEntityFunction()
java.util.function.Function<U,java.io.Serializable> getResourceEntityIdFromVersionEntityFunction()
java.util.function.Function<T,java.util.List<U>> getVersionEntitiesFromResourceEntityFunction()
java.lang.Integer[] getVersionEntityAllowedStatuses()
java.util.function.Function<java.lang.Long,U> getVersionEntityByVersionEntityIdFunction()
java.lang.Class<U> getVersionEntityClass()
java.util.function.Function<T,java.io.Serializable> getVersionEntityIdFromResourceEntityFunction()
java.util.function.Function<U,java.io.Serializable> getVersionEntityIdFromVersionEntityFunction()
java.util.List<java.util.function.Function<U,? extends com.liferay.portal.kernel.model.BaseModel>> getVersionEntityRelatedEntityFunctions()
java.util.function.Function<U,java.lang.String> getVersionEntitySiteNameFunction()
java.util.function.Function<U,java.lang.Integer> getVersionEntityStatusFunction()
java.util.function.Function<U,java.lang.String> getVersionEntityTitleFunction()
java.util.function.Function<U,java.io.Serializable> getVersionEntityVersionFunction()