mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Discussion forum summary dashlet
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@41057 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -41,6 +41,7 @@ public class TopicInfoImpl implements TopicInfo
|
||||
private String modifier;
|
||||
private Date createdAt;
|
||||
private Date modifiedAt;
|
||||
private String shortSiteName;
|
||||
private List<String> tags = new ArrayList<String>();
|
||||
|
||||
/**
|
||||
@@ -144,4 +145,35 @@ public class TopicInfoImpl implements TopicInfo
|
||||
{
|
||||
this.tags = tags;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode()
|
||||
{
|
||||
return nodeRef.hashCode();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj)
|
||||
{
|
||||
if (obj instanceof TopicInfoImpl)
|
||||
{
|
||||
TopicInfoImpl tii = (TopicInfoImpl) obj;
|
||||
if(nodeRef.equals(tii.nodeRef))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getShortSiteName()
|
||||
{
|
||||
return shortSiteName;
|
||||
}
|
||||
|
||||
public void setShortSiteName(String shortSiteName)
|
||||
{
|
||||
this.shortSiteName = shortSiteName;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user