Interface CommentingProfile
- All Superinterfaces:
OsidProfile, Sourceable
- All Known Subinterfaces:
CommentingManager, CommentingProxyManager
The commenting profile describes the interoperability among commenting services.
-
Method Summary
Modifier and TypeMethodDescriptionGets the supportedBookrecord types.Gets the supported book search record types.Gets the supportedCommentrecord types.Gets the supported comment search record types.booleanTests for the availability of a book administrative service for creating and deleting books.booleanTests for the availability of a book hierarchy traversal service.booleanTests for the availability of a book hierarchy design service.booleanTests for the availability of a book lookup service.booleanTests for the availability of a book notification service.booleanTests if querying books is available.booleansupportsBookRecordType(Type bookRecordType) Tests if the givenBookrecord type is supported.booleanTests if searching for books is available.booleansupportsBookSearchRecordType(Type bookSearchRecordType) Tests if the given book search record type is supported.booleanTests if managing comments is available.booleanTests if a comment to book lookup session is available.booleanTests if a comment to book assignment session is available.booleanTests for the availability of a commenting batch service.booleanTests for the availability of a comment lookup service.booleanTests if comment notification is available.booleanTests if querying comments is available.booleansupportsCommentRecordType(Type commentRecordType) Tests if the givenCommentrecord type is supported.booleanTests if searching for comments is available.booleansupportsCommentSearchRecordType(Type commentSearchRecordType) Tests if the given comment search record type is supported.booleanTests if a comment smart booking session is available.booleanTests for the availability of a rating lookup service.booleanTests if any book federation is exposed.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
-
supportsVisibleFederation
boolean supportsVisibleFederation()Tests if any book federation is exposed. Federation is exposed when a specific book may be identified, selected and used to create a lookup or admin session. Federation is not exposed when a set of books appears as a single book.- Returns:
trueif visible federation is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsCommentLookup
boolean supportsCommentLookup()Tests for the availability of a comment lookup service.- Returns:
trueif comment lookup is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsRatingLookup
boolean supportsRatingLookup()Tests for the availability of a rating lookup service.- Returns:
trueif rating lookup is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsCommentQuery
boolean supportsCommentQuery()Tests if querying comments is available.- Returns:
trueif comment query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsCommentSearch
boolean supportsCommentSearch()Tests if searching for comments is available.- Returns:
trueif comment search is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsCommentAdmin
boolean supportsCommentAdmin()Tests if managing comments is available.- Returns:
trueif comment admin is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsCommentNotification
boolean supportsCommentNotification()Tests if comment notification is available.- Returns:
trueif comment notification is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsCommentBook
boolean supportsCommentBook()Tests if a comment to book lookup session is available.- Returns:
trueif comment book lookup session is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsCommentBookAssignment
boolean supportsCommentBookAssignment()Tests if a comment to book assignment session is available.- Returns:
trueif comment book assignment is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsCommentSmartBook
boolean supportsCommentSmartBook()Tests if a comment smart booking session is available.- Returns:
trueif comment smart booking is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsBookLookup
boolean supportsBookLookup()Tests for the availability of a book lookup service.- Returns:
trueif book lookup is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsBookQuery
boolean supportsBookQuery()Tests if querying books is available.- Returns:
trueif book query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsBookSearch
boolean supportsBookSearch()Tests if searching for books is available.- Returns:
trueif book search is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsBookAdmin
boolean supportsBookAdmin()Tests for the availability of a book administrative service for creating and deleting books.- Returns:
trueif book administration is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsBookNotification
boolean supportsBookNotification()Tests for the availability of a book notification service.- Returns:
trueif book notification is available,falseotherwise- Compliance:
mandatory- This method must be implemented in all providers.
-
supportsBookHierarchy
boolean supportsBookHierarchy()Tests for the availability of a book hierarchy traversal service.- Returns:
trueif book hierarchy traversal is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsBookHierarchyDesign
boolean supportsBookHierarchyDesign()Tests for the availability of a book hierarchy design service.- Returns:
trueif book hierarchy design is available,falseotherwise- Compliance:
mandatory- This method must be implemented in all providers.
-
supportsCommentingBatch
boolean supportsCommentingBatch()Tests for the availability of a commenting batch service.- Returns:
trueif commenting batch service is available,falseotherwise- Compliance:
mandatory- This method must be implemented in all providers.
-
getCommentRecordTypes
TypeList getCommentRecordTypes()Gets the supportedCommentrecord types.- Returns:
- a list containing the supported comment record types
- Compliance:
mandatory- This method must be implemented.
-
supportsCommentRecordType
Tests if the givenCommentrecord type is supported.- Parameters:
commentRecordType- aTypeindicating aCommentrecord type- Returns:
trueif the givenTypeis supported,falseotherwise- Throws:
NullArgumentException-commentRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-
getCommentSearchRecordTypes
TypeList getCommentSearchRecordTypes()Gets the supported comment search record types.- Returns:
- a list containing the supported comment search record types
- Compliance:
mandatory- This method must be implemented.
-
supportsCommentSearchRecordType
Tests if the given comment search record type is supported.- Parameters:
commentSearchRecordType- aTypeindicating a comment record type- Returns:
trueif the givenTypeis supported,falseotherwise- Throws:
NullArgumentException-commentSearchRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-
getBookRecordTypes
TypeList getBookRecordTypes()Gets the supportedBookrecord types.- Returns:
- a list containing the supported book record types
- Compliance:
mandatory- This method must be implemented.
-
supportsBookRecordType
Tests if the givenBookrecord type is supported.- Parameters:
bookRecordType- aTypeindicating aBookrecord type- Returns:
trueif the givenTypeis supported,falseotherwise- Throws:
NullArgumentException-bookRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-
getBookSearchRecordTypes
TypeList getBookSearchRecordTypes()Gets the supported book search record types.- Returns:
- a list containing the supported book search record types
- Compliance:
mandatory- This method must be implemented.
-
supportsBookSearchRecordType
Tests if the given book search record type is supported.- Parameters:
bookSearchRecordType- aTypeindicating a book record type- Returns:
trueif the givenTypeis supported,falseotherwise- Throws:
NullArgumentException-bookSearchRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-