com.atlassian.jira.functest.framework.sharing
Class SharedEntityInfo

java.lang.Object
  extended by com.atlassian.jira.functest.framework.sharing.SharedEntityInfo
Direct Known Subclasses:
DashboardPageInfo

public class SharedEntityInfo
extends Object

Represents the fundamental settings of a Shared Entity such as Search Filter or a Dashboard Page.

Since:
v3.13

Constructor Summary
SharedEntityInfo(Long id, String name, String description, boolean favourite, Set<? extends TestSharingPermission> sharingPermissions)
           
SharedEntityInfo(Long id, String name, String description, boolean favourite, Set<? extends TestSharingPermission> sharingPermissions, String owner, Integer favCount)
           
SharedEntityInfo(SharedEntityInfo sharedEntityInfo)
           
SharedEntityInfo(String name, String description, boolean favourite, Set<? extends TestSharingPermission> sharingPermissions)
           
SharedEntityInfo(String name, String description, boolean favourite, Set<? extends TestSharingPermission> sharingPermissions, String owner, Integer favCount)
           
 
Method Summary
 boolean equals(Object o)
           
 String getDescription()
           
 Integer getFavCount()
           
 Long getId()
           
 String getName()
           
 String getOwner()
           
 Set<? extends TestSharingPermission> getSharingPermissions()
           
 int hashCode()
           
 boolean isFavourite()
           
 SharedEntityInfo setDescription(String description)
           
 SharedEntityInfo setFavCount(Integer favCount)
           
 SharedEntityInfo setFavourite(boolean favourite)
           
 SharedEntityInfo setId(Long id)
           
 SharedEntityInfo setName(String name)
           
 SharedEntityInfo setOwner(String owner)
           
 SharedEntityInfo setSharingPermissions(Set<? extends TestSharingPermission> sharingPermissions)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SharedEntityInfo

public SharedEntityInfo(String name,
                        String description,
                        boolean favourite,
                        Set<? extends TestSharingPermission> sharingPermissions,
                        String owner,
                        Integer favCount)

SharedEntityInfo

public SharedEntityInfo(Long id,
                        String name,
                        String description,
                        boolean favourite,
                        Set<? extends TestSharingPermission> sharingPermissions,
                        String owner,
                        Integer favCount)

SharedEntityInfo

public SharedEntityInfo(String name,
                        String description,
                        boolean favourite,
                        Set<? extends TestSharingPermission> sharingPermissions)

SharedEntityInfo

public SharedEntityInfo(Long id,
                        String name,
                        String description,
                        boolean favourite,
                        Set<? extends TestSharingPermission> sharingPermissions)

SharedEntityInfo

public SharedEntityInfo(SharedEntityInfo sharedEntityInfo)
Method Detail

getId

public Long getId()

setId

public SharedEntityInfo setId(Long id)

getName

public String getName()

setName

public SharedEntityInfo setName(String name)

getDescription

public String getDescription()

setDescription

public SharedEntityInfo setDescription(String description)

isFavourite

public boolean isFavourite()

setFavourite

public SharedEntityInfo setFavourite(boolean favourite)

getSharingPermissions

public Set<? extends TestSharingPermission> getSharingPermissions()

setSharingPermissions

public SharedEntityInfo setSharingPermissions(Set<? extends TestSharingPermission> sharingPermissions)

getOwner

public String getOwner()

setOwner

public SharedEntityInfo setOwner(String owner)

getFavCount

public Integer getFavCount()

setFavCount

public SharedEntityInfo setFavCount(Integer favCount)

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2002-2014 Atlassian. All Rights Reserved.