@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() |
Modifier and Type | Method and Description |
---|---|
protected void |
flushContextCache() |
String |
getCLID() |
String |
getConnectServerUrl() |
ConnectUpdateStatusInfo |
getConnectUpdateStatusInfo() |
String |
getCTID() |
ConnectUpdateStatusInfo |
getDynamicConnectUpdateStatusInfo() |
List<javax.faces.model.SelectItem> |
getInstanceTypes() |
String |
getPackageFileName() |
Blob |
getPackageToUpload() |
String |
getRegistredCLID() |
protected org.nuxeo.connect.registration.ConnectRegistrationService |
getService() |
SubscriptionStatusWrapper |
getStatus() |
String |
getToken() |
boolean |
isConnectBannerEnabled() |
boolean |
isConnectServerReachable() |
boolean |
isRegistred() |
String |
localRegister() |
String |
refreshStatus() |
String |
resetRegister() |
void |
setCLID(String cLID) |
void |
setPackageFileName(String packageFileName) |
void |
setPackageToUpload(Blob packageToUpload) |
void |
setToken(String token) |
String |
unregister() |
void |
uploadPackage() |
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 isRegistred()
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 © 2015 Nuxeo SA. All rights reserved.