com.atlassian.confluence.user.crowd
Class CachedCrowdEntityCacheKey

java.lang.Object
  extended by com.atlassian.confluence.user.crowd.CachedCrowdEntityCacheKey
All Implemented Interfaces:
Serializable

@Immutable
public class CachedCrowdEntityCacheKey
extends Object
implements Serializable

A composite key between an entity name and a directory Id.

See Also:
Serialized Form

Constructor Summary
CachedCrowdEntityCacheKey(com.atlassian.crowd.model.group.Group group)
           
CachedCrowdEntityCacheKey(long directoryId, String name)
           
CachedCrowdEntityCacheKey(com.atlassian.crowd.model.user.User user)
           
 
Method Summary
 boolean equals(Object o)
           
 long getDirectoryId()
           
 String getName()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CachedCrowdEntityCacheKey

public CachedCrowdEntityCacheKey(long directoryId,
                                 String name)

CachedCrowdEntityCacheKey

public CachedCrowdEntityCacheKey(com.atlassian.crowd.model.user.User user)

CachedCrowdEntityCacheKey

public CachedCrowdEntityCacheKey(com.atlassian.crowd.model.group.Group group)
Method Detail

getDirectoryId

public long getDirectoryId()

getName

public String getName()

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2003–2015 Atlassian. All rights reserved.