Interface CommunicationProfile
- All Superinterfaces:
OsidProfile, Sourceable
- All Known Subinterfaces:
CommunicationManager, CommunicationProxyManager
The communication profile describes the interoperability communication services.
-
Method Summary
Modifier and TypeMethodDescriptionGets the supportedCommuniquerecord types.Gets the supportedResponseOptionrecord types.Gets the supportedResponserecord types.booleanTests if a communication service is available.booleansupportsCommuniqueRecordType(Type communiqueRecordType) Tests if the givenCommuniquerecord type is supported.booleansupportsResponseOptionRecordType(Type responseOptionRecordType) Tests if the givenResponseOptionrecord type is supported.booleansupportsResponseRecordType(Type responseRecordType) Tests if the givenResponserecord type is supported.Methods inherited from interface OsidProfile
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordTypeModifier and TypeMethodDescriptionGets this service branch.Gets theBranch Idrepresenting this service branch.Gets a description of this service implementation.Gets a display name for this service implementation.getId()Gets an identifier for this service implementation.Gets the locales supported in this service.Gets the proxy recordTypessupported in this service.Gets the date this service implementation was released.Gets the version of this service implementation.booleanTest for support of a journal branching service.booleanTest for support of a journaling rollback service.booleansupportsOSIDVersion(Version version) Test for support of an OSID specification version.booleansupportsProxyRecordType(Type proxyRecordType) Test for support of a proxy type.Methods inherited from interface Sourceable
getBranding, getBrandingIds, getLicense, getProvider, getProviderIdModifier and TypeMethodDescriptionGets a branding, such as an image or logo, expressed using theAssetinterface.Gets the branding assetIds.Gets the terms of usage.Gets theResourcerepresenting the provider.Gets theIdof the provider.
-
Method Details
-
supportsCommunication
boolean supportsCommunication()Tests if a communication service is available.- Returns:
trueif communication is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getCommuniqueRecordTypes
TypeList getCommuniqueRecordTypes()Gets the supportedCommuniquerecord types.- Returns:
- a list containing the supported
Communiquerecord types - Compliance:
mandatory- This method must be implemented.
-
supportsCommuniqueRecordType
Tests if the givenCommuniquerecord type is supported.- Parameters:
communiqueRecordType- aTypeindicating aCommuniquerecord type- Returns:
trueif the given record type is supported,falseotherwise- Throws:
NullArgumentException-communiqueRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-
getResponseOptionRecordTypes
TypeList getResponseOptionRecordTypes()Gets the supportedResponseOptionrecord types.- Returns:
- a list containing the supported
ResponseOptionrecord types - Compliance:
mandatory- This method must be implemented.
-
supportsResponseOptionRecordType
Tests if the givenResponseOptionrecord type is supported.- Parameters:
responseOptionRecordType- aTypeindicating aResponseOptionrecord type- Returns:
trueif the given record type is supported,falseotherwise- Throws:
NullArgumentException-responseOptionRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-
getResponseRecordTypes
TypeList getResponseRecordTypes()Gets the supportedResponserecord types.- Returns:
- a list containing the supported
Responserecord types - Compliance:
mandatory- This method must be implemented.
-
supportsResponseRecordType
Tests if the givenResponserecord type is supported.- Parameters:
responseRecordType- aTypeindicating aResponserecord type- Returns:
trueif the given record type is supported,falseotherwise- Throws:
NullArgumentException-responseRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-