Package org.cyclos.entities.access
Class Channel
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,HasNetwork,ProcessableForProxying,DefinesNetwork,IEntity,IInternalNamedEntity,INamedEntity
@Entity public class Channel extends ConfigurationEntity implements DefinesNetwork
A channel is a user interface to access Cyclos functionality. There are some built-in channels (the main web, for example), which cannot be removed. Other channels may be created, in order to interact with Cyclos through web services.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description Channel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataTranslationTypegetDataTranslationType()If this entity allows data translation, should return the translation typeNetworkgetNetwork()Returns the network this entity belongs tobooleanisAllowOperations()booleanisCustom()booleanisEasyInvoice()booleanisMain()booleanisMobile()booleanisOidc()booleanisPay()booleanisPos()booleanisService()booleanisSms()booleanisStateful()booleanisStateless()booleanisTicket()booleanisWebServices()voidsetNetwork(Network network)-
Methods inherited from class org.cyclos.entities.ConfigurationEntity
getDescription, getInternalName, setDescription, setInternalName, toShortString, toString
-
Methods inherited from class org.cyclos.entities.NamedEntity
compareTo, getName, getNames, setName
-
Methods inherited from class org.cyclos.entities.BaseEntity
getVersion
-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
equals, getId, hashCode, id, ids, isPersistent, isTransient, register, setId, uniqueIds, uniqueIds
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.IInternalNamedEntity
matches
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
-
-
-
Method Detail
-
getDataTranslationType
public DataTranslationType getDataTranslationType()
Description copied from class:BaseEntityIf this entity allows data translation, should return the translation type- Overrides:
getDataTranslationTypein classBaseEntity
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to- Specified by:
getNetworkin interfaceHasNetwork
-
isAllowOperations
public boolean isAllowOperations()
-
isCustom
public boolean isCustom()
-
isEasyInvoice
public boolean isEasyInvoice()
-
isMain
public boolean isMain()
-
isMobile
public boolean isMobile()
-
isOidc
public boolean isOidc()
-
isPay
public boolean isPay()
-
isPos
public boolean isPos()
-
isService
public boolean isService()
-
isSms
public boolean isSms()
-
isStateful
public boolean isStateful()
-
isStateless
public boolean isStateless()
-
isTicket
public boolean isTicket()
-
isWebServices
public boolean isWebServices()
-
setNetwork
public void setNetwork(Network network)
- Specified by:
setNetworkin interfaceDefinesNetwork
-
-