com.clickntap.tool.bean
Class Bean

java.lang.Object
  extended by com.clickntap.tool.bean.BeanId
      extended by com.clickntap.tool.bean.Bean
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AuthenticatedUser, BO

public class Bean
extends BeanId

See Also:
Serialized Form

Constructor Summary
Bean()
           
Bean(BeanId id)
           
Bean(Number id)
           
 
Method Summary
 void clear()
           
 Bean clone()
           
 void copyFrom(org.springframework.web.multipart.MultipartFile in)
           
 void copyTo(OutputStream out)
           
 Number create()
           
 void createOrUpdate()
           
 Number delete()
           
 Number execute(String what)
           
 Object get(String propertyName)
           
 BeanManager getBeanManager()
           
 void read()
           
 void read(String filter)
           
 void setBeanManager(BeanManager beanManager)
           
 InputStream stream()
           
 Map toMap()
           
 Map toMap(String[] allowedFields, String[] disallowedFields)
           
 Number update()
           
 
Methods inherited from class com.clickntap.tool.bean.BeanId
getId, setId
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Bean

public Bean()

Bean

public Bean(BeanId id)

Bean

public Bean(Number id)
Method Detail

getBeanManager

public BeanManager getBeanManager()
                           throws Exception
Throws:
Exception

setBeanManager

public void setBeanManager(BeanManager beanManager)

copyTo

public void copyTo(OutputStream out)
            throws Exception
Throws:
Exception

copyFrom

public void copyFrom(org.springframework.web.multipart.MultipartFile in)
              throws Exception
Throws:
Exception

stream

public InputStream stream()
                   throws Exception
Throws:
Exception

read

public void read()
          throws Exception
Throws:
Exception

read

public void read(String filter)
          throws Exception
Throws:
Exception

clone

public Bean clone()
Overrides:
clone in class Object

create

public Number create()
              throws Exception
Throws:
Exception

createOrUpdate

public void createOrUpdate()
                    throws Exception
Throws:
Exception

update

public Number update()
              throws Exception
Throws:
Exception

delete

public Number delete()
              throws Exception
Throws:
Exception

execute

public Number execute(String what)
               throws Exception
Throws:
Exception

clear

public void clear()
           throws Exception
Throws:
Exception

get

public Object get(String propertyName)

toMap

public Map toMap(String[] allowedFields,
                 String[] disallowedFields)

toMap

public Map toMap()


Copyright © 2014. All rights reserved.