Interface RoomSquattingManager
- All Superinterfaces:
AutoCloseable, Closeable, OsidManager, OsidManager, OsidProfile, RoomSquattingProfile, Sourceable
The room squatting manager provides access to room squatting sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
-
LeaseLookupSession: a session to retrieve leasees -
LeaseQuerySession: a session to query leasees -
LeaseSearchSession: a session to search for leasees -
LeaseAdminSession: a session to create, update and delete leasees -
LeaseNotificationSession: a session to receive notifications for changes in leasees -
LeaseCampusSession: a session to look up lease campus mappings -
LeaseCampusAssignmentSession: a session to manage lease campus mappings -
LeaseSmartCampusSession: a session to manage smart campuses of leasees
-
DeedLookupSession: a session to retrieve deeds -
DeedQuerySession: a session to query deeds -
DeedSearchSession: a session to search for deeds -
DeedAdminSession: a session to create, update and delete deeds -
DeedNotificationSession: a session to receive notifications for changes in deeds -
DeedCampusSession: a session to look up deed campus mappings -
DeedCampusAssignmentSession: a session to manage deed campus mappings -
DeedSmartCampusSession: a session to manage smart campuses of deeds
The room squatting manager also provides a profile for determing the supported search types supported by this service.
-
Method Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with the deed administrative service.getDeedAdminSessionForCampus(Id campusId) Gets theOsidSessionassociated with the deed administrative service for the given campus.Gets the session for assigning deed to campus mappings.Gets the session for retrieving deed to campus mappings.Gets theOsidSessionassociated with the deed lookup service.getDeedLookupSessionForCampus(Id campusId) Gets theOsidSessionassociated with the deed lookup service for the given campus.getDeedNotificationSession(DeedReceiver DeedReceiver) Gets theOsidSessionassociated with the deed notification service.getDeedNotificationSessionForCampus(DeedReceiver DeedReceiver, Id campusId) Gets theOsidSessionassociated with the deed notification service for the given campus.Gets theOsidSessionassociated with the deed query service.getDeedQuerySessionForCampus(Id campusId) Gets theOsidSessionassociated with the deed query service for the given campus.Gets theOsidSessionassociated with the deed search service.getDeedSearchSessionForCampus(Id campusId) Gets theOsidSessionassociated with the deed search service for the given campus.getDeedSmartCampusSession(Id campusId) Gets the session associated with the deed smart campus for the given campus.Gets theOsidSessionassociated with the lease administrative service.getLeaseAdminSessionForCampus(Id campusId) Gets theOsidSessionassociated with the lease administrative service for the given campus.Gets the session for assigning lease to campus mappings.Gets the session for retrieving lease to campus mappings.Gets theOsidSessionassociated with the lease lookup service.getLeaseLookupSessionForCampus(Id campusId) Gets theOsidSessionassociated with the lease lookup service for the given campus.getLeaseNotificationSession(LeaseReceiver leaseReceiver) Gets theOsidSessionassociated with the lease notification service.getLeaseNotificationSessionForCampus(LeaseReceiver leaseReceiver, Id campusId) Gets theOsidSessionassociated with the lease notification service for the given campus.Gets theOsidSessionassociated with the lease query service.getLeaseQuerySessionForCampus(Id campusId) Gets theOsidSessionassociated with the lease query service for the given campus.Gets theOsidSessionassociated with the lease search service.getLeaseSearchSessionForCampus(Id campusId) Gets theOsidSessionassociated with the lease search service for the given campus.getLeaseSmartCampusSession(Id campusId) Gets the session associated with the lease smart campus for the given campus.Gets aRoomSquattingBatchManager.Methods inherited from interface OsidManager
closeMethods inherited from interface OsidManager
changeBranch, initialize, rollbackServiceModifier and TypeMethodDescriptionvoidchangeBranch(Id branchId) Changes the service branch.voidinitialize(OsidRuntimeManager runtime) Initializes this manager.rollbackService(Date rollbackTime) Rolls back this service to a point in time.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 RoomSquattingProfile
getDeedRecordTypes, getDeedSearchRecordTypes, getLeaseRecordTypes, getLeaseSearchRecordTypes, supportsDeedAdmin, supportsDeedCampus, supportsDeedCampusAssignment, supportsDeedLookup, supportsDeedNotification, supportsDeedQuery, supportsDeedRecordType, supportsDeedSearch, supportsDeedSearchRecordType, supportsDeedSmartCampus, supportsLeaseAdmin, supportsLeaseCampus, supportsLeaseCampusAssignment, supportsLeaseLookup, supportsLeaseNotification, supportsLeaseQuery, supportsLeaseRecordType, supportsLeaseSearch, supportsLeaseSearchRecordType, supportsLeaseSmartCampus, supportsRoomSquattingBatch, supportsVisibleFederationModifier and TypeMethodDescriptionGets the supportedDeedrecord types.Gets the supported deed search record types.Gets the supportedLeaserecord types.Gets the supported lease search record types.booleanTests for the availability of a deed administrative service for creating and deleting deeds.booleanTests if a deed to campus lookup session is available.booleanTests if a deed to campus assignment session is available.booleanTests for the availability of a deed lookup service.booleanTests for the availability of a deed notification service.booleanTests if querying deeds is available.booleansupportsDeedRecordType(Type deedRecordType) Tests if the givenDeedrecord type is supported.booleanTests if searching for deeds is available.booleansupportsDeedSearchRecordType(Type deedSearchRecordType) Tests if the given deed search record type is supported.booleanTests if a deed smart campus session is available.booleanTests for the availability of a lease administrative service for creating and deleting leasees.booleanTests if a lease to campus lookup session is available.booleanTests if a lease to campus assignment session is available.booleanTests for the availability of a lease lookup service.booleanTests for the availability of a lease notification service.booleanTests if querying leasees is available.booleansupportsLeaseRecordType(Type leaseRecordType) Tests if the givenLeaserecord type is supported.booleanTests if searching for leasees is available.booleansupportsLeaseSearchRecordType(Type leaseSearchRecordType) Tests if the given lease search record type is supported.booleanTests if a lease smart campus session is available.booleanTests if a service to manage squatters in bulk is available.booleanTests if any deed federation is exposed.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
-
getLeaseLookupSession
Gets theOsidSessionassociated with the lease lookup service.- Returns:
- a
LeaseLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsLeaseLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLeaseLookup()} is {@code true} .
-
getLeaseLookupSessionForCampus
LeaseLookupSession getLeaseLookupSessionForCampus(Id campusId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the lease lookup service for the given campus.- Parameters:
campusId- theIdof theLease- Returns:
- a
LeaseLookupSession - Throws:
NotFoundException- noCampusfound by the givenIdNullArgumentException-campusIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsLeaseLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLeaseLookup()} and {@code supportsVisibleFederation()} are {@code true}
-
getLeaseQuerySession
Gets theOsidSessionassociated with the lease query service.- Returns:
- a
LeaseQuerySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsLeaseQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLeaseQuery()} is {@code true} .
-
getLeaseQuerySessionForCampus
LeaseQuerySession getLeaseQuerySessionForCampus(Id campusId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the lease query service for the given campus.- Parameters:
campusId- theIdof theLease- Returns:
- a
LeaseQuerySession - Throws:
NotFoundException- noCampusfound by the givenIdNullArgumentException-campusIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsLeaseQuery()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLeaseQuery()} and {@code supportsVisibleFederation()} are {@code true}
-
getLeaseSearchSession
Gets theOsidSessionassociated with the lease search service.- Returns:
- a
LeaseSearchSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsLeaseSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLeaseSearch()} is {@code true} .
-
getLeaseSearchSessionForCampus
LeaseSearchSession getLeaseSearchSessionForCampus(Id campusId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the lease search service for the given campus.- Parameters:
campusId- theIdof theLease- Returns:
- a
LeaseSearchSession - Throws:
NotFoundException- noCampusfound by the givenIdNullArgumentException-campusIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsLeaseSearch()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLeaseSearch()} and {@code supportsVisibleFederation()} are {@code true}
-
getLeaseAdminSession
Gets theOsidSessionassociated with the lease administrative service.- Returns:
- a
LeaseAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsLeaseAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLeaseAdmin()} is {@code true} .
-
getLeaseAdminSessionForCampus
LeaseAdminSession getLeaseAdminSessionForCampus(Id campusId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the lease administrative service for the given campus.- Parameters:
campusId- theIdof theLease- Returns:
- a
LeaseAdminSession - Throws:
NotFoundException- noCampusfound by the givenIdNullArgumentException-campusIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsLeaseAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLeaseAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getLeaseNotificationSession
LeaseNotificationSession getLeaseNotificationSession(LeaseReceiver leaseReceiver) throws OperationFailedException Gets theOsidSessionassociated with the lease notification service.- Parameters:
leaseReceiver- the receiver- Returns:
- a
LeaseNotificationSession - Throws:
NullArgumentException-leaseReceiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsLeaseNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLeaseNotification()} is {@code true} .
-
getLeaseNotificationSessionForCampus
LeaseNotificationSession getLeaseNotificationSessionForCampus(LeaseReceiver leaseReceiver, Id campusId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the lease notification service for the given campus.- Parameters:
leaseReceiver- the receivercampusId- theIdof theCampus- Returns:
- a
LeaseNotificationSession - Throws:
NotFoundException- noCampusfound by the givenIdNullArgumentException-leaseReceiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsLeaseNotification()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLeaseNotification()} and {@code supportsVisibleFederation()} are {@code true}
-
getLeaseCampusSession
Gets the session for retrieving lease to campus mappings.- Returns:
- a
LeaseCampusSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsLeaseCampus()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLeaseCampus()} is {@code true} .
-
getLeaseCampusAssignmentSession
Gets the session for assigning lease to campus mappings.- Returns:
- a
LeaseCampusAssignmentSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsLeaseCampusAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLeaseCampusAssignment()} is {@code true} .
-
getLeaseSmartCampusSession
LeaseSmartCampusSession getLeaseSmartCampusSession(Id campusId) throws NotFoundException, OperationFailedException Gets the session associated with the lease smart campus for the given campus.- Parameters:
campusId- theIdof the campus- Returns:
- a
LeaseSmartCampusSession - Throws:
NotFoundException-campusIdnot foundNullArgumentException-campusIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsLeaseSmartCampus()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLeaseSmartCampus()} is {@code true} .
-
getDeedLookupSession
Gets theOsidSessionassociated with the deed lookup service.- Returns:
- a
DeedLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsDeedLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDeedLookup()} is {@code true} .
-
getDeedLookupSessionForCampus
DeedLookupSession getDeedLookupSessionForCampus(Id campusId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the deed lookup service for the given campus.- Parameters:
campusId- theIdof theDeed- Returns:
- a
DeedLookupSession - Throws:
NotFoundException- noCampusfound by the givenIdNullArgumentException-campusIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsDeedLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDeedLookup()} and {@code supportsVisibleFederation()} are {@code true}
-
getDeedQuerySession
Gets theOsidSessionassociated with the deed query service.- Returns:
- a
DeedQuerySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsDeedQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDeedQuery()} is {@code true} .
-
getDeedQuerySessionForCampus
DeedQuerySession getDeedQuerySessionForCampus(Id campusId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the deed query service for the given campus.- Parameters:
campusId- theIdof theDeed- Returns:
- a
DeedQuerySession - Throws:
NotFoundException- noCampusfound by the givenIdNullArgumentException-campusIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsDeedQuery()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDeedQuery()} and {@code supportsVisibleFederation()} are {@code true}
-
getDeedSearchSession
Gets theOsidSessionassociated with the deed search service.- Returns:
- a
DeedSearchSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsDeedSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDeedSearch()} is {@code true} .
-
getDeedSearchSessionForCampus
DeedSearchSession getDeedSearchSessionForCampus(Id campusId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the deed search service for the given campus.- Parameters:
campusId- theIdof theDeed- Returns:
- a
DeedSearchSession - Throws:
NotFoundException- noCampusfound by the givenIdNullArgumentException-campusIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsDeedSearch()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDeedSearch()} and {@code supportsVisibleFederation()} are {@code true}
-
getDeedAdminSession
Gets theOsidSessionassociated with the deed administrative service.- Returns:
- a
DeedAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsDeedAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDeedAdmin()} is {@code true} .
-
getDeedAdminSessionForCampus
DeedAdminSession getDeedAdminSessionForCampus(Id campusId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the deed administrative service for the given campus.- Parameters:
campusId- theIdof theDeed- Returns:
- a
DeedAdminSession - Throws:
NotFoundException- noCampusfound by the givenIdNullArgumentException-campusIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsDeedAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDeedAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getDeedNotificationSession
DeedNotificationSession getDeedNotificationSession(DeedReceiver DeedReceiver) throws OperationFailedException Gets theOsidSessionassociated with the deed notification service.- Parameters:
DeedReceiver- the receiver- Returns:
- a
DeedNotificationSession - Throws:
NullArgumentException-DeedReceiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsDeedNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDeedNotification()} is {@code true} .
-
getDeedNotificationSessionForCampus
DeedNotificationSession getDeedNotificationSessionForCampus(DeedReceiver DeedReceiver, Id campusId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the deed notification service for the given campus.- Parameters:
DeedReceiver- the receivercampusId- theIdof theCampus- Returns:
- a
DeedNotificationSession - Throws:
NotFoundException- noCampusfound by the givenIdNullArgumentException-DeedReceiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsDeedNotification()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDeedNotification()} and {@code supportsVisibleFederation()} are {@code true}
-
getDeedCampusSession
Gets the session for retrieving deed to campus mappings.- Returns:
- a
DeedCampusSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsDeedCampus()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDeedCampus()} is {@code true} .
-
getDeedCampusAssignmentSession
Gets the session for assigning deed to campus mappings.- Returns:
- a
DeedCampusAssignmentSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsDeedCampusAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDeedCampusAssignment()} is {@code true} .
-
getDeedSmartCampusSession
DeedSmartCampusSession getDeedSmartCampusSession(Id campusId) throws NotFoundException, OperationFailedException Gets the session associated with the deed smart campus for the given campus.- Parameters:
campusId- theIdof the campus- Returns:
- a
DeedSmartCampusSession - Throws:
NotFoundException-campusIdnot foundNullArgumentException-campusIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsDeedSmartCampus()isfalse- Compliance:
optional- This method must be implemented if {@code supportsDeedSmartCampus()} is {@code true} .
-
getRoomSquattingBatchManager
Gets aRoomSquattingBatchManager.- Returns:
- a
RoomSquattingBatchManager - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsRoomSquattingBatch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRoomSquattingBatch()} is {@code true} .
-