Package fr.fuzeblocks.homeplugin.tpa
Class LocalTpaRequestStore
java.lang.Object
fr.fuzeblocks.homeplugin.tpa.LocalTpaRequestStore
- All Implemented Interfaces:
TpaRequestStore
The type Local tpa request store.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTpaRequest(UUID sender, UUID target) Add tpa request.Gets all tpa senders.getSenderForTarget(UUID target) Gets sender for target.getTargetWithSender(UUID sender) Gets target with sender.getTpaTarget(UUID senderId) Gets tpa target.booleanhasIncomingTpa(UUID target) Has incoming tpa boolean.booleanhasTpaRequest(UUID sender, UUID target) Has tpa request boolean.voidremoveTpaRequest(UUID sender, UUID target) Remove tpa request.
-
Constructor Details
-
LocalTpaRequestStore
public LocalTpaRequestStore()
-
-
Method Details
-
addTpaRequest
Description copied from interface:TpaRequestStoreAdd tpa request.- Specified by:
addTpaRequestin interfaceTpaRequestStore- Parameters:
sender- the sendertarget- the target
-
hasTpaRequest
Description copied from interface:TpaRequestStoreHas tpa request boolean.- Specified by:
hasTpaRequestin interfaceTpaRequestStore- Parameters:
sender- the sendertarget- the target- Returns:
- the boolean
-
removeTpaRequest
Description copied from interface:TpaRequestStoreRemove tpa request.- Specified by:
removeTpaRequestin interfaceTpaRequestStore- Parameters:
sender- the sendertarget- the target
-
getTargetWithSender
Description copied from interface:TpaRequestStoreGets target with sender.- Specified by:
getTargetWithSenderin interfaceTpaRequestStore- Parameters:
sender- the sender- Returns:
- the target with sender
-
hasIncomingTpa
Description copied from interface:TpaRequestStoreHas incoming tpa boolean.- Specified by:
hasIncomingTpain interfaceTpaRequestStore- Parameters:
target- the target- Returns:
- the boolean
-
getSenderForTarget
Description copied from interface:TpaRequestStoreGets sender for target.- Specified by:
getSenderForTargetin interfaceTpaRequestStore- Parameters:
target- the target- Returns:
- the sender for target
-
getTpaTarget
Description copied from interface:TpaRequestStoreGets tpa target.- Specified by:
getTpaTargetin interfaceTpaRequestStore- Parameters:
senderId- the sender id- Returns:
- the tpa target
-
getAllTpaSenders
Description copied from interface:TpaRequestStoreGets all tpa senders.- Specified by:
getAllTpaSendersin interfaceTpaRequestStore- Returns:
- the all tpa senders
-