Class ValidateCandidateClientSideElement
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.core.ui.StaticFileImportsClientSideElement
org.ametys.core.ui.StaticClientSideElement
org.ametys.cms.content.referencetable.HierarchicalReferenceTableClientSideElement
org.ametys.cms.content.referencetable.ValidateCandidateClientSideElement
- All Implemented Interfaces:
ClientSideElement,LogEnabled,PluginAware,Configurable,Serviceable
Client side element to validate a candidate content
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.core.ui.ClientSideElement
ClientSideElement.Script, ClientSideElement.ScriptFile -
Field Summary
Fields inherited from class org.ametys.cms.content.referencetable.HierarchicalReferenceTableClientSideElement
_contentHelper, _contentTypeEP, _cTypeHelper, _hierarchicalReferenceTableContentsHelper, _resolverFields inherited from class org.ametys.core.ui.StaticFileImportsClientSideElement
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvalidateCandidate(String contentId, int actionId) Validate the candidate by removing the mixin from the contentMethods inherited from class org.ametys.cms.content.referencetable.HierarchicalReferenceTableClientSideElement
canHaveChild, getContentTypeForRoot, getContentTypesForChild, getLeafContentType, getParentAttributePath, getParentAttributePathForRoot, getReferenceTableProperties, getTitleForEdition, serviceMethods inherited from class org.ametys.core.ui.StaticClientSideElement
_configureClass, _configureParameters, _configureScript, configureInitialParametersMethods inherited from class org.ametys.core.ui.StaticFileImportsClientSideElement
_configureDependencies, _configureImports, _configureRights, _configureRightsMode, configure, getDependencies, getId, getPluginName, getRights, getScripts, getScripts, hasRight, setPluginInfo, toStringMethods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
ValidateCandidateClientSideElement
public ValidateCandidateClientSideElement()
-
-
Method Details
-
validateCandidate
public Map<String,Object> validateCandidate(String contentId, int actionId) throws AmetysRepositoryException, com.opensymphony.workflow.WorkflowException Validate the candidate by removing the mixin from the content- Parameters:
contentId- The id of the contentactionId- the id of the workflow action- Returns:
- The result in a Map
- Throws:
com.opensymphony.workflow.WorkflowException- The Workflow ExceptionAmetysRepositoryException- The Ametys Repository Exception
-