public class PermissionPublisher
extends java.lang.Object
Constructor and Description |
---|
PermissionPublisher(CompatibilityPublisher activePublisher,
BroadcastPublisher broadcastPublisher,
com.caplin.permissioning.SubscriptionManager subscriptionManager,
com.caplin.permissioning.RoleInternal role,
java.util.logging.Logger logger) |
Modifier and Type | Method and Description |
---|---|
void |
activeAdd(Peer peer,
User user,
com.caplin.permissioning.PermissionStore store) |
void |
activeDelete(SubjectErrorEvent subjectErrorEvent,
com.caplin.permissioning.PermissionStore store,
com.caplin.permissioning.TransactionWrapper wrapper) |
void |
activeDiscard(Peer peer,
java.lang.String containerSubject,
com.caplin.permissioning.PermissionStore store) |
void |
activeError(java.lang.String subject) |
void |
activeUpdate(ContainerMessage message,
User user,
com.caplin.permissioning.PermissionStore store,
com.caplin.permissioning.TransactionWrapper wrapper) |
void |
broadcast(java.util.List<? extends Message> messages,
com.caplin.permissioning.TransactionWrapper wrapper) |
void |
broadcast(Message message,
com.caplin.permissioning.TransactionWrapper wrapper) |
void |
broadcast(Peer peer,
java.util.List<? extends Message> messages,
com.caplin.permissioning.TransactionWrapper wrapper) |
void |
broadcast(Peer peer,
Message message,
com.caplin.permissioning.TransactionWrapper wrapper) |
void |
broadcastError(SubjectErrorEvent subjectErrorEvent) |
void |
broadcastToActivePeers(java.util.List<? extends Message> messages,
com.caplin.permissioning.TransactionWrapper wrapper) |
void |
broadcastToActivePeers(Message message,
com.caplin.permissioning.TransactionWrapper wrapper) |
void |
broadcastUpdate(java.util.List<? extends Message> messages,
com.caplin.permissioning.TransactionWrapper wrapper) |
void |
broadcastUpdate(PermissionMessage message,
com.caplin.permissioning.TransactionWrapper wrapper) |
MessageFactory |
getMessageFactory() |
void |
sendClear(Peer peer) |
void |
sendGlobalDefaults(Peer peer,
com.caplin.permissioning.PermissionStore store) |
void |
sendRules(Peer peer,
com.caplin.permissioning.PermissionStore store) |
void |
sendRulesAndGlobalDefaults(Peer peer,
com.caplin.permissioning.PermissionStore store) |
void |
setSerializer(com.caplin.permissioning.Serialiser serializer) |
WrapperMessage |
wrapPermissionMessages(java.lang.String subject,
java.util.List<PermissionMessage> list) |
public PermissionPublisher(CompatibilityPublisher activePublisher, BroadcastPublisher broadcastPublisher, com.caplin.permissioning.SubscriptionManager subscriptionManager, com.caplin.permissioning.RoleInternal role, java.util.logging.Logger logger)
public void setSerializer(com.caplin.permissioning.Serialiser serializer)
public void broadcast(Peer peer, Message message, com.caplin.permissioning.TransactionWrapper wrapper)
public void broadcast(Peer peer, java.util.List<? extends Message> messages, com.caplin.permissioning.TransactionWrapper wrapper)
public void broadcast(Message message, com.caplin.permissioning.TransactionWrapper wrapper)
public void broadcastToActivePeers(Message message, com.caplin.permissioning.TransactionWrapper wrapper)
public void broadcastToActivePeers(java.util.List<? extends Message> messages, com.caplin.permissioning.TransactionWrapper wrapper)
public void broadcast(java.util.List<? extends Message> messages, com.caplin.permissioning.TransactionWrapper wrapper)
public void broadcastError(SubjectErrorEvent subjectErrorEvent)
public void broadcastUpdate(PermissionMessage message, com.caplin.permissioning.TransactionWrapper wrapper)
public void broadcastUpdate(java.util.List<? extends Message> messages, com.caplin.permissioning.TransactionWrapper wrapper)
public void activeAdd(Peer peer, User user, com.caplin.permissioning.PermissionStore store)
public void activeUpdate(ContainerMessage message, User user, com.caplin.permissioning.PermissionStore store, com.caplin.permissioning.TransactionWrapper wrapper)
public void activeDelete(SubjectErrorEvent subjectErrorEvent, com.caplin.permissioning.PermissionStore store, com.caplin.permissioning.TransactionWrapper wrapper)
public void activeDiscard(Peer peer, java.lang.String containerSubject, com.caplin.permissioning.PermissionStore store)
public void sendRulesAndGlobalDefaults(Peer peer, com.caplin.permissioning.PermissionStore store)
public void sendClear(Peer peer)
public void sendRules(Peer peer, com.caplin.permissioning.PermissionStore store)
public void sendGlobalDefaults(Peer peer, com.caplin.permissioning.PermissionStore store)
public void activeError(java.lang.String subject)
public MessageFactory getMessageFactory()
public WrapperMessage wrapPermissionMessages(java.lang.String subject, java.util.List<PermissionMessage> list)
Please send bug reports and comments to Caplin support