@Name(value="connectStatus") @Scope(value=CONVERSATION) public class ConnectStatusActionBean extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected AppCenterViewsManager |
appsViews |
protected String |
CLID |
static String |
CLIENT_BANNER_TYPE |
protected ConnectUpdateStatusInfo |
connectionStatusCache |
protected org.jboss.seam.faces.FacesMessages |
facesMessages |
protected Map<String,String> |
messages |
protected String |
packageFileName |
protected Blob |
packageToUpload |
static String |
SERVER_BANNER_TYPE |
protected String |
token |
Constructor and Description |
---|
ConnectStatusActionBean() |
public static final String CLIENT_BANNER_TYPE
public static final String SERVER_BANNER_TYPE
@In(create=true, required=false) protected org.jboss.seam.faces.FacesMessages facesMessages
@In(create=true, required=true, value="appsViews") protected AppCenterViewsManager appsViews
protected ConnectUpdateStatusInfo connectionStatusCache
protected Blob packageToUpload
protected String packageFileName
public ConnectStatusActionBean()
public String getRegistredCLID() throws org.nuxeo.connect.identity.LogicalInstanceIdentifier.NoCLID
org.nuxeo.connect.identity.LogicalInstanceIdentifier.NoCLID
public String unregister()
public List<javax.faces.model.SelectItem> getInstanceTypes()
protected org.nuxeo.connect.registration.ConnectRegistrationService getService()
@Factory(scope=APPLICATION, value="registredConnectInstance") public boolean isRegistered()
@Deprecated public boolean isRegistred()
isRegistered()
instead.protected void flushContextCache()
@Factory(value="connectServerReachable", scope=EVENT) public boolean isConnectServerReachable()
public String refreshStatus()
public SubscriptionStatusWrapper getStatus()
public String resetRegister()
public void setToken(String token) throws IOException, org.nuxeo.connect.identity.LogicalInstanceIdentifier.InvalidCLID
IOException
org.nuxeo.connect.identity.LogicalInstanceIdentifier.InvalidCLID
public String localRegister()
public String getPackageFileName()
public void setPackageFileName(String packageFileName)
public Blob getPackageToUpload()
public void setPackageToUpload(Blob packageToUpload)
public void uploadPackage() throws IOException
IOException
public ConnectUpdateStatusInfo getDynamicConnectUpdateStatusInfo()
@Factory(scope=APPLICATION, value="connectBannerEnabled") public boolean isConnectBannerEnabled()
@Factory(scope=APPLICATION, value="connectUpdateStatusInfo") public ConnectUpdateStatusInfo getConnectUpdateStatusInfo()
@Factory(value="nuxeoConnectUrl") public String getConnectServerUrl()
Copyright © 2018 Nuxeo. All rights reserved.