Class RoleEvent
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap
-
- org.json.simple.JSONObject
-
- org.gcube.event.publisher.Event
-
- org.gcube.portal.event.publisher.lr62.PortalEvent
-
- org.gcube.portal.event.publisher.lr62.model.PortalModelListenerEvent<com.liferay.portal.model.Role>
-
- org.gcube.portal.event.publisher.lr62.model.RoleEvent
-
- All Implemented Interfaces:
Serializable,Cloneable,Map,org.json.simple.JSONAware,org.json.simple.JSONStreamAware
public class RoleEvent extends PortalModelListenerEvent<com.liferay.portal.model.Role>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description static StringCREATED_NAMEstatic StringDELETED_NAMEstatic StringOLD_ROLE_ENTRYstatic StringUPDATED_NAME-
Fields inherited from class org.gcube.portal.event.publisher.lr62.model.PortalModelListenerEvent
MODELCLASSNAME_ENTRY
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetOldRole()static RoleEventnewCreatedEvent(com.liferay.portal.model.Role role)static RoleEventnewDeletedEvent(com.liferay.portal.model.Role role)static RoleEventnewUpdatedEvent(com.liferay.portal.model.Role oldRole, com.liferay.portal.model.Role newRole)voidsetOldRole(String role)-
Methods inherited from class org.gcube.portal.event.publisher.lr62.model.PortalModelListenerEvent
getModelClassName, setModelClassName
-
Methods inherited from class org.gcube.portal.event.publisher.lr62.PortalEvent
getGroup, getGroupIdentifier, getRole, getRoleIdentifier, getUser, getUserIdentifier, setGroup, setGroup, setRole, setRole, setUser, setUser
-
Methods inherited from class org.gcube.event.publisher.Event
getName, getSender, getTimestamp, getType, getUUID, set, setAll, setName, setSender, setTimestamp, setType, setUUID
-
Methods inherited from class org.json.simple.JSONObject
escape, toJSONString, toJSONString, toString, toString, writeJSONString, writeJSONString
-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Methods inherited from class java.util.AbstractMap
equals, hashCode
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
-
-
-
Field Detail
-
CREATED_NAME
public static final String CREATED_NAME
- See Also:
- Constant Field Values
-
DELETED_NAME
public static final String DELETED_NAME
- See Also:
- Constant Field Values
-
UPDATED_NAME
public static final String UPDATED_NAME
- See Also:
- Constant Field Values
-
OLD_ROLE_ENTRY
public static final String OLD_ROLE_ENTRY
- See Also:
- Constant Field Values
-
-
Method Detail
-
setOldRole
public void setOldRole(String role)
-
getOldRole
public String getOldRole()
-
newCreatedEvent
public static RoleEvent newCreatedEvent(com.liferay.portal.model.Role role)
-
newDeletedEvent
public static RoleEvent newDeletedEvent(com.liferay.portal.model.Role role)
-
newUpdatedEvent
public static RoleEvent newUpdatedEvent(com.liferay.portal.model.Role oldRole, com.liferay.portal.model.Role newRole)
-
-