org.silverpeas.admin.space.quota
Class AbstractSpaceQuotaKey

java.lang.Object
  extended by org.silverpeas.admin.space.quota.AbstractSpaceQuotaKey
All Implemented Interfaces:
QuotaKey
Direct Known Subclasses:
ComponentSpaceQuotaKey, DataStorageSpaceQuotaKey

public abstract class AbstractSpaceQuotaKey
extends Object
implements QuotaKey

Author:
Yohann Chastagnier

Constructor Summary
protected AbstractSpaceQuotaKey(SpaceInst space)
          Builds the space quota key from a given SpaceInst
 
Method Summary
 String getResourceId()
           
 SpaceInst getSpace()
           
 boolean isValid()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.silverpeas.quota.QuotaKey
getQuotaType
 

Constructor Detail

AbstractSpaceQuotaKey

protected AbstractSpaceQuotaKey(SpaceInst space)
Builds the space quota key from a given SpaceInst

Parameters:
space -
Method Detail

isValid

public boolean isValid()
Specified by:
isValid in interface QuotaKey

getResourceId

public String getResourceId()
Specified by:
getResourceId in interface QuotaKey

getSpace

public SpaceInst getSpace()
Returns:
the space


Copyright © 2016 Silverpeas. All Rights Reserved.