public class ModelShareInfoRepresentation extends AbstractRepresentation
Modifier and Type | Field and Description |
---|---|
protected LightGroupRepresentation |
group |
protected Long |
id |
protected String |
permission |
protected LightUserRepresentation |
person |
protected Long |
processId |
protected String |
processName |
protected Date |
shareDate |
protected Long |
sharedBy |
Constructor and Description |
---|
ModelShareInfoRepresentation(ModelShareInfo shareInfo,
boolean includeProcessModel) |
Modifier and Type | Method and Description |
---|---|
LightGroupRepresentation |
getGroup() |
Long |
getId() |
String |
getPermission() |
LightUserRepresentation |
getPerson() |
Long |
getProcessId() |
String |
getProcessName() |
Date |
getShareDate() |
Long |
getSharedBy() |
SharePermission |
getSharePermission() |
void |
setGroup(LightGroupRepresentation group) |
void |
setId(Long id) |
void |
setPermission(String permission) |
void |
setPerson(LightUserRepresentation person) |
void |
setProcessId(Long processId) |
void |
setProcessName(String processName) |
void |
setShareDate(Date shareDate) |
void |
setSharedBy(Long sharedBy) |
protected Long id
protected String permission
protected Date shareDate
protected Long sharedBy
protected LightUserRepresentation person
protected LightGroupRepresentation group
protected Long processId
protected String processName
public ModelShareInfoRepresentation(ModelShareInfo shareInfo, boolean includeProcessModel)
public Long getProcessId()
public void setProcessId(Long processId)
public String getPermission()
public void setPermission(String permission)
public Date getShareDate()
public void setShareDate(Date shareDate)
public void setProcessName(String processName)
public String getProcessName()
public LightUserRepresentation getPerson()
public void setPerson(LightUserRepresentation person)
public LightGroupRepresentation getGroup()
public void setGroup(LightGroupRepresentation group)
public Long getId()
public void setId(Long id)
public Long getSharedBy()
public void setSharedBy(Long sharedBy)
public SharePermission getSharePermission()
SharePermission
value, based on the string-represention in this object. Will
return null
if empty or in case an unknown value is set.Copyright © 2014–2015 Alfresco. All rights reserved.