Liferay 6.1.2-ce-ga3

com.liferay.portal.security.permission
Class ResourceBlockIdsBag

java.lang.Object
  extended by com.liferay.portal.security.permission.ResourceBlockIdsBag
All Implemented Interfaces:
Serializable

public class ResourceBlockIdsBag
extends Object
implements Serializable

Manages a list resource block IDs and the actions that can be performed on the resources in each.

See Also:
Serialized Form

Constructor Summary
ResourceBlockIdsBag()
           
 
Method Summary
 void addResourceBlockId(long resourceBlockId, long actionIdsLong)
           
 long getActionIds(long resourceBlockId)
           
 List<Long> getResourceBlockIds(long actionIdsLong)
           
 boolean hasResourceBlockId(long resourceBlockId, long actionIdsLong)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceBlockIdsBag

public ResourceBlockIdsBag()
Method Detail

addResourceBlockId

public void addResourceBlockId(long resourceBlockId,
                               long actionIdsLong)

getActionIds

public long getActionIds(long resourceBlockId)

getResourceBlockIds

public List<Long> getResourceBlockIds(long actionIdsLong)

hasResourceBlockId

public boolean hasResourceBlockId(long resourceBlockId,
                                  long actionIdsLong)

Liferay 6.1.2-ce-ga3