@Test public void testClear() { List<UIRepositoryObjectAcl> originalUIAcls = Arrays.asList( new UIRepositoryObjectAcl[] { objectAcl1, objectAcl2, objectAcl3 } ); repositoryObjectAcls.addAcls( originalUIAcls ); repositoryObjectAcls.setRemoveEnabled( true ); assertTrue( repositoryObjectAcls.isRemoveEnabled() ); repositoryObjectAcls.clear(); assertTrue( repositoryObjectAcls.getSelectedAclList().isEmpty() ); assertFalse( repositoryObjectAcls.isRemoveEnabled() ); assertFalse( repositoryObjectAcls.isModelDirty() ); assertTrue( repositoryObjectAcls.isEntriesInheriting() ); }
public void clear() { setRemoveEnabled( false ); setModelDirty( false ); setAcls( null ); setSelectedAclList( null ); setHasManageAclAccess( false ); }
UIRepositoryObjectAcls extends XulEventSourceAdapter implements java.io.Serializable { public void clear() { setRemoveEnabled( false ); setModelDirty( false ); setAcls( null ); setSelectedAclList( null ); setHasManageAclAccess( false ); } }
UIRepositoryObjectAcls extends XulEventSourceAdapter implements java.io.Serializable { public void clear() { setRemoveEnabled( false ); setModelDirty( false ); setAcls( null ); setSelectedAclList( null ); setHasManageAclAccess( false ); } UIRepositoryObjectAcls(); }
UIRepositoryObjectAcls extends XulEventSourceAdapter implements java.io.Serializable { public void clear() { setRemoveEnabled( false ); setModelDirty( false ); setAcls( null ); setSelectedAclList( null ); setHasManageAclAccess( false ); } UIRepositoryObjectAcls(); void setObjectAcl( ObjectAcl obj ); ObjectAcl getObjectAcl(); List<UIRepositoryObjectAcl> getAcls(); void setAcls( List<UIRepositoryObjectAcl> acls ); void addAcls( List<UIRepositoryObjectAcl> aclsToAdd ); void addDefaultAcls( List<UIRepositoryObjectAcl> aclsToAdd ); void addAcl( UIRepositoryObjectAcl aclToAdd ); void addDefaultAcl( UIRepositoryObjectAcl aclToAdd ); void removeAcls( List<UIRepositoryObjectAcl> aclsToRemove ); void removeAcl( String recipientName ); void removeSelectedAcls(); void updateAcl( UIRepositoryObjectAcl aclToUpdate ); UIRepositoryObjectAcl getAcl( String recipient ); List<UIRepositoryObjectAcl> getSelectedAclList(); void setSelectedAclList( List<UIRepositoryObjectAcl> list ); boolean isEntriesInheriting(); void setEntriesInheriting( boolean entriesInheriting ); ObjectRecipient getOwner(); void setRemoveEnabled( boolean removeEnabled ); boolean isRemoveEnabled(); int getAceIndex( ObjectAce ace ); ObjectAce getAceAtIndex( int index ); void setModelDirty( boolean modelDirty ); boolean isModelDirty(); boolean hasManageAclAccess(); void setHasManageAclAccess( boolean hasManageAclAccess ); void clear(); }
UIRepositoryObjectAcls extends XulEventSourceAdapter implements java.io.Serializable { public void clear() { setRemoveEnabled( false ); setModelDirty( false ); setAcls( null ); setSelectedAclList( null ); setHasManageAclAccess( false ); } UIRepositoryObjectAcls(); void setObjectAcl( ObjectAcl obj ); ObjectAcl getObjectAcl(); List<UIRepositoryObjectAcl> getAcls(); void setAcls( List<UIRepositoryObjectAcl> acls ); void addAcls( List<UIRepositoryObjectAcl> aclsToAdd ); void addDefaultAcls( List<UIRepositoryObjectAcl> aclsToAdd ); void addAcl( UIRepositoryObjectAcl aclToAdd ); void addDefaultAcl( UIRepositoryObjectAcl aclToAdd ); void removeAcls( List<UIRepositoryObjectAcl> aclsToRemove ); void removeAcl( String recipientName ); void removeSelectedAcls(); void updateAcl( UIRepositoryObjectAcl aclToUpdate ); UIRepositoryObjectAcl getAcl( String recipient ); List<UIRepositoryObjectAcl> getSelectedAclList(); void setSelectedAclList( List<UIRepositoryObjectAcl> list ); boolean isEntriesInheriting(); void setEntriesInheriting( boolean entriesInheriting ); ObjectRecipient getOwner(); void setRemoveEnabled( boolean removeEnabled ); boolean isRemoveEnabled(); int getAceIndex( ObjectAce ace ); ObjectAce getAceAtIndex( int index ); void setModelDirty( boolean modelDirty ); boolean isModelDirty(); boolean hasManageAclAccess(); void setHasManageAclAccess( boolean hasManageAclAccess ); void clear();  }