Package org.cyclos.entities.access
Class Channel
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,ProcessableForDataTranslation,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.
-
-
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()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
clone, equals, getId, getId, getIds, getUniqueIds, getUniqueIds, hashCode, isPersistent, isTransient
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.IInternalNamedEntity
matches
-
-
-
-
Method Detail
-
getDataTranslationType
public DataTranslationType getDataTranslationType()
Description copied from class:BaseEntityIf this entity allows data translation, should return the translation type- Overrides:
getDataTranslationTypein classBaseEntity- Returns:
-
getNetwork
public Network getNetwork()
Description copied from class:NetworkedEntityReturns the network this entity belongs to- Specified by:
getNetworkin classNetworkedEntity
-
isAllowOperations
public boolean isAllowOperations()
-
isCustom
public boolean isCustom()
-
isEasyInvoice
public boolean isEasyInvoice()
-
isMain
public boolean isMain()
-
isMobile
public boolean isMobile()
-
isOidc
public boolean isOidc()
-
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
-
-