Class SecurityInfoValueObject
java.lang.Object
ubic.gemma.web.controller.common.auditAndSecurity.SecurityInfoValueObject
Carries extensive security information about an entity.
- Author:
- paul
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetOwner()
boolean
boolean
boolean
boolean
isShared()
void
setAvailableGroups
(Collection<String> availableGroups) void
setCurrentGroup
(String currentGroup) void
setCurrentGroupCanRead
(boolean currentGroupCanRead) void
setCurrentGroupCanWrite
(boolean currentGroupCanWrite) void
setCurrentUserCanwrite
(Boolean currentUserCanwrite) void
setCurrentUserOwns
(Boolean currentUserOwns) void
setEntityClazz
(String entityClazz) void
setEntityDescription
(String entityDescription) void
setEntityId
(Long entityId) void
setEntityName
(String entityName) void
setEntityShortName
(String entityShortName) void
setGroupsThatCanRead
(Collection<String> groupsThatCanRead) void
setGroupsThatCanWrite
(Collection<String> groupsThatCanWrite) void
setOwner
(SidValueObject owner) void
setOwnersGroups
(Collection<String> ownersGroups) void
setPubliclyReadable
(boolean isPubliclyReadable) void
setShared
(boolean isShared)
-
Constructor Details
-
SecurityInfoValueObject
public SecurityInfoValueObject() -
SecurityInfoValueObject
- Parameters:
s
- to initialize. Security information will not be filled in.
-
-
Method Details
-
getAvailableGroups
-
getCurrentGroup
-
getCurrentUserCanwrite
- Returns:
- the currentUserCanwrite
-
getCurrentUserOwns
-
getEntityClazz
- Returns:
- the entityClazz
-
getEntityDescription
- Returns:
- the entityDescription
-
getEntityId
- Returns:
- the entityId
-
getEntityName
- Returns:
- the entityName
-
getEntityShortName
- Returns:
- the entityShortName
-
getGroupsThatCanRead
- Returns:
- the groupsThatCanRead
-
getGroupsThatCanWrite
- Returns:
- the groupsThatCanWrite
-
getOwner
-
getOwnersGroups
-
isCurrentGroupCanRead
public boolean isCurrentGroupCanRead() -
isCurrentGroupCanWrite
public boolean isCurrentGroupCanWrite() -
isPubliclyReadable
public boolean isPubliclyReadable() -
setAvailableGroups
-
setCurrentGroup
-
setCurrentGroupCanRead
public void setCurrentGroupCanRead(boolean currentGroupCanRead) -
setCurrentGroupCanWrite
public void setCurrentGroupCanWrite(boolean currentGroupCanWrite) -
setCurrentUserCanwrite
- Parameters:
currentUserCanwrite
- the currentUserCanwrite to set
-
setCurrentUserOwns
-
setEntityClazz
- Parameters:
entityClazz
- the entityClazz to set
-
setEntityDescription
- Parameters:
entityDescription
- the entityDescription to set
-
setEntityId
- Parameters:
entityId
- the entityId to set
-
setEntityName
- Parameters:
entityName
- the entityName to set
-
setEntityShortName
- Parameters:
entityShortName
- the entityShortName to set
-
setGroupsThatCanRead
- Parameters:
groupsThatCanRead
- the groupsThatCanRead to set
-
setGroupsThatCanWrite
- Parameters:
groupsThatCanWrite
- the groupsThatCanWrite to set
-
setOwner
-
setOwnersGroups
-
setPubliclyReadable
public void setPubliclyReadable(boolean isPubliclyReadable)
-