Interface VotingProfile
- All Superinterfaces:
OsidProfile, Sourceable
- All Known Subinterfaces:
VotingManager, VotingProxyManager
The voting profile describes interoperability among voting services.
-
Method Summary
Modifier and TypeMethodDescriptionGets the supportedBallotrecord types.Gets the supportedBallotsearch record types.Gets all the candidate record types supported.Gets all the candidate search record types supported.Gets all the polls record types supported.Gets all the polls search record types supported.Gets the supportedRacerecord types.Gets the supportedRacesearch record types.Gets the supportedVoterAllocationrecord types.Gets the supportedVoterecord types.Gets the supportedVotesearch record types.Gets the supportedVotingResultsrecord types.booleanTests if a ballotadministrative service is supported.booleanTests if looking up ballots is supported.booleanTests if a ballot notification service is supported.booleanTests if retrieving mappings of ballots and polls is supported.booleanTests if managing mappings of ballots and polls is supported.booleanTests if querying ballots is supported.booleansupportsBallotRecordType(Type ballotRecordType) Tests if the givenBallotrecord type is supported.booleanTests if searching ballots is supported.booleansupportsBallotSearchRecordType(Type ballotSearchRecordType) Tests if the givenBallotsearch record type is supported.booleanTests if ballot smart polls are available.booleanTests if candidate administration is supported.booleanTests if candidate lookup is supported.booleanTests if candidate notification is supported.booleanTests if retrieving mappings of candidate and polls is supported.booleanTests if managing mappings of candidate and polls is supported.booleanTests if candidate query is supported.booleansupportsCandidateRecordType(Type candidateRecordType) Tests if a given candidate record type is supported.booleanTests if candidate search is supported.booleansupportsCandidateSearchRecordType(Type candidateSearchRecordType) Tests if a given candidate search type is supported.booleanTests if candidate smart polls are available.booleanTests if polls administration is supported.booleanTests if a polls hierarchy traversal is supported.booleanTests if a polls hierarchy design is supported.booleanTests if polls lookup is supported.booleanTests if polls notification is supported.booleanTests if polls query is supported.booleansupportsPollsRecordType(Type pollsRecordType) Tests if a given polls record type is supported.booleanTests if polls search is supported.booleansupportsPollsSearchRecordType(Type pollsSearchRecordType) Tests if a given polls search record type is supported.booleanTests if a raceadministrative service is supported.booleanTests if looking up races is supported.booleanTests if a race notification service is supported.booleanTests if retrieving mappings of races and polls is supported.booleanTests if managing mappings of races and polls is supported.booleanTests if querying races is supported.booleansupportsRaceRecordType(Type raceRecordType) Tests if the givenRacerecord type is supported.booleanTests if race results is supported.booleanTests if searching races is supported.booleansupportsRaceSearchRecordType(Type raceSearchRecordType) Tests if the givenRacesearch record type is supported.booleanTests if race smart polls are available.booleanTests if federation is visible.booleanTests if looking up votes is supported.booleanTests if a votes notification service is supported.booleanTests if retrieving mappings of votes and polls is supported.booleanTests if managing mappings of votes and polls is supported.booleanTests if querying votes is supported.booleansupportsVoterAllocationRecordType(Type voterAllocationRecordType) Tests if the givenVoterAllocationrecord type is supported.booleansupportsVoteRecordType(Type voteRecordType) Tests if the givenVoterecord type is supported.booleanTests if searching votes is supported.booleansupportsVoteSearchRecordType(Type voteSearchRecordType) Tests if the givenVotesearch record type is supported.booleanTests if vote smart polls are available.booleanTests if voting is supported.booleanTests if voting allocation administration is supported.booleanTests if voting allocation lookup is supported.booleanTests if a voting batch service is supported.booleansupportsVotingResultsRecordType(Type votingResultsRecordType) Tests if the givenVotingResultsrecord type is supported.booleanTests if a voting rules service 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
-
supportsVisibleFederation
boolean supportsVisibleFederation()Tests if federation is visible.- Returns:
trueif visible federation is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsVoting
boolean supportsVoting()Tests if voting is supported.- Returns:
trueif voting is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsRaceResults
boolean supportsRaceResults()Tests if race results is supported.- Returns:
trueif race results is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsVotingAllocationLookup
boolean supportsVotingAllocationLookup()Tests if voting allocation lookup is supported.- Returns:
trueif voting allocation lookup is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsVotingAllocationAdmin
boolean supportsVotingAllocationAdmin()Tests if voting allocation administration is supported.- Returns:
trueif voting allocation administration is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsVoteLookup
boolean supportsVoteLookup()Tests if looking up votes is supported.- Returns:
trueif votes lookup is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsVoteQuery
boolean supportsVoteQuery()Tests if querying votes is supported.- Returns:
trueif votes query is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsVoteSearch
boolean supportsVoteSearch()Tests if searching votes is supported.- Returns:
trueif votes search is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsVoteNotification
boolean supportsVoteNotification()Tests if a votes notification service is supported.- Returns:
trueif votes notification is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsVotePolls
boolean supportsVotePolls()Tests if retrieving mappings of votes and polls is supported.- Returns:
trueif vote polls mapping retrieval is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsVotePollsAssignment
boolean supportsVotePollsAssignment()Tests if managing mappings of votes and polls is supported.- Returns:
trueif vote polls assignment is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsVoteSmartPolls
boolean supportsVoteSmartPolls()Tests if vote smart polls are available.- Returns:
trueif vote smart polls are supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsCandidateLookup
boolean supportsCandidateLookup()Tests if candidate lookup is supported.- Returns:
trueif candidate lookup is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsCandidateQuery
boolean supportsCandidateQuery()Tests if candidate query is supported.- Returns:
trueif candidate query is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsCandidateSearch
boolean supportsCandidateSearch()Tests if candidate search is supported.- Returns:
trueif candidate search is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsCandidateAdmin
boolean supportsCandidateAdmin()Tests if candidate administration is supported.- Returns:
trueif candidate administration is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsCandidateNotification
boolean supportsCandidateNotification()Tests if candidate notification is supported. Messages may be sent when candidates are created, modified, or deleted.- Returns:
trueif candidate notification is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsCandidatePolls
boolean supportsCandidatePolls()Tests if retrieving mappings of candidate and polls is supported.- Returns:
trueif candidate polls mapping retrieval is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsCandidatePollsAssignment
boolean supportsCandidatePollsAssignment()Tests if managing mappings of candidate and polls is supported.- Returns:
trueif candidate polls assignment is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsCandidateSmartPolls
boolean supportsCandidateSmartPolls()Tests if candidate smart polls are available.- Returns:
trueif candidate smart polls are supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsRaceLookup
boolean supportsRaceLookup()Tests if looking up races is supported.- Returns:
trueif race lookup is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsRaceQuery
boolean supportsRaceQuery()Tests if querying races is supported.- Returns:
trueif race query is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsRaceSearch
boolean supportsRaceSearch()Tests if searching races is supported.- Returns:
trueif races search is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsRaceAdmin
boolean supportsRaceAdmin()Tests if a raceadministrative service is supported.- Returns:
trueif race administration is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsRaceNotification
boolean supportsRaceNotification()Tests if a race notification service is supported.- Returns:
trueif race notification is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsRacePolls
boolean supportsRacePolls()Tests if retrieving mappings of races and polls is supported.- Returns:
trueif race polls mapping retrieval is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsRacePollsAssignment
boolean supportsRacePollsAssignment()Tests if managing mappings of races and polls is supported.- Returns:
trueif race polls assignment is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsRaceSmartPolls
boolean supportsRaceSmartPolls()Tests if race smart polls are available.- Returns:
trueif race smart polls are supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsBallotLookup
boolean supportsBallotLookup()Tests if looking up ballots is supported.- Returns:
trueif ballot lookup is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsBallotQuery
boolean supportsBallotQuery()Tests if querying ballots is supported.- Returns:
trueif ballot query is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsBallotSearch
boolean supportsBallotSearch()Tests if searching ballots is supported.- Returns:
trueif ballot search is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsBallotAdmin
boolean supportsBallotAdmin()Tests if a ballotadministrative service is supported.- Returns:
trueif ballot administration is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsBallotNotification
boolean supportsBallotNotification()Tests if a ballot notification service is supported.- Returns:
trueif ballot notification is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsBallotPolls
boolean supportsBallotPolls()Tests if retrieving mappings of ballots and polls is supported.- Returns:
trueif ballot polls mapping retrieval is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsBallotPollsAssignment
boolean supportsBallotPollsAssignment()Tests if managing mappings of ballots and polls is supported.- Returns:
trueif ballot polls assignment is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsBallotSmartPolls
boolean supportsBallotSmartPolls()Tests if ballot smart polls are available.- Returns:
trueif ballot smart polls are supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsPollsLookup
boolean supportsPollsLookup()Tests if polls lookup is supported.- Returns:
trueif polls lookup is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsPollsQuery
boolean supportsPollsQuery()Tests if polls query is supported.- Returns:
trueif polls query is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsPollsSearch
boolean supportsPollsSearch()Tests if polls search is supported.- Returns:
trueif polls search is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsPollsAdmin
boolean supportsPollsAdmin()Tests if polls administration is supported.- Returns:
trueif polls administration is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsPollsNotification
boolean supportsPollsNotification()Tests if polls notification is supported. Messages may be sent whenPollsobjects are created, deleted or updated. Notifications for candidates within polls are sent via the candidate notification session.- Returns:
trueif polls notification is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsPollsHierarchy
boolean supportsPollsHierarchy()Tests if a polls hierarchy traversal is supported.- Returns:
trueif a polls hierarchy traversal is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsPollsHierarchyDesign
boolean supportsPollsHierarchyDesign()Tests if a polls hierarchy design is supported.- Returns:
trueif a polls hierarchy design is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsVotingBatch
boolean supportsVotingBatch()Tests if a voting batch service is supported.- Returns:
trueif a voting batch service is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
supportsVotingRules
boolean supportsVotingRules()Tests if a voting rules service is supported.- Returns:
trueif a voting rules service is supported,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getVoteRecordTypes
TypeList getVoteRecordTypes()Gets the supportedVoterecord types.- Returns:
- a list containing the supported
Voterecord types - Compliance:
mandatory- This method must be implemented.
-
supportsVoteRecordType
Tests if the givenVoterecord type is supported.- Parameters:
voteRecordType- aTypeindicating aVoterecord type- Returns:
trueif the given type is supported,falseotherwise- Throws:
NullArgumentException-voteRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-
getVoteSearchRecordTypes
TypeList getVoteSearchRecordTypes()Gets the supportedVotesearch record types.- Returns:
- a list containing the supported
Votesearch record types - Compliance:
mandatory- This method must be implemented.
-
supportsVoteSearchRecordType
Tests if the givenVotesearch record type is supported.- Parameters:
voteSearchRecordType- aTypeindicating aVotesearch record type- Returns:
trueif the given Type is supported,falseotherwise- Throws:
NullArgumentException-voteSearchRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-
getVoterAllocationRecordTypes
TypeList getVoterAllocationRecordTypes()Gets the supportedVoterAllocationrecord types.- Returns:
- a list containing the supported
VoterAllocationrecord types - Compliance:
mandatory- This method must be implemented.
-
supportsVoterAllocationRecordType
Tests if the givenVoterAllocationrecord type is supported.- Parameters:
voterAllocationRecordType- aTypeindicating aVoterAllocationrecord type- Returns:
trueif the given type is supported,falseotherwise- Throws:
NullArgumentException-voterAllocationRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-
getCandidateRecordTypes
TypeList getCandidateRecordTypes()Gets all the candidate record types supported.- Returns:
- the list of supported candidate record types
- Compliance:
mandatory- This method must be implemented.
-
supportsCandidateRecordType
Tests if a given candidate record type is supported.- Parameters:
candidateRecordType- the candidate type- Returns:
trueif the candidate record type is supported,falseotherwise- Throws:
NullArgumentException-candidateRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-
getCandidateSearchRecordTypes
TypeList getCandidateSearchRecordTypes()Gets all the candidate search record types supported.- Returns:
- the list of supported candidate search record types
- Compliance:
mandatory- This method must be implemented.
-
supportsCandidateSearchRecordType
Tests if a given candidate search type is supported.- Parameters:
candidateSearchRecordType- the candidate search type- Returns:
trueif the candidate search record type is supported,falseotherwise- Throws:
NullArgumentException-candidateSearchRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-
getRaceRecordTypes
TypeList getRaceRecordTypes()Gets the supportedRacerecord types.- Returns:
- a list containing the supported
Racerecord types - Compliance:
mandatory- This method must be implemented.
-
supportsRaceRecordType
Tests if the givenRacerecord type is supported.- Parameters:
raceRecordType- aTypeindicating aRacerecord type- Returns:
trueif the given type is supported,falseotherwise- Throws:
NullArgumentException-raceRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-
getRaceSearchRecordTypes
TypeList getRaceSearchRecordTypes()Gets the supportedRacesearch record types.- Returns:
- a list containing the supported
Racesearch record types - Compliance:
mandatory- This method must be implemented.
-
supportsRaceSearchRecordType
Tests if the givenRacesearch record type is supported.- Parameters:
raceSearchRecordType- aTypeindicating aRacesearch record type- Returns:
trueif the given Type is supported,falseotherwise- Throws:
NullArgumentException-raceSearchRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-
getBallotRecordTypes
TypeList getBallotRecordTypes()Gets the supportedBallotrecord types.- Returns:
- a list containing the supported
Ballotrecord types - Compliance:
mandatory- This method must be implemented.
-
supportsBallotRecordType
Tests if the givenBallotrecord type is supported.- Parameters:
ballotRecordType- aTypeindicating aBallotrecord type- Returns:
trueif the given type is supported,falseotherwise- Throws:
NullArgumentException-ballotRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-
getBallotSearchRecordTypes
TypeList getBallotSearchRecordTypes()Gets the supportedBallotsearch record types.- Returns:
- a list containing the supported
Ballotsearch record types - Compliance:
mandatory- This method must be implemented.
-
supportsBallotSearchRecordType
Tests if the givenBallotsearch record type is supported.- Parameters:
ballotSearchRecordType- aTypeindicating aBallotsearch record type- Returns:
trueif the given Type is supported,falseotherwise- Throws:
NullArgumentException-ballotSearchRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-
getVotingResultsRecordTypes
TypeList getVotingResultsRecordTypes()Gets the supportedVotingResultsrecord types.- Returns:
- a list containing the supported
VotingResultsrecord types - Compliance:
mandatory- This method must be implemented.
-
supportsVotingResultsRecordType
Tests if the givenVotingResultsrecord type is supported.- Parameters:
votingResultsRecordType- aTypeindicating aVotingResultsrecord type- Returns:
trueif the given type is supported,falseotherwise- Throws:
NullArgumentException-votingResultsRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-
getPollsRecordTypes
TypeList getPollsRecordTypes()Gets all the polls record types supported.- Returns:
- the list of supported polls record types
- Compliance:
mandatory- This method must be implemented.
-
supportsPollsRecordType
Tests if a given polls record type is supported.- Parameters:
pollsRecordType- the polls record type- Returns:
trueif the polls record type is supported,falseotherwise- Throws:
NullArgumentException-pollsRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-
getPollsSearchRecordTypes
TypeList getPollsSearchRecordTypes()Gets all the polls search record types supported.- Returns:
- the list of supported polls search record types
- Compliance:
mandatory- This method must be implemented.
-
supportsPollsSearchRecordType
Tests if a given polls search record type is supported.- Parameters:
pollsSearchRecordType- the polls search record type- Returns:
trueif the polls search record type is supported,falseotherwise- Throws:
NullArgumentException-pollsSearchRecordTypeisnull- Compliance:
mandatory- This method must be implemented.
-