@Name(value="domainActions") @Scope(value=CONVERSATION) @Install(precedence=30) public class ToutaticeDomainActions extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected org.nuxeo.ecm.core.api.CoreSession |
documentManager |
protected org.nuxeo.ecm.platform.ui.web.api.NavigationContext |
navigationContext |
| Constructor and Description |
|---|
ToutaticeDomainActions() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canMakeDefaultPSite()
Let a button to be displayed if this portal can be made as default
|
void |
makeDefaultPortalSite()
Set the default portal site associated with a domain
|
boolean |
showIsDefaultPSite()
Let a label displayed if this portal is the default portal
|
@In(create=true,
required=true)
protected transient org.nuxeo.ecm.core.api.CoreSession documentManager
@In(create=true) protected transient org.nuxeo.ecm.platform.ui.web.api.NavigationContext navigationContext
public void makeDefaultPortalSite()
throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientExceptionpublic boolean canMakeDefaultPSite()
throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientExceptionpublic boolean showIsDefaultPSite()
throws org.nuxeo.ecm.core.api.ClientException
org.nuxeo.ecm.core.api.ClientExceptionCopyright © 2020. All rights reserved.