com.centrasite.control.auth.api
Class Profile

java.lang.Object
  extended by com.centrasite.control.auth.api.Profile

public class Profile
extends java.lang.Object

Class representing asset type profile. Each asset instance has a list of such objects representing the visible profiles for the currently logged in user.


Constructor Summary
Profile(javax.xml.registry.infomodel.RegistryObject profileObject, boolean isReadOnly)
           
 
Method Summary
 javax.xml.registry.infomodel.RegistryObject getProfileObject()
           
 boolean isReadOnly()
           
 void setProfileObject(javax.xml.registry.infomodel.RegistryObject profileObject)
           
 void setReadOnly(boolean isReadOnly)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Profile

public Profile(javax.xml.registry.infomodel.RegistryObject profileObject,
               boolean isReadOnly)
Method Detail

isReadOnly

public boolean isReadOnly()
Returns:
If the profile should be rendered as read-only

setReadOnly

public void setReadOnly(boolean isReadOnly)
Parameters:
Set - if the profile should be rendered as read-only

getProfileObject

public javax.xml.registry.infomodel.RegistryObject getProfileObject()
Returns:
the profileObject

setProfileObject

public void setProfileObject(javax.xml.registry.infomodel.RegistryObject profileObject)
Parameters:
profileObject - the profileObject to set