Class PortalEvent
- 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
-
- All Implemented Interfaces:
Serializable,Cloneable,Map,org.json.simple.JSONAware,org.json.simple.JSONStreamAware
public class PortalEvent extends org.gcube.event.publisher.Event- 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 StringGROUP_ENTRYprotected static org.gcube.vomanagement.usermanagement.GroupManagerGROUP_MANAGERprotected static com.liferay.portal.kernel.log.Loglogstatic StringROLE_ENTRYprotected static org.gcube.vomanagement.usermanagement.RoleManagerROLE_MANAGERstatic StringTYPEstatic StringUSER_ENTRYprotected static org.gcube.vomanagement.usermanagement.UserManagerUSER_MANAGER
-
Constructor Summary
Constructors Constructor Description PortalEvent(String name)PortalEvent(String name, Map<String,String> data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetGroup()protected StringgetGroupIdentifier(com.liferay.portal.model.Group group)StringgetRole()protected StringgetRoleIdentifier(com.liferay.portal.model.Role role)StringgetUser()protected StringgetUserIdentifier(com.liferay.portal.model.User user)voidsetGroup(com.liferay.portal.model.Group group)voidsetGroup(String group)voidsetRole(com.liferay.portal.model.Role role)voidsetRole(String role)voidsetUser(com.liferay.portal.model.User user)voidsetUser(String user)-
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
-
log
protected static final com.liferay.portal.kernel.log.Log log
-
USER_MANAGER
protected static final org.gcube.vomanagement.usermanagement.UserManager USER_MANAGER
-
GROUP_MANAGER
protected static final org.gcube.vomanagement.usermanagement.GroupManager GROUP_MANAGER
-
ROLE_MANAGER
protected static final org.gcube.vomanagement.usermanagement.RoleManager ROLE_MANAGER
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
USER_ENTRY
public static final String USER_ENTRY
- See Also:
- Constant Field Values
-
GROUP_ENTRY
public static final String GROUP_ENTRY
- See Also:
- Constant Field Values
-
ROLE_ENTRY
public static final String ROLE_ENTRY
- See Also:
- Constant Field Values
-
-
Method Detail
-
setUser
public void setUser(com.liferay.portal.model.User user)
-
getUserIdentifier
protected String getUserIdentifier(com.liferay.portal.model.User user)
-
setUser
public void setUser(String user)
-
getUser
public String getUser()
-
setGroup
public void setGroup(String group)
-
getGroup
public String getGroup()
-
setGroup
public void setGroup(com.liferay.portal.model.Group group)
-
getGroupIdentifier
protected String getGroupIdentifier(com.liferay.portal.model.Group group)
-
setRole
public void setRole(String role)
-
getRole
public String getRole()
-
setRole
public void setRole(com.liferay.portal.model.Role role) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException- Throws:
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemException
-
getRoleIdentifier
protected String getRoleIdentifier(com.liferay.portal.model.Role role) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemException
-
-