public class ContentFacetRevert extends Object implements org.apache.commons.collections.Transformer
AbstractContentFacet.setValue(String)
as input, from a ContentFacet
for the same ContentDescriber
but of status = statusFrom
Modifier and Type | Field and Description |
---|---|
protected javax.persistence.EntityManager |
entityManager |
Constructor and Description |
---|
ContentFacetRevert() |
Modifier and Type | Method and Description |
---|---|
Status |
getStatusFrom()
Status from which the facet value will be copied
|
void |
setStatusFrom(Status statusFrom)
Status from which the facet value will be copied
|
Object |
transform(Object input) |
@Transactional(readOnly=false) public Object transform(Object input)
transform
in interface org.apache.commons.collections.Transformer
public Status getStatusFrom()
Status.PUBLISH
public void setStatusFrom(Status statusFrom)
Status.PUBLISH
Copyright © 2018. All rights reserved.