Guvnor - Structure API 6.2.0.Beta2

org.guvnor.structure.organizationalunit.impl
Class OrganizationalUnitImpl

java.lang.Object
  extended by org.guvnor.structure.organizationalunit.impl.OrganizationalUnitImpl
All Implemented Interfaces:
OrganizationalUnit, org.uberfire.commons.data.Cacheable, org.uberfire.security.authz.RuntimeResource, org.uberfire.security.Resource

@Portable
public class OrganizationalUnitImpl
extends Object
implements OrganizationalUnit


Constructor Summary
OrganizationalUnitImpl()
           
OrganizationalUnitImpl(String name, String owner)
           
 
Method Summary
 boolean equals(Object o)
           
 String getName()
           
 String getOwner()
           
 Collection<Repository> getRepositories()
           
 Collection<String> getRoles()
           
 String getSignatureId()
           
 Collection<String> getTraits()
           
 int hashCode()
           
 void markAsCached()
           
 boolean requiresRefresh()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OrganizationalUnitImpl

public OrganizationalUnitImpl()

OrganizationalUnitImpl

public OrganizationalUnitImpl(String name,
                              String owner)
Method Detail

getName

public String getName()
Specified by:
getName in interface OrganizationalUnit

getOwner

public String getOwner()
Specified by:
getOwner in interface OrganizationalUnit

getRepositories

public Collection<Repository> getRepositories()
Specified by:
getRepositories in interface OrganizationalUnit

getSignatureId

public String getSignatureId()
Specified by:
getSignatureId in interface org.uberfire.security.authz.RuntimeResource

getRoles

public Collection<String> getRoles()
Specified by:
getRoles in interface org.uberfire.security.authz.RuntimeResource

getTraits

public Collection<String> getTraits()
Specified by:
getTraits in interface org.uberfire.security.authz.RuntimeResource

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

markAsCached

public void markAsCached()
Specified by:
markAsCached in interface org.uberfire.commons.data.Cacheable

requiresRefresh

public boolean requiresRefresh()
Specified by:
requiresRefresh in interface org.uberfire.commons.data.Cacheable

Guvnor - Structure API 6.2.0.Beta2

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.